Hey Mark,

 

The plugin libraries employ run-time linking and are loaded by the osgdb
Registry when they are used, not at application startup.  The other
libraries that you see with the d.dll have associated .lib files for
load-time linking, making them easier to build against since you won't
need to worry about entry points and the use of LoadLibrary.

 

A while back I saw a document on openscenegraph.net that details the
work needed to link the osgdb plugins statically, but I can't remember
it.  If you want to see the explanation for why some dlls come with .lib
files, the MSDN actually has a useful blurb.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc
/base/dynamic_link_libraries.asp

 

Chase

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark W
Sent: Wednesday, April 18, 2007 2:11 PM
To: [EMAIL PROTECTED]
Subject: [osg-users] Can't build osgdb_pngd.lib from source

 

Hey all,
I'm attempting to build the osgdb_pngd.lib file from the osgPlugin png
project.  I'm working in visual c++ 2005 express edition (vc++ 8.0
basically).  I'm compiling the project in debug settings.  If I compile
in static debug it will output osgdb_pngd_s.lib, but it does not output
a .lib for any of the other build settings.  The .dll's are also built
normally.  I'm guessing this might be a VC++ 8.0 question more than
anything else...

Can anyone tell me what might be going on?

Thanks

-Mark

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

Reply via email to