草庐IT

img_find

全部标签

windows - 我怎么知道 find_package() 在 cmake 中是否成功?

find_package(GTK)如何让它输出一些东西,以便我知道它是否找到了东西?平台:windowsXP 最佳答案 您可以使用message命令如:FIND_PACKAGE(GTK)IF(${GTK_FOUND})MESSAGE(STATUS"FoundGTK.")ELSE(${GTK_FOUND})MESSAGE(STATUS"CouldnotlocateGTK.")ENDIF(${GTK_FOUND})或者,如果您希望它在未找到GTK时中止:FIND_PACKAGE(GTK)IF(${GTK_FOUND})MESSAGE(S

windows - grunt "Error: Cannot find module ' ../time/convert'(仅在 Windows 上)

在linux下建立一个新的angular项目。将其提交到git并将其克隆到windows。使用bower和npm,我设法加载了所有内容,除了我有一个错误(仅在Windows上)项目中../time/convert的递归grep显示:./node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-wrapper/node_modules/mout/date/diff.js:varconvert=require('../time/convert');./node_modules/grunt-contr

windows - Ruby 1.9.2 Find.find 编码

我知道您可以执行Dir.entries('.',{:encoding=>'utf-8'})并且它可以正常工作,但我找不到任何方法在执行Find.find时强制编码。在Windows上,第一种方法正确读取了一个文件名舦舨.txt,并且对该值执行File.file?返回true。但是,执行Find.find会返回??.txt,即使ruby​​说它的编码是utf-8。此外,File.file?返回false。没有办法在Find.find上设置编码吗? 最佳答案 代替Find.find(dir)我找到了Find.find(dir.encod

php - Windows cygwin gearman ./configure 显示 "configure: error: Unable to find libevent"错误

我正在尝试安装gearmanhttp://www.phpvs.net/2010/11/30/installing-gearman-and-gearmand-on-windows-with-cygwin/我下载了“libevent-2.0.21-stable.tar.gz”解压到cygwin的home/libs目录(我自己建了一个libs目录)里面还有“gearmand-1.1.5”。然后,在我执行的libevent目录中:./configuremakemakeinstall安装libevent后,我​​切换到gearman目录并执行:./configure这导致“配置:错误:无法找到l

windows - powershell 看不到文件系统更改 - "cannot find path"

我编写了一个powershell脚本,可以从DynamicsNAV实例中导出一堆文件。它调用我也编写的perl脚本,然后将所有文件拆分为单独的对象,并将它们粘贴到我在perl中创建的目录下的子目录中。然后powershell脚本尝试将文件复制到不同的目录,但失败了。Powershell生成目录名称:$datestamp=get-date-fMM-dd-yyyy_HH_mm_ss$dumpdir="\temp\nav_export\"+$env:username+"\"+$servicetier+"~"+$database+"~"+$datestamp;然后powershell做了一堆工

python - 使用 Sublime 运行 Python 时出现错误 "The system cannot find the file specified"

我尝试运行我的Twitter机器人代码,但出现此错误:[Error2]Thesystemcannotfindthefilespecified[cmd:[u'python',u'-u',u'C:\Users\humza\Desktop\Simple-Python-TwitterBot-master\run.py']][dir:C:\Users\humza\Desktop\Simple-Python-TwitterBot-master][path:C:\ProgramFiles(x86)\Intel\iCLSClient\;C:\ProgramFiles\Intel\iCLSClient\

c++ -\mingw-w64\...\ld.exe : cannot find -lboost_filesystem

我正在尝试在“Windows764位”命令提示符下使用mingw编译简单的C++程序。我得到的错误是:>gccfs.cpp-lboost_filesystem-lboost_systemc:/ProgramFiles/mingw-w64/x86_64-8.1.0-win32-seh-rt_v6-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe:cannotfind-lboost_filesystemc:/ProgramFiles/mingw-w64

python - 在 Windows 7 x86 上安装 turbogears 2.1 错误 "The system cannot find the file specified"

我在C:\Projects2010\Python\Environments中创建了环境:C:\Python27\Scripts\virtualenv.exemyenv然后运行activate.bat:C:\Projects2010\Python\Environments\myenv\Scripts\activate.bat然后运行​​pip:C:\Projects2010\Python\Environments\myenv\Scripts\pip.exeinstall-ihttp://www.turbogears.org/2.1/downloads/current/indextg.de

windows - 在 Windows 上升级到 Mercurial 更高版本 : Cannot clone a repo: get abort message because cannot find web. cacerts

这是在Windows7上。我之前安装了Mercurial2.3.2并有一些存储库并将它们推送到我的Bitbucket帐户,进行了一些编辑然后提交等。所有这些都运行良好。最近我卸载了Mercurial2.3.2并安装了2.6.2。然后我尝试将我的一个Bitbucket存储库克隆到我机器上的一个目录中,以便在上面工作。使用的命令是:Mercurial克隆https://bitbucket.org/vasudevram/xtopdf(我也尝试在上面的命令中用http替换https。)命令的两个版本均无效。错误信息是:中止:找不到web.cacerts:C:\ProgramFiles\Merc

c - "cannot find -lcrypto -lssl"在带有 MinGW 的 Windows 上使用 OpenSSL

尝试openssl的c代码,在命令提示符下编译时出现此错误。c:\openssl>gcc-lssl-lcrypto-otesttest.c-IC:\openssl\include\c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:cannotfind-lsslc:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:cannotfind-lcryptocollect2.exe:error:ldreturned1exits