[osg-submissions] OSG 2.1.5 fixed for MINGW

Antoine Hue antoinehue at ifrance.com
Sun Aug 19 08:00:01 PDT 2007


Hello,

I have been compiling OSG 2.1.5 on MINGW and found several issues and 
bugs. Some of them may be outdatted now.

- 1- osgShadow uint
osgShadow has an undefined type "uint". I have typedefed GLuint to uint 
to work this around.

- 2- osgPlugins/txp compiling
TXP plugin is not compiling (nor on OSG 2.0.0). The issue is coming from 
a missing "-I." argument to gcc. I do not get it why is works under Linux.
Anyway, root issue is that includes are not correctly written: all use 
<> includes even for local files. I have fixed this since I could not 
fix the compiler command (thanks sed) : attached but untested (only 
compiling and linking).

-3- osgDB/Registry.cpp looking for libosgPlugins-2.1.5/osgdb_xxx.dll

osgDB/Registry.cpp has a bug when looking for a std plugin: lib prefix 
is inserted before osgplugins/ : attached.

-4- Plugins install

Plugins install is wrong: they are copied to the bin directory instead 
of bin/osgPlugins-2.1.5.

No fix provided (manual fix on my machine).


I have compiled VirtualPlanetBuilder-0.9.1 sucessfully and it works fine.

Antoine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgDB_Registry.tgz
Type: application/x-compressed-tar
Size: 11137 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070819/d0f4074c/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osgPlugins_txp.tgz
Type: application/x-compressed-tar
Size: 171640 bytes
Desc: not available
Url : http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070819/d0f4074c/attachment-0003.bin 


More information about the osg-submissions mailing list