Hi Martin,
As far as I know is more a gcc + cmake "problem" that OSG problem
itself. What I do when I want build with cmake and 32 bits in my 64
bits box is:
$ cd osg-svn
$ mkdir build
$ cd build
$ export CFLAGS=-m32
$ export CXXFLAGS=-m32
$ cmake .. -D (whatever you need here)
If you alread
"Martin Haffner" writes:
> Hi,
>
> Unfortunately there is no file flags.make in my OpenSceneGraph folder:/
Not in the OSG source folder, but in your build folder. Anyway, just
compile with the VERBOSE environment variable to see how it is going.
--
Alberto
_
Hi,
Unfortunately there is no file flags.make in my OpenSceneGraph folder:/
Thank you!
Cheers,
Martin
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39088#39088
___
osg-users mailing list
osg-users
"Martin Haffner" writes:
> Hi,
>
> Ok, I modified the CMAKE_CXX_FLAGS line in CMakeCache.txt to this line:
> CMAKE_CXX_FLAGS:STRING=-m32
>
> Then I call CMake and it also generates a Makefile. I searched in the whole
> Makefile but there is no m32 flag! Did I miss something?
It seems cmake bundl
Hi,
Ok, I modified the CMAKE_CXX_FLAGS line in CMakeCache.txt to this line:
CMAKE_CXX_FLAGS:STRING=-m32
Then I call CMake and it also generates a Makefile. I searched in the whole
Makefile but there is no m32 flag! Did I miss something?
Thank you!
Cheers,
Martin
--
Read this t
Hi, Martin
You can add -m32 manually to CXX_FLAGS in CMakeCache or with ccmake
Cheers,
Sergey.
05.05.2011, 18:28, "Martin Haffner" :
> Hi,
>
> Well, and how do I tell CMake to generate a makefile that uses the -m32 flag?
>
> Thank you!
>
> Cheers,
> Martin
>
> --
> Read this topi
Hi,
Well, and how do I tell CMake to generate a makefile that uses the -m32 flag?
Thank you!
Cheers,
Martin
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39036#39036
___
osg-users mailing list
osg
"Martin Haffner" writes:
> I know you can force the compiler to create 32 bit binaries per flag -m32 but
> I don't know how to tell osg to compile into 32 Bit.
That's it! But please note that you also need the 32 bit version of the
libraries used as a dependency for OSG.
--
Alberto
__
Hi,
I have a 64 Bit Linux (OpenSuse) and want to compile osg to 32 Bit
executables/libraries.
It seems like if I run the standard installation I only get 64 Bit executables
and shared objects.
I know you can force the compiler to create 32 bit binaries per flag -m32 but I
don't know how to tell
9 matches
Mail list logo