Re: [CMake] could not find cmake module

2011-04-10 Thread Eric Noulard
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


Re: [CMake] could not find cmake module

2011-04-10 Thread Christian Vander Jagt
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.noul...@gmail.com
To: Christian Vander Jagt chrisvanderj...@yahoo.com
Cc: cmake@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 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

Re: [CMake] could not find cmake module

2011-04-10 Thread Eric Noulard
2011/4/10 Christian Vander Jagt chrisvanderj...@yahoo.com:
 I'm using CMake 2.8,

You should something like 2.8.x, what is the x ?

  I did not compile it, I got it from
 http://cmake.org/cmake/resources/software.html,

Ok good, I bet you took the Windows Installer.

I guess plain windows vista,
 the compiler I'm using is MinGW, not sure if that's the same as the
 generator,

The generator is the name you chose after you've launched CMake
from a pristine build tree.

If you do not remember which one you chose the first time
try with a new build tree:
http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

i have probably about 20 CMakeLists.txt, which one do you want?

The upper level one or the first one which makes CMake fail.

By the way did you wrote those CMakeLists.txt or are you trying
to compile someone else sources?

Did you succeed  to compile those sources before with CMake?

-- 
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


Re: [CMake] could not find cmake module

2011-04-10 Thread Christian Vander Jagt
I don't know what I'm doing differently now, but I am getting something 
different now. An error message window is opening saying:
This application has failed to start because libgmp-10.dll was not found. 
Re-installing the application may fix the problem.





From: Eric Noulard eric.noul...@gmail.com
To: Christian Vander Jagt chrisvanderj...@yahoo.com
Cc: cmake@cmake.org
Sent: Sun, April 10, 2011 11:38:11 AM
Subject: Re: [CMake] could not find cmake module

2011/4/10 Christian Vander Jagt chrisvanderj...@yahoo.com:
 I'm using CMake 2.8,

You should something like 2.8.x, what is the x ?

  I did not compile it, I got it from
 http://cmake.org/cmake/resources/software.html,

Ok good, I bet you took the Windows Installer.

I guess plain windows vista,
 the compiler I'm using is MinGW, not sure if that's the same as the
 generator,

The generator is the name you chose after you've launched CMake
from a pristine build tree.

If you do not remember which one you chose the first time
try with a new build tree:
http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees

i have probably about 20 CMakeLists.txt, which one do you want?

The upper level one or the first one which makes CMake fail.

By the way did you wrote those CMakeLists.txt or are you trying
to compile someone else sources?

Did you succeed  to compile those sources before with CMake?

-- 
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

Re: [CMake] could not find cmake module

2011-04-10 Thread Eric Noulard
2011/4/10 Christian Vander Jagt chrisvanderj...@yahoo.com:

 I am trying to compile VTK, i have never used CMake before, 2.8.4, MinGW
 makefiles is the generator,

Then you should ask your question on the VTK mailing list in the first place.
http://www.vtk.org/VTK/help/mailing.html

-- 
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


[CMake] could not find cmake module

2011-04-09 Thread Christian Vander Jagt
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!
___
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