环境 windows10 MSVC
参考文章:https://blog.iceyer.net/articles/545/
具体
C:\Users\pikachu\Downloads\dtkcore-master\conan_demo>conan install . --build dtkcore
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.runtime=MD
compiler.version=15
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
dtkcore/2.0.9@iceyer/stable: WARN: Forced build from source
conanfile.txt: Installing package
Requirements
OpenSSL/1.0.2n@conan/stable from 'conan-center' - Cache
dtkcore/2.0.9@iceyer/stable from 'iceyer' - Cache
dtkwidget/2.0.9@iceyer/stable from 'iceyer' - Cache
jom_installer/1.1.2@bincrafters/stable from 'bincrafters' - Cache
qt/5.6.3@iceyer/stable from 'iceyer' - Cache
Packages
OpenSSL/1.0.2n@conan/stable:760a7869f94eaf263c5fdc88d1511a0b77e76ac5 - Cache
dtkcore/2.0.9@iceyer/stable:5496cc8a8b992a76e99ebb11aa0d93ea23a97da7 - Build
dtkwidget/2.0.9@iceyer/stable:9e7422f7842318a975caf304003f861deb7e85d2 - Missing
jom_installer/1.1.2@bincrafters/stable:3475bd55b91ae904ac96fde0f106a136ab951a5e - Cache
qt/5.6.3@iceyer/stable:a72bc1cbfdc7cf7f3aad03ad72eded54137dde82 - Cache
OpenSSL/1.0.2n@conan/stable: Already installed!
jom_installer/1.1.2@bincrafters/stable: Already installed!
qt/5.6.3@iceyer/stable: Already installed!
dtkcore/2.0.9@iceyer/stable: WARN: Build folder is dirty, removing it: C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7
dtkcore/2.0.9@iceyer/stable: Building your package in C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7
dtkcore/2.0.9@iceyer/stable: Copying sources to build folder
dtkcore/2.0.9@iceyer/stable: Generator qmake created conanbuildinfo.pri
dtkcore/2.0.9@iceyer/stable: Calling build()
Cannot read C:/Users/pikachu/.conan/data/dtkcore/2.0.9/iceyer/stable/build/5496cc8a8b992a76e99ebb11aa0d93ea23a97da7: ?????
Error processing project file: C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7
dtkcore/2.0.9@iceyer/stable:
dtkcore/2.0.9@iceyer/stable: ERROR: Package '5496cc8a8b992a76e99ebb11aa0d93ea23a97da7' build failed
dtkcore/2.0.9@iceyer/stable: WARN: Build folder C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7
ERROR: dtkcore/2.0.9@iceyer/stable: Error in build() method, line 47
self.run(command)
ConanException: Error 3 while executing qmake -r VERSION=2.0.9 CONFIG+=release PREFIX=C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7 MKSPECS_INSTALL_DIR=C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7/mkspecs DTK_STATIC_LIB=YES DTK_STATIC_TRANSLATION=YES DTK_NO_MULTIMEDIA=YES C:\Users\pikachu\.conan\data\dtkcore\2.0.9\iceyer\stable\build\5496cc8a8b992a76e99ebb11aa0d93ea23a97da7
环境 windows10 MSVC
参考文章:https://blog.iceyer.net/articles/545/
具体