柯南安装 --build 无法按预期工作
Conan install --build doesn't work as expected
我正在尝试使用强制构建标志运行conan install
以下载源代码,然后使用以下命令在本地计算机上构建它们:
conan install <conanfilePath> -s compiler="Visual Studio" -s compiler.version=8 --build
从我在此链接上读到的内容 柯南应该在一堆conanfile.py
方法中运行source()
和build()
。
当我运行该命令时,它似乎没有操作source()
方法,当我使用conan source
命令单独运行它时,该方法运行良好,因此build()
方法不起作用。
我错过了什么吗? 任何帮助将不胜感激。
如果本地缓存中不存在,柯南安装将下载源代码。这里有一个看:
https://docs.conan.io/en/latest/reference/conanfile/methods.html#source
作为开发流程手动运行源代码、构建和打包不是一回事。它不必像使用安装命令一样工作。这里有一个关于它的讨论:
https://github.com/conan-io/conan/issues/5165
如果要再次从源下载,请删除当前的包源:
conan remove -f <name/version@user/channel>
conan install <conanfilePath> -s compiler="Visual Studio" -s compiler.version=8 --build
相关文章:
- QSqlquery prepare()和bindvalue()不工作
- 在Ubuntu 16.04上安装Cilk时出现问题
- 导入库可以跨dll版本工作吗
- 在CMakeLists.txt的安装功能中使用.cmake文件有什么用
- 我的 SDL2 程序需要哪些二进制文件,以便它在另一台未安装 SDL2 的计算机中工作
- 所有Visual Studio安装程序崩溃,可视化构建工具也无法正常工作
- 打开 CV 安装无法正常工作
- 在 centOS7 上安装 ceres-solver 并让 helloworld.cc 工作
- 柯南安装 --build 无法按预期工作
- C++ Dll 无法在未安装 Visual Studio 的系统上工作
- 创建不需要任何进一步安装即可在其他计算机上工作的可执行文件?
- 如何在Linux上从源代码安装TBB并使其工作
- 如何在虚拟方法中围绕安装进行工作
- 让qmake与32位和64位并行安装一起工作
- 正在安装GLFW 3.0,但无法在Visual Studio中工作
- 是否有人有一个工作GMP + MINGW安装
- 没有安装VS2012, c / c++ dll缺少依赖项.有了它,它工作得很好
- 自制安装g++ 4.7不工作
- Visual C++ 2013 程序在 IDE 中工作,但在 InstallShield LE 安装后不加载任何显示内容
- Qt5.7安装在Raspberry Pi3上并工作…如何获得QtCreator