You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't seem to get it to compile for the life of me.
Clang 6 is so old I had to resort to downloading the clang 6 binaries and installing them into my path just to have them. On top of having to rename my gcc and g++ binaries to gcc.bak and g++.bak in order to get CMake to ignore them, as I was getting Incorrect 'clang', is not the one detected by CMake: 'GNU' originally
But alas, build still fails. What Operating System is best to build this on? Really excited to try this out
(conanenv) [jeff@jeffs-machine build_hello_world]$ cmake ../hello_world/
-- Conan: Adjusting output directories
-- Conan: Using cmake global configuration
-- Conan: Adjusting default RPATHs Conan policies
-- Conan: Adjusting language standard
-- Current conanbuildinfo.cmake directory: /opt/build_hello_world
CMake Error at /opt/build_hello_world/conanbuildinfo.cmake:2346 (message):
Incorrect 'clang', is not the one detected by CMake: 'clang++-6.0'
Call Stack (most recent call first):
/opt/build_hello_world/conanbuildinfo.cmake:1909 (conan_check_compiler)
CMakeLists.txt:6 (conan_basic_setup)
-- Configuring incomplete, errors occurred!
See also "/opt/build_hello_world/CMakeFiles/CMakeOutput.log".
I've tried these two profiles with the same result. The gcc profiles failed to even install at all.
The text was updated successfully, but these errors were encountered:
jeffbdavenport
changed the title
Cannot build on Fedora 32 Incorrect 'clang', is not the one detected by CMake: 'clang++-6.0
Cannot build on Fedora 32: Incorrect 'clang', is not the one detected by CMake: 'clang++-6.0
Jul 30, 2020
I can't seem to get it to compile for the life of me.
Clang 6 is so old I had to resort to downloading the clang 6 binaries and installing them into my path just to have them. On top of having to rename my
gcc
andg++
binaries togcc.bak
andg++.bak
in order to get CMake to ignore them, as I was gettingIncorrect 'clang', is not the one detected by CMake: 'GNU'
originallyBut alas, build still fails. What Operating System is best to build this on? Really excited to try this out
I've tried these two profiles with the same result. The gcc profiles failed to even install at all.
conan install ../hello_world -pr clang-6.0-linux-x86_64-toolchain
conan install ../hello_world -pr clang-6.0-linux-x86_64
The text was updated successfully, but these errors were encountered: