Re: [CMake] Issue with non-system gcc path

2019-11-02 Thread Mahmood Naderan via CMake
OK. The OS is centos-6.9 which is pretty old. I think I may hit other errors later.I will try to find another way. Thank you. Regards, Mahmood On Saturday, November 2, 2019, 5:24:05 PM GMT+3:30, Rainer Poisel wrote: Hi Mahmood, I think there is a problem with your toolchain. Maybe t

Re: [CMake] Issue with non-system gcc path

2019-11-02 Thread Rainer Poisel
Hi Mahmood, I think there is a problem with your toolchain. Maybe there is an environment variable (hot guess: LD_LIBRARY_PATH or something similar) missing. Have a look into the following files in your build directory: * CMakeFiles/CMakeOutput.log and * CMakeFiles/CMakeError.log Maybe there

[CMake] Issue with non-system gcc path

2019-11-02 Thread Mahmood Naderan via CMake
Hi, May I know what is wrong with the specifying a non-system gcc path? $ cmake .. -DCMAKE_C_COMPILER=/storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc -DCMAKE_CXX_COMPILER=/storage/users/mnaderan/tools/gcc-6.1.0/bin/g++    -- The C compiler identification is unknown