Hello !

I'm trying to build this release of OSG on linux this time.

First thing noticable: the plugins are still built as shared libraries (in
mode OPENSCENEGRAPH_DYNAMIC=OFF)... is this normal ??

I've got a question any way: On windows, when I was trying to use .dll for
the plugins mixed with static core libraries it didn't work: I'm not un
expert, but I guess this could have something to do with static objects in
osgDB.lib existing in two places (the application and the plugin) and not
being shared as one would expect (please tell me if this explanation is
totally wrong :-) ). So I came to the conclusion that everything must be
shared or static... is this still true under linux with gcc ???

if it is, then it means we have to build static plugin libs and then to
force the compiler to include the needed symbols again... (correct me if I'm
wrong but I think that current gcc versions (4.1 at least...) perform
function level linking by default). Does anyone know how to retrieve the
symbol list from the librairy ? (ie: what is the corresponding command for
MS "dumpbin.exe" ? :-))

still if my previous assumption is true for linux, could someone just tell
me what should be changed in order to built static plugin libs in the Cmake
files ?

Now, if this assumption is wrong, it would mean that I should expect this
current compilation (static core libs + shared plugin libs) to work just
fine ?

regards,

Manu.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to