<div dir="ltr">Hi Lee,<div>you will need to link to the static libraries, and there will be quite a few.</div><div>something like:</div><div>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</div><div><br></div><div>could resolve your linking errors.</div><div>Laurens.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jun 10, 2018 at 11:16 AM, lee xingshun <span dir="ltr"><<a href="mailto:ecsuperpay@163.com" target="_blank">ecsuperpay@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
while i using staic link libarary to write a demo,i found many error link 2019<br>
this is my code ,have anybody know? do i need link the lib file or not ?<br>
<br>
code:from website using static libarary osg<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
lee<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=74019#74019" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=74019#<wbr>74019</a><br>
<br>
<br>
<br>
<br>
Attachments: <br>
<a href="http://forum.openscenegraph.org//files/win32project1_147.cpp" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org//files/win32project1_147.<wbr>cpp</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>