Hi Bill, Karthik -

I've done all the steps on that setup page (including step 5, and confirmed that a Win32 application will build and run).

Even so, with cmake 2.2.3 I get the message:

"The C compiler "cl" is not able to compile a simple test program. It fails with the following output:


Cmake will not be able to correctly generate this project."

I'm putting this into the cmake bug tracker. I'll put the error log there, although it's basically empty.

Any other ideas of things to try?

Thanks,
Steve


Karthik Krishnan wrote:
And after intsalling Platform SDK, you need to go through the steps in

http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/

-karthik

William A. Hoffman wrote:

At 07:10 PM 1/26/2006, Steve Pieper wrote:
Hi -

Is anyone using the VC++ Express 2005? We're running into the problems listed below. Unless there's a known workaround I'll put this in the bugtracker.

Andy,

Just a little more information. CMake 2.1 (sometime during that development lifetime) was able to perform its try/compiles and configure the project with the VS8 compiler. My ITK build with that could not locate windows.h but otherwise things built.


I just checked and someone here at Kitware is using vs express IDE builds for VTK/ITK with no problems. I think the clue is that it could not locate windows.h. In addtion to installing VC++ Express 2005, you have to correctly install the SDK
for windows.   The instructions are here:

http://msdn.microsoft.com/vstudio/express/visualc/download/

I think if you follow all 4 steps it works fine.

-Bill

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to