[osg-users] [build] x64 vs x86

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Sun Jun 5 05:26:00 PDT 2016


Hi Dave,

Usually you simply have to choose the correct compiler (If you use the 
CMakeGUI you need to check the "Visual Studio 12 2013 Win64").
Also you'll need to use the correct 64bit-3rd-party libraries.
That should be all, the rest is taken care of by CMake.

Cheers
Sebastian
> 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
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




More information about the osg-users mailing list