版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_32768743/article/details/88863784
pikachu@pikachu-PC:~/src/libQtS/cmake-build-debug$ conan install .
WARN: Remotes registry file missing, creating default one in /home/pikachu/.conan/registry.json
Auto detecting your dev setup to initialize the default profile (/home/pikachu/.conan/profiles/default)
Found gcc 7
gcc>=5, using the major as version
Found clang 7.0
************************* WARNING: GCC OLD ABI COMPATIBILITY ***********************
Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to
'libstdc++' for backwards compatibility.
Your compiler is likely using the new CXX11 ABI by default (libstdc++11).
If you want Conan to use the new ABI, edit the default profile at:
~/.conan/profiles/default
adjusting 'compiler.libcxx=libstdc++11'
************************************************************************************
Default settings
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=7
compiler.libcxx=libstdc++
build_type=Release
*** You can change them in /home/pikachu/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***
ERROR: Conanfile not found at /home/pikachu/src/libQtS/cmake-build-debug/conanfile.py or /home/pikachu/src/libQtS/cmake-build-debug/conanfile.txt
pikachu@pikachu-PC:~/src/libQtS/cmake-build-debug$
修改
pikachu@pikachu-PC:~/src/libQtS$ vim ~/.conan/profiles/default
pikachu@pikachu-PC:~/src/libQtS$