[CMake] cmake 2.6 insists on using MSVC x64 even when in 32 bit shell

David Cole david.cole at kitware.com
Wed Sep 3 06:38:00 EDT 2008


What CMake generator are you using?


On Wed, Sep 3, 2008 at 4:10 AM, Anders Moe <anders.moe at geocap.no> wrote:

>
>
> Hi all
>
> I'm trying to compile a 32 bit version of VTK using the 32 bit MSVC 2005
> command shell. Note that I'm running XP64.
>
> This works fine for Qt, but cmake gives an error during the "simpel test
> program compile" where it appears that the test solution *.sln is setup for
> x64, since the error says
>
> "module machine type x64 conflicts with machine type 32"
>
>
> Seems as if cmake is  overly zealous  in detecting the x64 setup even when
> it shouldn't. Does anyone know how to force it into 32 bit mode ? Thanks,
>
> I saw someone else having a similar problem here, but the other way around
> (32 bit in 64 mode)
>
> Anders.
>
> ________________________________________________________
>
> *Anders Moe*
>
> *Software Integration Manager
> **Geocap**
> *w: +47 22 95 56 66
>
> *anders.moe**@geocap.no* <anders.moe at geocap.no>
> ________________________________________________________
>
>
>
>
> ------------------------------
> Windows Live Messenger på mobilen. Hold kontakten hvor som helst når som
> helst.<http://windowslivemobile.msn.com/Homepage.aspx?lang=nb-no&ocid=30032>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080903/7857301e/attachment.htm>


More information about the CMake mailing list