[CMake] cmTryCompileExec.exe crashes CMake 2.6

Bill Hoffman bill.hoffman at kitware.com
Sun Jul 20 21:53:34 EDT 2008


Carl Trapani wrote:
> Hi All,
> 
> I'm trying to get a buildable VTK 5.0.4 Eclipse CDT 4 project using 
> CMake 2.6 and the Eclipse CDT4 - MinGW Makefiles generator. I ran 
> CMakeSetup.exe by clicking on the Start Menu icon. I selected the 
> following source and build directories:
> 
> C:\projects\vtk\vtk-5.0.4-src
> C:\projects\vtk\vtk-5.0.4-build
> 
>
> 
> I select "Close the program", but CMake continues to configure. I 
> accepted the values by hitting Configure again and then hit Ok to get a 
> buildable project. A Warning message is displayed and then the program 
> exists (no successfully built message?). But, when I try and import the 
> Eclipse project, I get errors.

Do you know which trycompile is failing?  Does the same thing happen 
with 2.6.1 RC 11?

What errors do you get on the import?
> 
> I've got MinGW 5.1.4 installed with the following components as 
> indicated in the installed.ini file:
> 
> ----BEGIN MinGW installed.ini --------------------
> [settings]
> mirror=
> installtype=current
> 
> [components]
> runtime=mingw-runtime-3.14.tar.gz
> w32api=w32api-3.11.tar.gz
> binutils=binutils-2.17.50-20060824-1.tar.gz
> core=gcc-core-3.4.5-20060117-3.tar.gz
> gpp=gcc-g++-3.4.5-20060117-3.tar.gz
> g77=
> ada=
> java=
> objc=
> make=mingw32-make-3.81-20080326-2.tar.gz
> ---END MinGW installed.ini---------------
> 
> I'm running Vista.
> 
> Can anyone offer some advice or suggest alternatives? I'm going to try 
> the Visual Studio 2008 generator next. Maybe that will work?
> 
That is working for lots of folks, so I would think it would work.


-Bill
-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman at kitware.com
http://www.kitware.com
518-371-3971 (phone and fax)


More information about the CMake mailing list