atif1996 / moderncpp

Modern template C++20 + Cmake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hi, cmake error

mathpopo opened this issue · comments

(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/moderncpp/cmake-build-debug$ conan install ..
Auto detecting your dev setup to initialize the default profile (/home/chenxin/.conan/profiles/default)
Found gcc 9
gcc>=5, using the major as version

************************* 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 for the default profile, run:

$ conan profile update settings.compiler.libcxx=libstdc++11 default

Or edit '/home/chenxin/.conan/profiles/default' and set compiler.libcxx=libstdc++11


Default settings
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=9
compiler.libcxx=libstdc++
build_type=Release
*** You can change them in /home/chenxin/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***

WARN: Remotes registry file missing, creating default one in /home/chenxin/.conan/remotes.json
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

catch2/2.13.4: Not found in local cache, looking in remotes...
catch2/2.13.4: Trying with 'conancenter'...
Downloading conanmanifest.txt completed [0.24k]
Downloading conanfile.py completed [4.22k]
Downloading conan_export.tgz completed [0.29k]
Decompressing conan_export.tgz completed [0.00k]
catch2/2.13.4: Downloaded recipe revision 0
conanfile.txt: Installing package
Requirements
catch2/2.13.4 from 'conancenter' - Downloaded
Packages
catch2/2.13.4:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download

Installing (downloading, building) binaries...
catch2/2.13.4: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conancenter'
Downloading conanmanifest.txt completed [0.73k]
Downloading conaninfo.txt completed [0.29k]
Downloading conan_package.tgz completed [468.16k]
Decompressing conan_package.tgz completed [0.00k]
catch2/2.13.4: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
catch2/2.13.4: Downloaded package revision 0
conanfile.txt: Generator cmake created conanbuildinfo.cmake
conanfile.txt: Generator txt created conanbuildinfo.txt
conanfile.txt: Aggregating env generators
conanfile.txt: Generated conaninfo.txt
conanfile.txt: Generated graphinfo
(base) chenxin@chenxin-Nitro-AN515-52:~/disk1/github/moderncpp/cmake-build-debug$ cmake ..
-- Conan: Automatic detection of conan settings from cmake
CMake Error at cmake/conan.cmake:82 (message):
Please specify in command line CMAKE_BUILD_TYPE
(-DCMAKE_BUILD_TYPE=Release)
Call Stack (most recent call first):
cmake/conan.cmake:544 (conan_cmake_settings)
CMakeLists.txt:7 (conan_cmake_run)

-- Configuring incomplete, errors occurred!
See also "/home/chenxin/disk1/github/moderncpp/cmake-build-debug/CMakeFiles/CMakeOutput.log".