These are chat archives for inbilla/CMake

21st
Jul 2018
Theodore Newton
@twln1
Jul 21 2018 23:35

@JacksonFurrier ```theo@devtheo:~/Documents/Workspace/c++gol/build$ cmake .. -GFastbuild
-- The C compiler identification is Clang 3.6.2
-- The CXX compiler identification is Clang 3.6.2
-- Check for working C compiler: /usr/bin/clang-3.6
-- Check for working C compiler: /usr/bin/clang-3.6 -- broken
CMake Error at /usr/local/share/cmake-3.11/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler

"/usr/bin/clang-3.6"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/theo/Documents/Workspace/c++gol/build/CMakeFiles/CMakeTmp

Run Build Command:"/home/twln/Documents/Workspace/c++gol/build/fbuild" "-showcmds" "-ide" "-config" "/home/twln/Documents/Workspace/c++gol/build/CMakeFiles/CMakeTmp/fbuild.bff" "cmTC_ed51a-Debug"
/home/twln/Documents/Workspace/c++gol/build/CMakeFiles/CMakeTmp/base.bff(24,1): FASTBuild Error #1500 - Compiler() - Compiler detection failed. Unrecognized executable '\usr\bin\clang-3.6'.
Compiler('Compiler-C')
^
\--here

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)

-- Configuring incomplete, errors occurred!
See also "/home/twln/Documents/Workspace/c++gol/build/CMakeFiles/CMakeOutput.log".
See also "/home/twln/Documents/Workspace/c++gol/build/CMakeFiles/CMakeError.log".
```

Just using a simple Conway Game of Life to test it at the minute. Is this what you mean or would I need to give you the error log file?