OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

how can i static link to OSG


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum]
View previous topic :: View next topic  
Author Message
soar
Newbie


Joined: 10 Jun 2018
Posts: 1

PostPosted: Sun Jun 10, 2018 9:16 am    Post subject:
how can i static link to OSG
Reply with quote

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
Back to top
View user's profile Send private message
Voerman, L.
Guest





PostPosted: Mon Jun 11, 2018 8:04 am    Post subject:
how can i static link to OSG
Reply with quote

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 < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
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
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
Alberto Luaces
Guest





PostPosted: Mon Jun 11, 2018 8:05 am    Post subject:
how can i static link to OSG
Reply with quote

"lee xingshun" writes:

Quote:
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 ?

Hi, so link 2019 means "unresolved external symbol - function". Can you
please copy the names of the unresolved symbols the linker is missing?

--
Alberto



------------------
Post generated by Mail2Forum
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [forum] All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts GLES link error for unidentified Program a.terenzi General 7 Wed Jan 24, 2018 4:17 pm View latest post
No new posts Link error while build plugins gabriella seth General 3 Tue Jan 09, 2018 12:58 am View latest post
No new posts OpenSceneGraph static linking for And... tanshihaj Build system [build] 1 Thu Sep 21, 2017 12:56 pm View latest post
No new posts Broken link arennuit General 2 Mon Aug 14, 2017 10:10 am View latest post
No new posts OpenSceneGraph static linking for And... tanshihaj Build system [build] 1 Sun Aug 13, 2017 10:09 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP