[CMake] CMake Error: Error required internal CMake variable not set

Alexander Neundorf a.neundorf-work at gmx.net
Fri Feb 4 18:14:57 EST 2011


On Friday 04 February 2011, Enrique Izaguirre wrote:
> Thanks Alexander,
> Seems that it doesn't have much information but here it is:
>
> # cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-linuxcpp.cmake ..
> System name is:
> Linux
> The Top directory is:
> /home/x0148488/omapflash
> Adding subdirectory comdriver...
> Entering comdriver's CMakeLists
> Now trying to find AdbWinApi.lib library
> Adding subdirectory common...
> Adding subdirectory host...
> -- Configuring done
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be built correctly.
> Missing variable is:
> CMAKE_C_LINK_EXECUTABLE
> -- Generating done
> -- Build files have been written to: /home/x0148488/omapflash/cmake_build

Where is the "Detecting compiler ID" etc. output, why isn't this here ?

You may also use cmake --trace to see exactly which commands cmake is 
executing.

Alex


More information about the CMake mailing list