Hi all -- Is anyone using CMake to find a static-built OSG? If so, how are
you getting that to work?
When building static OSG, all the library names are prefixed with
osgsoversion. For example, with OSG v3.3.1, the so version is 111, so I
get libs named: osg111-osg.lib, osg111-osgDB.lib,
Setting OSG_MSVC_VERSIONED_DLL to OFF appears to fix this issue, and causes
the static .lib names to not contain the SO version. (After I rebuild with
this set to OFF, I'm guessing the stock CMake find scripts will find my
static-built OSG.)
Is that correct? The CMake variable clearly says DLL,
Robert, Chris, Rui -- Thank you all for the information. Very helpful.
-Paul
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Hi Paul,
On 7 March 2014 20:50, Paul Martz skewmat...@gmail.com wrote:
If OSG is linked statically, obviously I need to reference a plugin with
the USE_OSGPLUGIN macro.
Is there any way I can determine at compile time whether the OSG I'm
linking against was built as static or dynamic? I
I think what Paul was asking is, if you build and install OSG, is there any
state retained anywhere (in a #define in a config.h or something) that
indicates _if_ OSG itself WAS built with OSG_STATIC, and therefore if the
application needs to configure its own #if blocks to automatically
Hi Chris,
As far as I know, USE_OSGPLUGIN only calls a C-styled function through a
static proxy variable, which is defined by REGISTER_OSGPLUGIN in the plugin
source code body. So compiler can thus find and register the plugin while
static linking. It should do no harm to user applications no
If OSG is linked statically, obviously I need to reference a plugin with
the USE_OSGPLUGIN macro.
Is there any way I can determine at compile time whether the OSG I'm
linking against was built as static or dynamic? I want to use USE_OSGPLUGIN
if OSG was built static, and not use it otherwise,
HI Chris,
On Wed, Sep 14, 2011 at 11:02 PM, Chris 'Xenon' Hanson
xe...@alphapixel.com wrote:
Does there need to be a license amendment/exemption or something for the
examples?
The examples I've written don't use the OSGPL, rather just a simply note saying:
/* -*-c++-*- OpenSceneGraph -
Thanks for all these clarifications !
About the plugins : where can I find specific plugin license ?
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42786#42786
___
osg-users mailing list
On 9/15/2011 1:43 AM, Robert Osfield wrote:
HI Chris,
On Wed, Sep 14, 2011 at 11:02 PM, Chris 'Xenon' Hanson
xe...@alphapixel.com wrote:
Does there need to be a license amendment/exemption or something for the
examples?
The examples I've written don't use the OSGPL, rather just a simply
Hi,
This is a question about legal statement, not technical.
I'm working on a commercial project based on OSG.
I made a dynamic library 3dstuff.dll with all my 3D stuff, this DLL uses OSG.
Can I use static linking of OSG with my 3dstuff.dll to distribute only this
DLL with my executable file
Hi Albert,
You can statically link the OSG libraries as they are all OSGPL based,
a license which exists solely to enalbe you to embed or staically like
OSG. Some of the plugins aren't OSGPL based so you'll need to take
care with those, most are OSGPL though.
Robert.
On Wed, Sep 14, 2011 at
On 09/14/2011 01:36 PM, Aurelien Albert wrote:
Hi,
This is a question about legal statement, not technical.
I'm working on a commercial project based on OSG.
I made a dynamic library 3dstuff.dll with all my 3D stuff, this DLL uses OSG.
Can I use static linking of OSG with my 3dstuff.dll to
On 9/14/2011 12:08 PM, Jason Daly wrote:
This is provided that you don't copy any code into OpenSceneGraph or your own
code that is
licensed as LGPL or GPL-only (as stated in exception #3).
This raises an old, but still relevant side issue.
I imagine most people copy bits of working code
Hi Shubo,
Static build with the OSG is still very much on the bleeding edge. I
wrote the osgstaticviewer to help flesh how its possible to manually
register plugins to get around the name managling issue. I only have
linux here so I've personally only tested here, its likely to work
under other
hi,
It's a wired problem, the program crash, after a while on:
WoHouse_s.exe!free(void * pBlock=0x0103a970) line103 C
WoHouse_s.exe!std::allocatorstd::_Tree_nodstd::_Tmap_traitsint,osg::Vec3f,std::lessint,std::allocatorstd::pairint
const ,osg::Vec3f ,0
Hi,Guys
I am trying to staticly linking osg. When using dlls of dynamic linking,
my programm is all ok, but when i use static link , i find that my program can
not be closed normally, when app close, the process is still on in the process
monitor, after some time, the program crash on
17 matches
Mail list logo