Scott,

 

I think you'll need to change the Intermediate Directory setting for all the projects you plan to build, such that it is unique for all four combinations of x64/Win32 and Debug/Release.  The reason you're getting the error is because the same directory is being shared for both x64 and Win32 object files.  Since you've already built for Win32, the x64 compiler sees that the object files are newer than the source and won't bother to compile the source files for x64.  Then the x64 linker tries to link x86 object files and gives the error you encountered.

 

Alternately you can cross your fingers and do a clean on all the projects of interest, then do an x64 build on everything.  *In theory* that should work, but any straggler x86 files will cause it to fail and it may be a pain to track down the source of the problem.

 

-Mike

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott
Sent: Monday, August 14, 2006 4:59 PM
To: osg users
Subject: Re: [osg-users] OSG 64-bit on Windows under VS2005

 

Mike,

I'm actually trying to get 1.0 building in x64, sorry, I forgot to specify which version.  The problem is that I'm trying not to break any backward-compatibility with the 32-bit build of my software (which consequently uses the 32-bit build of OSG.)  Is there any help you can provide me with that?

Thanks,

-Scott

On 8/14/06, Mike Wittman <[EMAIL PROTECTED]> wrote:

Hi Scott,

 

I just submitted changes to the .dsp files to support building for x64 under VS 2005.  If you get 1.1.1-rc1 and follow the instructions in the OpenSceneGraph/VisualStudio/MUST_READ_ME.txt file, you should be able to do both Win32 and x64 builds.

 

Let me know if you run into any problems.

 

-Mike

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Scott
Sent: Monday, August 14, 2006 4:44 PM
To: osg-users@openscenegraph.net
Subject: [osg-users] OSG 64-bit on Windows under VS2005

 

I am attempting to build OpenSceneGraph for x64 under VS2005, but when I attempt to compile the x64 platform configuration, I get:

fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'

For every project.  Has anybody successfully built OSG for x64 Windows using VS2005?


_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

 

_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to