Hi Lee, you will need to link to the static libraries, and there will be quite a few. something like: OpenThreads.lib;osg.lib;osgDB.lib;osgUtil.lib;osgText.lib;osgViewer.lib;osgGA.lib;osgdb_ive.lib;osgdb_osg.lib;osgdb_deprecated_osg.lib;osgdb_deprecated_osgparticle.lib;osgdb_deprecated_osganimation.lib;osgdb_deprecated_osgfx.lib;osgdb_deprecated_osgsim.lib;osgdb_deprecated_osgtext.lib;osgdb_deprecated_osgviewer.lib;osgdb_deprecated_osgshadow.lib;osgdb_deprecated_osgterrain.lib;osgdb_deprecated_osgvolume.lib;osgdb_deprecated_osgwidget.lib;osgdb_serializers_osg.lib;osgdb_serializers_osgparticle.lib;osgdb_serializers_osgtext.lib;osgdb_serializers_osgterrain.lib;osgdb_serializers_osganimation.lib;osgdb_serializers_osgfx.lib;osgdb_serializers_osgshadow.lib;osgdb_serializers_osgmanipulator.lib;osgdb_serializers_osgsim.lib;osgdb_serializers_osgvolume.lib
could resolve your linking errors. Laurens. On Sun, Jun 10, 2018 at 11:16 AM, lee xingshun <ecsuper...@163.com> wrote: > Hi, > > while i using staic link libarary to write a demo,i found many error link > 2019 > this is my code ,have anybody know? do i need link the lib file or not ? > > code:from website using static libarary osg > > Thank you! > > Cheers, > lee > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=74019#74019 > > > > > Attachments: > http://forum.openscenegraph.org//files/win32project1_147.cpp > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org