[CMake] Windows Path Issues

david at zemon.name david at zemon.name
Tue Aug 5 13:56:25 EDT 2014


I'm generally a Linux guy but need this project to work on all three main platforms.
 
I have my toolchain file working nicely in Linux, but for some reason I'm getting an error on Windows. Here's top of the console output:
 
bash-3.1$ cmake -G "Unix Makefiles" . 
-- The C compiler identification is GNU 4.6.1
-- The CXX compiler identification is GNU 4.6.1
-- The COGCXX compiler identification is GNU 4.6.1
-- The ECOGC compiler identification is GNU 4.6.1
-- The ECOGCXX compiler identification is GNU 4.6.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/software/propgcc/bin/propeller-elf-gcc
CMake Error at CMakeLists.txt:6 (project):
  The CMAKE_C_COMPILER:
 
    C:/software/propgcc/bin/propeller-elf-gcc
 
  is not a full path to an existing compiler tool.
 
  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.
 
This doesn't make too much sense to me. Anyone know why it would find the compiler at first and then loose it? The path that it lists is perfectly valid.
 
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140805/bf6aa844/attachment.html>


More information about the CMake mailing list