Questions tagged «cmake»

2
找不到与请求的版本1.5.0兼容的软件包“ ECM”的配置文件
我尝试从存储库下载“ ECMConfig.cmake”,但终端给我一个错误:“ 问题的标题 +考虑了以下配置文件,但未接受:ECMConfig.cmake:版本未知。 我尝试在Google上搜索,但得到了我想使用以下命令从源“ kde frameworks”进行编译: cmake .. -DCMAKE_INSTALL_PREFIX=/home/john/QtProjects/KDEStuff/frameworkintegration/build/ -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_PREFIX_PATH=/home/john/Downloads/ PS: “ / home / john / Downloads /”-我的* .cmake所在的位置。
33 linux  terminal  kde  build  cmake 

4
Emacs 24:加载通过ELPA安装的软件包
我刚刚cmake-mode使用以下命令在Emacs 24中安装了该软件包: M-x package-install cmake-mode 我可以看到包:~/.emacs.d/elpa/cmake-mode-20110824,我可以使用指令在加载它Commentary:的部分~/.emacs.d/elpa/cmake-mode-20110824/cmake-mode.el: ;; Add this code to your .emacs file to use the mode: ;; ;; (setq load-path (cons (expand-file-name "/dir/with/cmake-mode") load-path)) ;; (require 'cmake-mode) ;; (setq auto-mode-alist ;; (append '(("CMakeLists\\.txt\\'" . cmake-mode) ;; ("\\.cmake\\'" . cmake-mode)) ;; auto-mode-alist)) 但这与ELPA的EmacsWiki页面上的用法说明矛盾: ...软件包在init.el加载后初始化。这意味着您不应该将特定于程序包的初始化放入您的init.el中。 我倾向于同意此说明,因为在~/.gnu-emacs文件中添加了以下行: (add-to-list 'load-path "~/.emacs.d/elpa/cmake-mode-20110824/") 是很难看的,如果我何时升级软件包,它会损坏。但是,如果没有这一行,我将无法使用cmake-mode。 …

0
错误:无法将'boost :: shared_ptr <permlib :: Permutation>'转换为'bool'以返回return repr;
我是linux的新手,并尝试在Linux中安装SymBol。 SymBol要求 Boost in version 1.34.1 or higher GMP with both C and C++ bindings CMake in version 2.6 or higher 我成功安装了这3个但是当我想安装SymPol时出现这个错误: cannot convert ‘boost::shared_ptr&lt;permlib::Permutation&gt;’ to ‘bool’ in return return repr; CMakeFiles/sympol.dir/build.make:166: recipe for target 'CMakeFiles/sympol.dir/symmetrycomputation.o' failed make[2]: *** [CMakeFiles/sympol.dir/symmetrycomputation.o] Error 1 CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/sympol.dir/all'failed make[1]: *** [CMakeFiles/sympol.dir/all] …
1 linux  cmake 

0
尝试构建apk时出现CMake Error 2
当我尝试在Ubuntu上使用CMake构建APK时,它表示它未能签名并给我一个错误2.我试图构建DualBootPatcher,如果有必要的话。 [ 9%] File signing target 'sign_prebuilt_exfat_arm64-v8a' -- Signing: /home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat /home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat: Failed to open input file 139786185960320:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:74:fopen('/home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat','rb') 139786185960320:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:81: CMake Error at /home/simon/DualBootPatcher/build/cmake/SignFiles.cmake:22 (message): Failed to sign: /home/simon/DualBootPatcher/build/thirdparty/prebuilts/exfat/1.3.0-1/arm64-v8a/bin/mount.exfat thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a.dir/build.make:57: recipe for target 'thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a' failed make[2]: *** [thirdparty/CMakeFiles/sign_prebuilt_exfat_arm64-v8a] Error 1 CMakeFiles/Makefile2:91: recipe for target …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.