I'm sure I did this (built OSG on Windows 64 bit) before.  I think I
used CMake on my 32-bit machine and then brought the solution into
visual studio and build on a 64-bit machine.

But now I'm having a problem as I try to build the whole thing on
Windows 64.  OpenThreads seems to be built for 32 bits.

I'm getting an error:
\openthreads.dir\release\WIN32Condition.obj : fatal error LNK1112:
module machine type 'x64' conflicts with target machine type 'X86'

The fact that I'm building in this win32 directory itself makes me
nervous.  Should there be a 64-bit equivalent?

The link command has an option /MACHINE:I386.  That seems to be in dsp
files in the downloaded source for OpenThreads, so it isn't set by the
CMake options.

I don't know if I'm going down a minor wrong turn (I need to specify a
flag somewhere) or a big one (I'm not building the right part of
OpenThreads, and the right one doesn't exist).

Anybody recognize my problem?

Thanks,

andy

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

Reply via email to