2011/4/9 Christian Vander Jagt <chrisvanderj...@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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to