Hi all,

Just to confirm I have the same problem here... CMake 2.2.3

Fresh install of VS8Express + PSDK (option environment variable checked ON). Was able to build the win32 template (from the command line) and run it.
I have checked my paths, I can access cl from the command line, I can access cmake too, but something in between doesnt do it. Same from the CMakeSetup GUI of course.

Event from the Visual express command line which should have all the environement variables set up properly, I get the same error. And the CMakeError.log just says :

>Determining if the C compiler works failed with the following output:
>
>

Is there any way I can get more information on what actually happened ? Someone found more clues ?

Cheers,

30 Jan 2006 15:03:06 -0500, Steve Pieper <[EMAIL PROTECTED]>:
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

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

Reply via email to