[osg-users] [build] x64 vs x86

Dave Sargrad davidsargrad at hotmail.com
Sun Jun 5 05:28:10 PDT 2016


Hi,
I've been using OSG for a while now. I've never revisited the problem I had getting cmake to recognize that I have a 64 bit windows platform. So I've always been building/compiling using the x86 3rd party dependencies.

I've tried the obvious things like configuring the following cmake options to the x64 variants:
CMAKE_EXE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS

By default these options are set to /Machine:X86.

Yet of course when I configure the project I see the following:


> 32 bit architecture detected


The full CMAKE configuration that I am using may be seen here.
https://drive.google.com/open?id=0BzUf-8Ad-iIkVFZVd01BZFNkcUk

I'm using Visual Studio 2013 in a standard configuration. I'd think that its easy to get OSG to build for 64 bit. I'm clearly missing something very simple.

Can someone please point me to information that might help.


Thank you!

Cheers,
Dave[/quote]

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67416#67416








More information about the osg-users mailing list