悬赏 100起步 求大神帮忙指导linux下安装cmake和ccmake

ccmake是在cmake下的一个什么玩意 ,反正就是要先安装好了cmake后 ,用sudo apt-get install cmake-curses-gui 这行命令安装ccmake, 我电脑上原本自带的cmake是3.5.1的 ccmake也是3.5.1的 ,结果我下载安装3.14.1版本的cmake之后 cmake显示是3.14.1版本的, 但是ccmake却是以前版本的,真的无法自己解决了 求助求助 100起步

1个回答

先删除原软件包试一试
sudo apt remove cmake-curses-gui --purge

然后再安装
sudo apt install cmake cmake-curses-gui

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求大神帮忙,最高悬赏!!
海滩上有一堆桃子,m只猴子来分。第一只猴子把这堆桃子平均分为m份,多了一个,这只猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成m份,又多了一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只、第m只猴子都是这样做的,问海滩上原来最少有多少个桃子?rnrn运行时间限制: 无限制 rn内存限制: 无限制 rn输入: 输入猴子个数m(3<=m<=9)rn rn输出: 原来最少有多少个桃子rn rn样例输入: 3 rn样例输出: 25 rn
求指导 求大神帮忙
比如char *str[4]="hello","world","good","byte"rnrnrn*(str+i) 是什么意思 rn这个数组的地址怎么表达啊
小白起步求指导
本人计算机系大一学生,想自学JAVA并以后走程序员的道路,不知道该从哪里起步,阅读什么书籍,求大侠指点,感激不尽
求大神指导求大神指导求大神指导
1>main.obj : error LNK2019: 无法解析的外部符号 "public: __thiscall CSpeechRecognition1::CSpeechRecognition1(void)" (??0CSpeechRecognition1@@QAE@XZ),该符号在函数 "public: __thiscall main::main(class CWnd *)" (??0main@@QAE@PAVCWnd@@@Z) 中被引用rn1>main.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall main::OnInitDiaLog(void)" (?OnInitDiaLog@main@@UAEHXZ)rn1>main.obj : error LNK2019: 无法解析的外部符号 "public: virtual __thiscall CSpeechRecognition1::~CSpeechRecognition1(void)" (??1CSpeechRecognition1@@UAE@XZ),该符号在函数 "public: virtual __thiscall main::~main(void)" (??1main@@UAE@XZ) 中被引用rn1>D:\tttttt\RecordSpeech\Debug\RecordSpeech.exe : fatal error LNK1120: 3 个无法解析的外部命令
Linux下安装CMake详细教程
一、背景 这次我们演示安装cmake 3.5.2,该版本比较旧,最新版下载地址我们暂时不需要,旧版下载列表中,我们找到3.5版本,在这里,我们会看到两种版本的软件包(其他版本同理) 我们选择下载直接可以使用的版本,右键保存链接地址,打开Linux系统(以Ubuntu为例) 二、下载 创建/opt/cmake目录,在该目录下执行 wget -c https://cmake.org/f...
linux下安装cmake方法
inux下安装软件的源码包很多都需要使用cmake进行编译,因此需要我们先给linux系统安装cmake   1、打开网址:http://www.cmake.org/cmake/resources/software.html,找到最新版本的位置。一般开放源代码软件都会有两个版本发布:Source Distribution 和 Binary Distribution,前者是源代码版,你需要自己
Linux下cmake的安装
1、官网下载 前往https://cmake.org/download/ ,下载最新版的cmake安装包; 2、卸载原有系统上安装的cmake,便于安装更高版本的cmake。(如果不卸载系统自带的,直接安装,可能会出现错误。) # Ubuntu系统下 apt-get autoremove cmake 但是此句指令是针对于通过sudo apt-get install cmake 安装的用户。如...
高分悬赏求大神们帮忙
求大神帮忙。要解决的问题如下:rn有两个窗体,主窗体Form1,子窗体Form2。Form1中有个TextBox1,Button1,子窗体Form2中有Button2,rn假如我点击Button1,弹出Form2,然后我点击Button2后,程序会读取Bin里面的一个log.text文件内容,我想然后将读取的内容显示在Form1中的TextBox1中。也就是跨窗体显示。现在假如读取内容在Form2中显示,我可以做到,但怎么在Form1上显示呢?这个是截图就是这样的效果[img=https://img-bbs.csdn.net/upload/201309/25/1380081541_153976.jpg][/img]
安装ITK,编译cmake遇到问题,ccmake:command not found
大家好,我在centos6.5安装ITK4.5,下的cmake版本是cmake2.8.12,按照以下方法安装ITKrn1, tar xvzf cmakern2 cd cmakern3 ./bootstraprn4 make && make installrn5 cd bin && ln -s ccmake /usr/bin/ccmakern查看cmake版本显示cmake version 2.8.12 安装正确rn6 setenv CC /usr/bin/gcc; setenv CXX /usr/bin/g++rn7 mkdir ITK && cd ITKrn8 tar xvzf ITK4.5 && mkdir ITK-binrn9 cd ITK-bin rn10 ccmake ../ITK4.5rn然后显示ccmake: command not foundrnhow can I do? I have tried to solve the problem several days and I need your help. thank you!
求大神指导指导一下
[img=https://img-bbs.csdn.net/upload/201505/27/1432717312_644686.jpg][/img][b][img=https://img-bbs.csdn.net/upload/201505/27/1432717340_762836.jpg][/img][img=https://img-bbs.csdn.net/upload/201505/27/1432717366_514225.jpg][/img][/b]
在linux下安装cmake(虚拟机的linux)
 1.在网址:http://www.cmake.org/cmake/resources/software.html,找到最新版本的cmake位置。会有两个版本发布:Source Distribution 和 Binary Distribution,我们这里使用后者:已经编译好的可执行版,直接可以拿来用的。(此为第一步骤,打开官网,先不要下载)   2.在linux环境下打开终端(右建最下端)...
Linux下安装cmake步骤详解
http://blog.csdn.net/hometing218/article/details/79516686
审批的控制,求大神帮忙指导
最近遇到审批的问题,首先我是新手,哈哈,项目中遇到审批的问题,我们没用工作流,也许是小项目的原因吧,希望能跟我说说审批的思路,以及解决办法,谢谢了,那个审批的流程怎么控制呢,
qwt安装的一些问题求大神指导
include(D:/qt/qwt/qwt.prf)rnDEFINES *= QWT_DLLrnCONFIG += qwtrnrnLIBS += -L”C:/Qt/Qt5.6.0/5.6/msvc2013_64/lib” -lqwtrnINCLUDEPATH += C:/Qt/Qt5.6.0/5.6/msvc2013_64/include/QWTrnDEPENDPATH += C:/Qt/Qt5.6.0/5.6/msvc2013_64/include/QWTrnqwtAddLibrary(qwt)rnpro文件配置rn[img=https://img-bbs.csdn.net/upload/201608/22/1471800019_59135.png][/img]rn编译后显示:rn:-1: error: LNK1104: 无法打开文件“d.lib”
kettle安装的问题,求大神指导
kettle的环境配置时,我设置系统的环境配置,只有自行添加的路径,另外path和classpath这两个不知如何修改,classpath系统变量中没有,是自行添加么?path的路径是直接自己修改还是怎么?不是太明白...
大神求指导!orz!authpuppy安装出问题。。。。
安装authpuppy时,在第三步出现The requested URL /authpuppy/web/install/3 was not found on this server 问题,查找好长时间都不知道如何解决[img=https://forum.csdn.net/PointForum/ui/scripts/csdn/Plugin/001/face/34.gif][/img],大神求指导!
安装swoole 报错 求大神指导!!!!!!
是不是我配置的环境还缺什么扩展?一直报这个错误rnrn下面是我安装swoole 扩展 重启php-fpm 报错:rnrn[25-May-2018 00:15:22] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/swoole.so' - /usr/lib64/php/modules/swoole.so: undefined symbol: executor_globals in Unknown on line 0rn
nodejs安装mssql报错 求大神指导
nodejs安装mssql报错 求大神指导那里有问题rn[img=https://img-bbs.csdn.net/upload/201806/26/1529995800_848573.png][/img]
谷歌浏览器安装失败!求大神指导安装!
[img=https://img-bbs.csdn.net/upload/201701/07/1483760378_683391.png][/img]rnrnrn百度上的方法试过了,还是安装不了。已经删除卸载文件夹了,重新安装还是出现如上图提示。
初学者求大神指导
小弟初学Java遇到一个难题,求大神指导。rnrn题目:从键盘输入三个数,并赋值,比较之后按从小到大的顺序输出。
求大神指导
小弟用人大金仓是,建立了一个模式mystudy,然后我怎么将建好的一个选课表SC,保存到mystudy这个模式下呢,再有就是怎样可以将表格的打开结果保存到电脑桌面哦??
求大神指导~~
//对象创建rn shopmodel.GoodsBean goods=new shopmodel.GoodsBean();rn ToolBean.DB db=new ToolBean.DB();rn String info="";rn String forward="";rn String ext="";rn String url="upload/";rn String picurl="/uploadimage";rn FileInputStream imagefile=null;rn PreparedStatement pstmt=null;rn Connection conn=null;rn rn //处理上传的图片文件rn SmartUpload su=new SmartUpload(); //创建新的上传对象rn long maxsize=200*1024; //设置每个上传文件的大小为200KB rn tryrn su.initialize(this.getServletConfig(),request,response);//初始化rn rn su.setMaxFileSize(maxsize); //限制上传文件的大小rn su.setDeniedFilesList("exe,bat,jsp,htm,html,,");//设定禁止上传的文件。禁止上传罗列的那些及没有扩展名的文件。rn su.setAllowedFilesList("jpg,JPG,gif,GIF"); //设定允许上传的格式rn su.upload(); //上传文件rn //将上传文件保存到指定目录rn su.save(picurl,SmartUpload.SAVE_VIRTUAL);rn rn //获取上传的文件,因为只上传了一个文件,所以可直接获取 rn com.jspsmart.upload.File myfile=su.getFiles().getFile(0);rn if(!myfile.isMissing()) rn String filename=myfile.getFilePathName(); //获取完整的带路径的文件名rn imagefile=new FileInputStream(filename);rn //获取用户提交的其他数据rn Request req=su.getRequest(); rn String cid=req.getParameter("cid");rn String cname=req.getParameter("cname");rn String number=req.getParameter("cnumber");rn String price=req.getParameter("cprice");rn String cintro=req.getParameter("cintro");rn //转换数量和价格的格式rn int cnumber=Integer.parseInt(number);rn float cprice=Float.parseFloat(price);rn rn //将图片存到upload文件夹中,并重命名rn ext=myfile.getFileExt();rn Calendar cal=Calendar.getInstance();rn String newfilename=String.valueOf(cal.getTimeInMillis());rn //String saveurl=request.getRealPath("/")+url;rn //saveurl+=newfilename+"."+ext;rn rn //设置存到数据库中的路径rn String cimage=url+newfilename+"."+ext;rn rn rn rn// java.io.File iofile = new java.io.File(filename); rn// java.io.FileInputStream fis = new java.io.FileInputStream(iofile); rn //写入到GoodsBean中rn// goods.setCid(cid);rn// goods.setCname(cname);rn// goods.setCnumber(cnumber);rn// goods.setCprice(cprice);rn// goods.setCintro(cintro);rn// goods.setCimage(cimage);rn rn int cmark=0;rn rn String sql="insert into goods(cid,cname,cnumber,cprice,cintro,cimage,cpic) values (?,?,?,?,?,?,?)";rn rn conn=db.createConn();rn conn.setAutoCommit(true);rn pstmt=conn.prepareStatement(sql); rn pstmt.setString(1,cid);rn pstmt.setString(2,cname);rn pstmt.setInt(3,cnumber);rn pstmt.setFloat(4,cprice);rn pstmt.setString(5,cintro);rn pstmt.setString(6,cimage);rn //pstmt.setBinaryStream(parameterIndex, x, length)rn //pstmt.setBinaryStream(6,fis,419);rn pstmt.setBinaryStream(7,imagefile,imagefile.available());rn //cmark=pstmt.execute();rn cmark=pstmt.executeUpdate();rn if(cmark==1)rn //myfile.saveAs(saveurl,SmartUpload.SAVE_PHYSICAL); //su.SAVE_PHYSICALrn info="添加成功!";rn //conn.commit();rn forward="c_manager.jsp";rn elsern info="添加失败!";rn forward="c_add.jsp";rn rn rn elsern info="请选择要上传的文件!";rn forward="c_add.jsp";rn rn rn catch(Exception e)rn e.printStackTrace();rn info="添加异常!";rn forward="c_add.jsp";rn finallyrn try pstmt.close();catch(Exception e)rn try imagefile.close();catch(Exception e)rn try conn.close();catch(Exception e)rn rnrn rn request.setAttribute("info",info);rn RequestDispatcher rd=request.getRequestDispatcher(forward);rn rd.forward(request,response);rn rn rnrnrn为什么我添加的时候出现添加异常????
求c#大神指导
我想指导为什么创建不了用户 (NGUSER)?????rnrnrnrnrn private void btnSetNg_Click(object sender, EventArgs e)rn rn string strSql = "create user NGUSER identified by '9003' default tablespace std; grant connect,resource to NGUSER ; grant create any sequence to NGUSER ; grant create any table to NGUSER ; grant delete any table to NGUSER ; grant insert any table to NGUSER ; grant select any table to NGUSER ; grant unlimited tablespace to NGUSER ; grant execute any procedure to NGUSER ; grant update any table to NGUSER ; grant create any view to NGUSER ; "; rn rn //"CREATE USER NGUSER PROFILE DEFAULT IDENTIFIED BY 9003 DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP ACCOUNT UNLOCK;GRANT CREATE ANY TABLE TO NGUSER;GRANT UNLIMITED TABLESPACE TO NGUSER;GRANT CONNECT TO NGUSER;GRANT RESOURCE TO NGUSER;";rn rn tryrn rn Form1.oclConnection.Open();rn rn OracleCommand oclCommand = new OracleCommand(strSql, Form1.oclConnection);rn rnrn MessageBox.Show("创建成功");rnrn /*rn rn rn create user NGUSER identified by 9003; grant create session to NGUSER; grant create table to NGUSER; grant create tablespace to NGUSER; grant create view to NGUSER; rn rn */rnrnrn rn catch (Exception ex)rn rnrn MessageBox.Show("SQL语句出错!\n" + strSql.ToString() + "\n请检查:\n" + ex.ToString());rnrn rn finallyrn rn Form1.oclConnection.Close();rn rn FormEnterDatabase_Load(this,e);rn rn
求jstree大神指导
用jstree插件,遇到一个问题 ,使用jstree checkbox的时候,选中父节点下的所有子节点,父节点才是selected状态,才能拿到父节点的id。 我想知道  怎么只选中父节点下的一个或多个子节点 ,也能拿到父节点的id。如下图 父节点是半选状态  也能拿到父节点和子节点的id。 求大神指导~
求大神指导,十万火急!!!
如何只用action调用别的网站的查找功能查找地址所在位置?n如:输入自定义接口http://127.0.0.1:8080/WebManagePlatform/inter/hc_ip.do?ip=121.199.26.86n就可以查找ip地址所在位置。n求大神指导........n
求大神指导啊
我们需要弹出一个窗口,输入一行字符串,统计其中的单词个数rnrnrn#includern /*输入一行字符串,统计其中有多少单词,单词之间用空格分隔开*/rnvoid main() rnrn char string[81];rn int i,num=0,word=0;rn char c;rn rn gets(string);rn for(i=0;(c=string[i])!='\0';i++)rn if(c=='')rn word=0;rn rn else if(word==0)rn rn word=1;rn num++;rn rn rnprintf("There are %d words in the line.\n",num);rn
菜鸟求大神指导
C++builder 中如何实现树状图,就好像迅雷这样子的[img=https://img-bbs.csdn.net/upload/201308/17/1376730023_128130.jpg][/img]
myeclipse6.5求大神指导
安装了myeclipse6.5版本的,比如在写System.的时候不能带出System这个类中的方法,求解决办法。已重新安装。
求大神指导!!!
五月 05, 2017 3:41:57 下午 org.apache.tomcat.util.digester.SetPropertiesRule beginrn警告: [SetPropertiesRule]Server/Service/Engine/Host/Context Setting property 'source' to 'org.eclipse.jst.jee.server:manage' did not find a matching property.rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server version: Apache Tomcat/7.0.77rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server built: Mar 28 2017 16:01:48 UTCrn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Server number: 7.0.77.0rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Name: Windows 7rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: OS Version: 6.1rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Architecture: amd64rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Java Home: C:\Program Files\Java\jre7rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Version: 1.7.0_04-b22rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: JVM Vendor: Oracle Corporationrn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_BASE: E:\yangran\code\manage1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: CATALINA_HOME: D:\develop\apache-tomcat-7.0.77rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:51933rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.base=E:\yangran\code\manage1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dcatalina.home=D:\develop\apache-tomcat-7.0.77rn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dwtp.deploy=E:\yangran\code\manage1\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebappsrn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Djava.endorsed.dirs=D:\develop\apache-tomcat-7.0.77\endorsedrn五月 05, 2017 3:41:57 下午 org.apache.catalina.startup.VersionLoggerListener logrn信息: Command line argument: -Dfile.encoding=GBKrn五月 05, 2017 3:41:57 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: Loaded APR based Apache Tomcat Native library 1.2.12 using APR version 1.5.2.rn五月 05, 2017 3:41:57 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEventrn信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].rn五月 05, 2017 3:41:58 下午 org.apache.catalina.core.AprLifecycleListener initializeSSLrn信息: OpenSSL successfully initialized (OpenSSL 1.0.2k 26 Jan 2017)rn五月 05, 2017 3:41:58 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["http-apr-8080"]rn五月 05, 2017 3:41:58 下午 org.apache.coyote.AbstractProtocol initrn信息: Initializing ProtocolHandler ["ajp-apr-8009"]rn五月 05, 2017 3:41:58 下午 org.apache.catalina.startup.Catalina loadrn信息: Initialization processed in 1758 msrn五月 05, 2017 3:41:58 下午 org.apache.catalina.core.StandardService startInternalrn信息: Starting service Catalinarn五月 05, 2017 3:41:58 下午 org.apache.catalina.core.StandardEngine startInternalrn信息: Starting Servlet Engine: Apache Tomcat/7.0.77rn五月 05, 2017 3:41:59 下午 org.apache.catalina.core.ContainerBase startInternalrn严重: A child container failed during startrnjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manage]]rn at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)rn at java.util.concurrent.FutureTask.get(Unknown Source)rn at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1119)rn at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:819)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)rn at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)rn at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)rn at java.util.concurrent.FutureTask.run(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)rn at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)rn at java.lang.Thread.run(Unknown Source)rnCaused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/manage]]rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162)rn ... 7 morernCaused by: java.lang.IllegalArgumentException: The servlets named [manage1.Single2Search] and [manage1.Single2Search2] are both mapped to the url-pattern [/Single2Search] which is not permittedrn at org.apache.catalina.deploy.WebXml.addServletMapping(WebXml.java:293)rn at org.apache.catalina.startup.ContextConfig.processAnnotationWebServlet(ContextConfig.java:2458)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2133)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2094)rn at org.apache.catalina.startup.ContextConfig.processAnnotationsFile(ContextConfig.java:2086)rn at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1303)rn at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:888)rn at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:388)rn at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)rn at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)rn at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5522)rn at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)rn ... 7 morernrnrn
求大神指导!谢谢!!
一张Excel表:序号 姓名 时间 备注 第1周描述rn 1 小明 9.15 .. ....rn 2 小红 9.15 aa dddddrn ...rn要把这个界面做到Delphi中去,可以简单修改查询,现在要在数据库里建2张表,第1张表包含前面的几列内容:序号、姓名、时间、备注,还有1张表就是每周描述,因为每周都要更新,请问第2张表怎么建,界面里的“第1周描述”可以变成第2(3、4、5...)周描述,还是也建到第一张表里去,2张的话Delphi的query中SQL语句怎么写???
求大神指导!!~~急
Linux挂载存储服务器失败rn存储服务器已经映射到主机,Linux可以发现,并且登录.rn[root@master /]# iscsiadm -m session -o show rntcp: [17] 10.1.1.2:3260,3 iqn.1986-03.com.ibm:2145.cunchu02.node1 (non-flash)rntcp: [18] 10.1.1.21:3260,3 iqn.1986-03.com.ibm:2145.cunchu01.node2 (non-flash)rntcp: [19] 10.1.1.1:3260,3 iqn.1986-03.com.ibm:2145.cunchu01.node1 (non-flash)rn使用的是multipath多路径,配置如下rnblacklist rn devnode "^sda"rnrndefaults rn user_friendly_names yesrn path_grouping_policy multibusrn failback immediatern no_path_retry failrnrn可是在fdisk和partitions中没有发现,我不知道哪里出现错误了rnrn[root@master /]# cat /proc/partitions rnmajor minor #blocks namernrn 8 0 1169920000 sdarn 8 1 204800 sda1rn 8 2 1048576 sda2rn 8 3 1168664576 sda3rn 253 0 52428800 dm-0rn 253 1 4194304 dm-1rn 253 2 1112039424 dm-2rn 7 0 2880 loop0rn 7 1 488281 loop1rn 253 3 204800 dm-3rn[root@master /]# fdisk -lrnWARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.rnrnDisk /dev/sda: 1198.0 GB, 1197998080000 bytes, 2339840000 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 262144 bytes / 262144 bytesrnDisk label type: gptrnDisk identifier: 795E086A-1F39-4BD1-B589-FB71E3F07825rnrnrn# Start End Size Type Namern 1 2048 411647 200M EFI System EFI System Partitionrn 2 411648 2508799 1G Microsoft basic rn 3 2508800 2339837951 1.1T Linux LVM rnrnDisk /dev/mapper/cl-root: 53.7 GB, 53687091200 bytes, 104857600 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 262144 bytes / 262144 bytesrnrnrnDisk /dev/mapper/cl-swap: 4294 MB, 4294967296 bytes, 8388608 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 262144 bytes / 262144 bytesrnrnrnDisk /dev/mapper/cl-home: 1138.7 GB, 1138728370176 bytes, 2224078848 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 262144 bytes / 262144 bytesrnrnYou must set cylinders.rnYou can do this from the extra functions menu.rnrnDisk /dev/loop0: 2 MB, 2949120 bytes, 5760 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 512 bytes / 512 bytesrnDisk label type: dosrnDisk identifier: 0x00000000rnrn Device Boot Start End Blocks Id SystemrnrnDisk /dev/loop1: 499 MB, 499999744 bytes, 976562 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 512 bytes / 512 bytesrnrnrnDisk /dev/mapper/vg1-data1: 209 MB, 209715200 bytes, 409600 sectorsrnUnits = sectors of 1 * 512 = 512 bytesrnSector size (logical/physical): 512 bytes / 512 bytesrnI/O size (minimum/optimal): 512 bytes / 512 bytesrnrnrnrn
新手求大神指导~~~
public class SimpleTypesrn public static void main(String[] args)rn System.out.printf("byte \t数值范围: %d ~ %d\n",Byte.MAX_VALUE, Byte.MIN_VALUE);rn System.out.printf("short \t数值范围:%hd ~ %hd\n",Short.MAX_VALUE, Short.MIN_VALUE);rn System.out.printf("int \t数值范围: %d ~ %d\n",Integer.MAX_VALUE, Integer.MIN_VALUE);rn System.out.printf("long \t数值范围:%ld ~ %ld\n",Long.MAX_VALUE, Long.MIN_VALUE);rn System.out.printf("char \t数值范围: %c ~ %c\n",Character.MAX_VALUE, Character.MIN_VALUE);rn System.out.printf("float \t数值范围: %f ~ %f\n",Float.MAX_VALUE, Float.MIN_VALUE);rn System.out.printf("double \t数值范围:%lf ~ %lf\n",Double.MAX_VALUE, Double.MIN_VALUE);rn rn rnrn为啥char,float,double都不能用呢?我看过这三个都有MAX_VALUE和MIN_VALUE啊。。。求指导。。。rn运行结果如下:rnbyte 数值范围: 127 ~ -128rnshort 数值范围:7fffd ~ ffff8000drnint 数值范围: 2147483647 ~ -2147483648rnException in thread "main" java.util.UnknownFormatConversionException: Conversion = 'l'rn at java.util.Formatter$FormatSpecifier.conversion(Formatter.java:2606)rn at java.util.Formatter$FormatSpecifier.(Formatter.java:2634)rn at java.util.Formatter.parse(Formatter.java:2480)rn at java.util.Formatter.format(Formatter.java:2414)rn at java.io.PrintStream.format(PrintStream.java:920)rn at java.io.PrintStream.printf(PrintStream.java:821)rn at SimpleTypes.main(SimpleTypes.java:7)
oracle大神求指导
怎么同时执行查询语句和修改语句
急~~大神求指导
我现在在做一个注册登录,用vc#窗体编程,要求用户注册后信息写入txt,修改密码时需要匹配txt中的部分信息,如果匹配成功,可以修改密码;为什么匹配非汉字行的时候可以,匹配汉字行的时候不可以;而且有时候能匹配成功,有时候匹配不成功~~
求大神指导SQL
Public Function LoadEQPDailyReport(Optional ByVal AreaNo As String = defString, Optional ByVal EquipmentNo As String = defString, _rn Optional ByVal StartTime As Date = defDateTime, Optional ByVal EndTime As Date = defDateTime, Optional ByVal AdditionalXml As String = "") As Stringrn Dim cnnTemp As OleDb.OleDbConnectionrn Dim daTemp As OleDb.OleDbDataAdapterrn Dim dsTemp As DataSetrn Dim drTemp As OleDb.OleDbDataReaderrn Dim strSQL As Stringrn Dim StartEndTime As Doublern Dim Rows() As DataRowrn Tryrn '//Create connectionrn cnnTemp = objLic.CreateConnection(strConnectionString)rn strSQL = "Select * From tblEQPStateBasis Order By EquipmentState"rn cmmTemp = New OleDb.OleDbCommand(strSQL, cnnTemp)rn drTemp = cmmTemp.ExecuteReader()rn strSQL = " Select (Select ContainareaNo From tblSMDAreaRelation Where ObjectNo = Z.EquipmentNo And ObjectType = 2) AreaNo," & _rn " (Select EquipmentType From tblEQPEquipmentBasis Where EquipmentNo = Z.EquipmentNo) EquipmentType," & _rn " Z.EquipmentNo," & _rn " 0 Moves"rn StartEndTime = DateDiff(DateInterval.Second, StartTime, EndTime)rn Do While drTemp.Readrn If strDataBaseType = "oracle" Thenrn rn strSQL = strSQL & " ,Nvl(Round(( Select Sum(Least(A.EndTime,To_Date('" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "','YYYY/MM/DD HH24:MI:SS')) -" & _rn " Greatest(A.StartTime,To_Date('" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "','YYYY/MM/DD HH24:MI:SS')))*24*60*60" & _rn " From (Select EquipmentType, EquipmentNo, EquipmentState, StartTime, EndTime From tblEMSEquipmentStateLog" & _rn " UNION All" & _rn " Select EquipmentType, EquipmentNo, EquipmentState, StartTime, SysDate EndTime From tblEMSEquipmentState" & _rn " ) A" & _rn " Where A.StartTime <= to_date('" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "','YYYY/MM/DD HH24:MI:SS')" & _rn " And A.EndTime > to_date('" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "','YYYY/MM/DD HH24:MI:SS')" & _rn " And A.EquipmentState = " & drTemp("EquipmentState") & _rn " And A.EquipmentNo = Z.EquipmentNo" & _rn " Group By A.EquipmentNo, A.EquipmentState)/" & StartEndTime & "*100,2),0) """ & drTemp("StateName") & """"rn ElseIf DataBaseType = "mssql" Or DataBaseType = "msaccess" Thenrn strSQL = strSQL & " ,ISNull(Round((CAST((Select Sum(DateDiff(Second," & _rn " (Case" & _rn " When A.StartTime > '" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "' Then A.StartTime" & _rn " Else '" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "'" & _rn " End)," & _rn " (Case" & _rn " When A.EndTime < '" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "' Then A.EndTime" & _rn " Else '" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "'" & _rn " End)))" & _rn " From (Select EquipmentType, EquipmentNo, EquipmentState, StartTime, EndTime From tblEMSEquipmentStateLog" & _rn " UNION All" & _rn " Select EquipmentType, EquipmentNo, EquipmentState, StartTime, GetDate() EndTime From tblEMSEquipmentState" & _rn " ) A" & _rn " Where A.StartTime <= '" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "'" & _rn " And A.EndTime > '" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "'" & _rn " And A.EquipmentState = " & drTemp("EquipmentState") & _rn " And A.EquipmentNo = Z.EquipmentNo" & _rn " Group By A.EquipmentNo, A.EquipmentState) as float) /CAST(" & StartEndTime & " AS float))*100,2),0) " & drTemp("StateName")rn End Ifrn Looprn drTemp.Close()rn cmmTemp.Dispose()rn strSQL = strSQL & " From tblEQPEquipmentBasis Z" & _rn " Where Z.EquipmentNo Is Not Null"rn rn If AreaNo <> defString Thenrn strSQL = strSQL & " And (Select ContainareaNo From tblSMDAreaRelation Where ObjectNo = Z.EquipmentNo And ObjectType = 2) = '" & AreaNo & "'"rn End Ifrn rn If EquipmentNo <> defString Thenrn strSQL = strSQL & " And EquipmentNo In ('" & Replace(EquipmentNo, ",", "','") & "')"rn End Ifrn rn If AdditionalXml <> "" Thenrn '//additionalconditionrn strSQL = strSQL & SeparateAddXML_Condition(AdditionalXml)rn End Ifrn strSQL = strSQL & " Order By EquipmentNo"rn '//Select Datarn cmmTemp = New OleDb.OleDbCommand(strSQL, cnnTemp)rn daTemp = New OleDb.OleDbDataAdapter(cmmTemp)rn dsTemp = New DataSetrn daTemp.Fill(dsTemp, "EQPDailyReport")rn If strDataBaseType = "oracle" Thenrn strSQL = " Select EquipmentNo, Sum(B.GoodQty) Moves" & _rn " From tblWIPCont_Equipment A, tblWIPLotLog_Report B" & _rn " Where A.LogGroupSerial = B.LogGroupSerial" & _rn " And A.EndTime Is Not Null " & _rn " And A.EndTime >= To_Date('" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "','YYYY/MM/DD HH24:MI:SS') " & _rn " And A.EndTime < To_Date('" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "','YYYY/MM/DD HH24:MI:SS') " & _rn "Group By EquipmentNo"rn ElseIf DataBaseType = "mssql" Or DataBaseType = "msaccess" Thenrn strSQL = " Select EquipmentNo, Sum(B.GoodQty) Moves" & _rn " From tblWIPCont_Equipment A, tblWIPLotLog_Report B" & _rn " Where A.LogGroupSerial = B.LogGroupSerial" & _rn " And A.EndTime Is Not Null " & _rn " And A.EndTime >= '" & Format(CDate(StartTime), "yyyy/MM/dd HH:mm:ss") & "'" & _rn " And A.EndTime < '" & Format(CDate(EndTime), "yyyy/MM/dd HH:mm:ss") & "'" & _rn "Group By EquipmentNo"rn End Ifrn cmmTemp = New OleDb.OleDbCommand(strSQL, cnnTemp)rn drTemp = cmmTemp.ExecuteReader()rn Do While drTemp.Readrn Rows = dsTemp.Tables("EQPDailyReport").Select("EquipmentNo = '" & drTemp("EquipmentNo") & "'")rn If Rows.Length <> 0 Thenrn Rows(0).Item("Moves") = drTemp("Moves")rn End Ifrn Looprn drTemp.Close()rn cmmTemp.Dispose()rn '//Combine Return Valuern LoadEQPDailyReport = CombineXMLReturnValue("loadeqpdailyreport", "EQPDailyReport", _rn "DataSet", FormatXMLSchema(dsTemp.GetXmlSchema), dsTemp.GetXml, "")rn Catch e1 As Exceptionrn LoadEQPDailyReport = "fail"rn rn Throw 'New Exception("clsReport.LoadEQPDailyReport: " & e1.Message)rn Finallyrn Call objLic.CloseConnection(cnnTemp)rn If Not daTemp Is Nothing Thenrn daTemp.Dispose()rn End Ifrn If Not dsTemp Is Nothing Thenrn dsTemp.Dispose()rn End Ifrn End Tryrn End Functionrnrnrn谁能帮我从里面抠出最终的SQL来,用的是ORACLE数据库
求occi大神指导
我使用的是vs2012 orcale11g客户端 编译时出现链接错误:rn1>------ 已启动生成: 项目: ConnectDatabase, 配置: Release Win32 ------rnrn1> ConnectDatabase.cpprnrn1>ConnectDatabase.obj : error LNK2001: 无法解析的外部符号 "public: static class oracle::occi::Environment * __cdecl oracle::occi::Environment::createEnvironment(enum oracle::occi::Environment::Mode,void *,void * (__cdecl*)(void *,unsigned int),void * (__cdecl*)(void *,void *,unsigned int),void (__cdecl*)(void *,void *))" (?createEnvironment@Environment@occi@oracle@@SAPAV123@W4Mode@123@PAXP6APAX1I@ZP6APAX11I@ZP6AX11@Z@Z)rnrn1>ConnectDatabase.obj : error LNK2001: 无法解析的外部符号 "public: static void __cdecl oracle::occi::Environment::terminateEnvironment(class oracle::occi::Environment *)" (?terminateEnvironment@Environment@occi@oracle@@SAXPAV123@@Z)rnrn1>C:\Users\my\documents\visual studio 2012\Projects\ConnectDatabase\Release\ConnectDatabase.exe : fatal error LNK1120: 2 个无法解析的外部命令rn========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========rnrn代码如下:rn[code=c]rnrn// ConnectDatabase.cpp : 定义控制台应用程序的入口点。rn//rn#include "stdafx.h"rnrn#define WIN32COMMON //避免函数重定义错误rnrn#include rnrnusing namespace std;rnrnusing namespace oracle::occi;rnrnint main()rnrnrnrn Environment *env=Environment::createEnvironment();rnrn cout<<"success"<createConnection("bsm3", "bsm3", "BSM3");rnrn cout<<"conn success"<terminateConnection(conn);rnrn rnrn catch(SQLException& e)rnrn rnrn cout<
求大神指导?编译预处理
为什么要进行编译预处理?n编译预处理是怎么进行的?特别想知道这是怎么样一回事!
相关热词 c# stream 复制 android c# c#监测窗口句柄 c# md5 引用 c# 判断tabtip 自己写个浏览器程序c# c# 字符串变成整数数组 c#语言编程写出一个方法 c# 转盘抽奖 c#选中treeview