[CMake] cmake MinGW WinXP DevCPP Problems

Brad King brad.king at kitware.com
Thu Apr 21 13:01:35 EDT 2005


Tomislav Adamic wrote:
> OK, I solved the problem, so here it is if someone else encounters
> that again. The problem was in next line from "CMakeLists.txt":
> 
> PROJECT (hello C++)
> 
> If instead of that I write:
> 
> PROJECT (hello)
> 
> Everything goes fine (compiler is automagicaly chosen)...
> 
> Well, almost everything, because GUI Configure button still fails to
> configure at all, but running from cmd line works just fine... And if
> I run GUI after cmd line is done, then GUI Configure works. Bug?

Do you run the GUI program in the same environment as the command line 
version?  Try starting the GUI from the command line and then configuring.

> One more thing... If above procedure is used, cmake will fing c++.exe
> as C++ compiler (DevCPP installs g++.exe and c++.exe). Leave that
> setting this way, because changing it (from GUI for example) to g++
> will result in make failure...

What do you mean by "make failure"?

-Brad


More information about the CMake mailing list