[CMake] Using cmake to configure a 32 bit project on Windows 64 Bit OS
Mike Jackson
mike.jackson at bluequartz.net
Wed Sep 9 15:15:01 EDT 2009
Evidently, after a bunch of google searches the problem is that the
VS2008 installer does not seem to install the 32 bit cl.exe programs
unless you choose to install EVERYTHING. I most likely did not select
that option as all I wanted was C++ development. I didn't see the need
for the VB, C# and Web stuff. Stupid Me...
_____________________________________________________
Mike Jackson mike.jackson at bluequartz.net
On Wed, Sep 9, 2009 at 3:01 PM, John Drescher <drescherjm at gmail.com> wrote:
> On Wed, Sep 9, 2009 at 2:52 PM, Mike Jackson
> <mike.jackson at bluequartz.net> wrote:
>> I tried the following:
>>
>> Open the "Visual Studio 2008 Command Prompt"
>> Navigate to my project.
>> CMake -G "Visual Studio 9 2008" ../
>>
>> and I get the error that says the C compiler can not compile a simple
>> test program. Looking at the error log it would seem that cl.exe isn't
>> on the path anywhere. I double checked by running vcvars.bat again but
>> nothing.
>>
>> Pretty sure I just did the standard install for VS 2008 Standard
>> Edition. This is on Windows 7 x64. Maybe I can't build 32 bit apps
>> with the standard edition?
>>
>> Dunno but I bet there is someone in CMake land who has hit this
>> problem and I am sure it is something simple that I am missing.
>>
>
> Did you run CMake from the 32 bit command prompt or the x64 one?
>
> John
>
More information about the CMake
mailing list