On Wed, May 13, 2009 at 11:25 PM, Wyatt Earp <wyattbsearp1...@gmail.com> wrote:
> I am writing my own make files for my osg app... when I link to GL, or GLUT,
> I use -lGL or -lGLUT... what is the equivalent for osg libraries?  Would it
> be something like -losgViewer for libosgViewer.so?
>
> W.E.
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>

Hi Wyatt,

yes, it's -losg. For debug versions of OSG libraries, you can append
"d" to library name; e.g. -losgd. Note that linking only with osg may
not be enough; you may need to link with OpenThreads and other osg
libraries as well (e.g. -losgViewer).

Ismail
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to