This problem has been resolved with the kind assistance of Bill Hoffman of 
Kitware.
 
THe problem of compiling/linking a mixed version of 64/32 bit binaries was 
caused by my VS containing some 64 bit paths in the 32 bit configuration mode. 
These paths can be examined using Tools-> Options -> Proj & Sols ->  VC++ dirs
 
The faulty  64 paths were :
 
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\BIN\amd64
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727
 
While I'm not an authority on this I can only assume that the correct paths 
should be :
 
 
 
C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\x86_amd64
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
 
 
I have no idea how these paths were registered in 32 bit mode in VS - these are 
not paths that I would deal with directly, or even know about in the first 
place. I'm providing explanation in case others in the future encounter a 
similar problem. 
 
Cheers, 
 
Anders.
 

From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Wed, 3 Sep 2008 08:10:32 
+0000Subject: [CMake] cmake 2.6 insists on using MSVC x64 even when in 32 bit 
shell


 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 ManagerGeocapw: +47 22 95 56 66
[EMAIL PROTECTED]
 

Windows Live Messenger på mobilen. Hold kontakten hvor som helst når som helst. 
_________________________________________________________________
Hold kontakten med Windows Live Messenger.
http://clk.atdmt.com/GBL/go/msnnkdre0010000003gbl/direct/01/
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to