Hi Andy,

I believe you're correct in your analysis, but I don't know why you're
seeing that architecture inconsistency.  For me OSG 2.0 builds without
error for both x86 and x64 when I run both CMake and the build on 64 bit
Windows, and it didn't require any special configuration beyond
selecting the appropriate architecture in CMake.  I build the INSTALL
target from the command line with devenv.com.

Did you by any chance open the dsw or dsp in the win32 directory and
cause the CMake-generated vcproj file to be overwritten?

You may want to give the out-of-source build a try and see if that makes
a difference.

-Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Andy Skinner
> Sent: Friday, July 13, 2007 8:22 AM
> To: osg users
> Subject: RE: [osg-users] building on windows 64
> 
> I mean that I wonder whether the arguments going to the compilation of
> OpenThreads C++ files are built for one architecture (64 bits) and the
> link of the OpenThreads library for another (32).  I'm guessing, to be
> honest, but it is my attempt at explaining the error:
> ----
> .\openthreads.dir\release\WIN32Condition.obj : fatal error LNK1112:
> module machine type 'x64' conflicts with target machine type 'X86'
> ----
> during the link.
> 
> 
> Did my attachment come through, showing all the arguments?  If someone
> windows-friendly could take a look at it, I'd appreciate it.
> 
> I've built on win64 in the past.  I ran cmake on my 32-bit box, then
> built in visual studio on the win64 box.  This time, I've got it
hooked
> into our build system, and I'm running cmake and the actual build (not
> from visual studio) on win64.  I think it is probably something I can
> configure, but think I need input from someone with more windows _and_
> building OSG experience than I have.
> 
> thanks
> andy
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert
> Osfield
> Sent: Friday, July 13, 2007 9:08 AM
> To: osg users
> Subject: Re: [osg-users] building on windows 64
> 
> On 7/13/07, Andy Skinner <[EMAIL PROTECTED]> wrote:
> > Yes, my OpenThreads is inside OpenSceneGraph/src.
> >
> > Could someone explain to me the win32 subdirectory in OpenThreads?
Is
> > that supposed to work with Windows 64?
> 
> Yes.  Many win32 API's are still applicable to 64 bit build.
> 
> Others have reported success on building the OSG on 64 windows so I
> don't believe there is any major issue.
> 
> > Maybe my problem is just that the compile is using one machine
> > architecture, and the link is using another.
> 
> When you say link, you mean you app that links to the OSG is built on
> a machine with another architecture?
> 
> Robert.
> _______________________________________________
> 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/

Mike Wittman
[EMAIL PROTECTED]
___________________________________________________
Seismic Micro-Technology, Inc.
8584 Katy Freeway, Suite 400 / Houston, Texas 77024
Tel.  +1 (713) 464-6188
Fax. +1 (713) 464-6440
Web:  www.seismicmicro.com
___________________________________________________
Seismic through Simulation with KINGDOM, (RC)2, and SURE! - CONTACT US
TODAY for more information.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to