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.
conan install ../hello_world -pr clang-6.0-linux-x86_64-toolchain
conan install ../hello_world -pr clang-6.0-linux-x86_64
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
gccandg++binaries togcc.bakandg++.bakin 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-toolchainconan install ../hello_world -pr clang-6.0-linux-x86_64