Discussion:
[osg-users] How to configure CMake to compile X64 OSG
Glen
2014-10-29 02:48:03 UTC
Permalink
Hello Guru,
My question is as the title say. I didn’t find any resource to describe the steps.

Best regards.

Glen
Sebastian Messerschmidt
2014-10-29 07:53:18 UTC
Permalink
Hi Glen,
Post by Glen
Hello Guru,
Sorry I'm atheist, not Hindu ;-)
Post by Glen
My question is as the title say. I didn’t find any resource to describe the steps.
Which platform? Using CMake this should be trivial. Simply use the
correct compiler target and make sure you're linking the 64bit 3rd party
dependencies.
Works like a charm on windows.

Cheers
Sebastian
Post by Glen
Best regards.
Glen
_______________________________________________
osg-users mailing list
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Glen
2014-10-29 08:21:41 UTC
Permalink
Hello Sebastian,
My development environment: Windows 8.1 , Visual Studio 2012, OSG 3.2.1
Do you mean that I set compiler target X64 in Visual Studio instead of using CMake?

Cheers

Glen

Hi Glen,
Post by Glen
Hello Guru,
Sorry I'm atheist, not Hindu ;-)
Post by Glen
My question is as the title say. I didn’t find any resource to describe the steps.
Which platform? Using CMake this should be trivial. Simply use the correct compiler target and make sure you're linking the 64bit 3rd party dependencies.
Works like a charm on windows.

Cheers
Sebastian
Sebastian Messerschmidt
2014-10-29 08:40:46 UTC
Permalink
Hi Glen,
Post by Glen
Hello Sebastian,
My development environment: Windows 8.1 , Visual Studio 2012, OSG 3.2.1
Do you mean that I set compiler target X64 in Visual Studio instead of using CMake?
No, simply set the desired compiler/generator when creating the solution
via CMake. (When using the CMake GUI this is asked in a modal dialog
when starting with a new CMake-Project)
If you are not familiar with CMake, please consider checking their
documentation on the topic, as this is not specific to OSG.

Cheers
Sebastian
Post by Glen
Cheers
Glen
Hi Glen,
Post by Glen
Hello Guru,
Sorry I'm atheist, not Hindu ;-)
Post by Glen
My question is as the title say. I didn’t find any resource to describe the steps.
Which platform? Using CMake this should be trivial. Simply use the correct compiler target and make sure you're linking the 64bit 3rd party dependencies.
Works like a charm on windows.
Cheers
Sebastian
_______________________________________________
osg-users mailing list
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Glen
2014-10-30 07:21:15 UTC
Permalink
Hello Sebastian,
To compile X64 OSG, I found an important step to notice is that after click "configure" button in CMake and select the option of Visual Studio 2012 64, then CMake configure setting for X64 compiling.

Hello Sebastian,
My development environment: Windows 8.1 , Visual Studio 2012, OSG 3.2.1 Do you mean that I set compiler target X64 in Visual Studio instead of using CMake?

Cheers

Glen

Hi Glen,
Post by Glen
Hello Guru,
Sorry I'm atheist, not Hindu ;-)
Post by Glen
My question is as the title say. I didn’t find any resource to describe the steps.
Which platform? Using CMake this should be trivial. Simply use the correct compiler target and make sure you're linking the 64bit 3rd party dependencies.
Works like a charm on windows.

Cheers
Sebastian

Loading...