[CMake] "could not find cmake module"
Christian Vander Jagt
chrisvanderjagt at yahoo.com
Sun Apr 10 12:03:03 EDT 2011
I'm using CMake 2.8, I did not compile it, I got it from
http://cmake.org/cmake/resources/software.html, I guess plain windows vista, the
compiler I'm using is MinGW, not sure if that's the same as the generator, i
have probably about 20 CMakeLists.txt, which one do you want?
________________________________
From: Eric Noulard <eric.noulard at gmail.com>
To: Christian Vander Jagt <chrisvanderjagt at yahoo.com>
Cc: cmake at cmake.org
Sent: Sun, April 10, 2011 4:17:34 AM
Subject: Re: [CMake] "could not find cmake module"
2011/4/9 Christian Vander Jagt <chrisvanderjagt at yahoo.com>:
> I am trying to use cmake to compile a program from source code, i am getting
> this error:
> CMake Error: Error required internal CMake variable not set, cmake may be
> not be
> built correctly.
> Missing variable is:
> CMAKE_CXX_COMPILER_ENV_VAR
> CMake Error: Could not find cmake module
> file:C:/MinGW/msys/1.0/home/Kristy/CMak
> eFiles/CMakeCXXCompiler.cmake
> -- Configuring incomplete, errors occurred!
Could you provide us more informations:
Which version of CMake are you using?
Did compile it yourself and if not where did you get it?
You seems to be on a Windows platform, are using cygwin or "plain windows" ?
Which version of Windows are you using (XP, Vista, 7 etc...)
Which CMake generator are you trying to use ? Mingw+Makefile or ??
Could you show us your main CMakeLists.txt ?
--
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110410/fe07d935/attachment.htm>
More information about the CMake
mailing list