Re: [osg-users] Link error while build plugins
Hi, thanks! OSG is 3.4.0 The 3rd party packages i'm using is "Full package for 64 bit https://download.osgvisual.org/3rdParty_VS2013.5_v120_x64_V10_full.7z - Last Update: V10 on 2016/10/22" There are gdal.lib and gdal_i.lib in 3rd party "lib" directory, and i change the value of GDAL_LIBRARY as gdal_i.lib solve that link problem. Again, the nvtt plugin also has link problem: [cid:832e9fa6-79eb-4bf6-be34-413161d17af1] From: osg-users <osg-users-boun...@lists.openscenegraph.org> on behalf of Trajce Nikolov NICK <trajce.nikolov.n...@gmail.com> Sent: Thursday, January 11, 2018 3:44 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Link error while build plugins Hi, I think you should link against gdal_i.lib as I can recall. There are two gdal libs in some of the 3rd party packages On Thu, Jan 11, 2018 at 12:46 PM, Julien Valentin <julienvalenti...@gmail.com<mailto:julienvalenti...@gmail.com>> wrote: Hi, You seams to have problem building gdal plugin... Which version of osg are you building? What 3rdParty package do you use? (if you're using min depends package perhaps it lacks some libs...) Cheers gabriella seth wrote: > Hi every: > > > There are some link error while build the plugins: > > It somelike Microsoft ODBC, my system is win10 64bit/msvc 2013. > What should i do? > > > Jieqian > 2018/1/8 > > -- > Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72727#72727 ___ osg-users mailing list osg-users@lists.openscenegraph.org<mailto:osg-users@lists.openscenegraph.org> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error while build plugins
Hi, I think you should link against gdal_i.lib as I can recall. There are two gdal libs in some of the 3rd party packages On Thu, Jan 11, 2018 at 12:46 PM, Julien Valentin < julienvalenti...@gmail.com> wrote: > Hi, > You seams to have problem building gdal plugin... > Which version of osg are you building? > What 3rdParty package do you use? > (if you're using min depends package perhaps it lacks some libs...) > Cheers > > > gabriella seth wrote: > > Hi every: > > > > > > There are some link error while build the plugins: > > > > It somelike Microsoft ODBC, my system is win10 64bit/msvc 2013. > > What should i do? > > > > > > Jieqian > > 2018/1/8 > > > > -- > > Post generated by Mail2Forum > > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=72727#72727 > > > > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error while build plugins
Hi, You seams to have problem building gdal plugin... Which version of osg are you building? What 3rdParty package do you use? (if you're using min depends package perhaps it lacks some libs...) Cheers gabriella seth wrote: > Hi every: > > > There are some link error while build the plugins: > > It somelike Microsoft ODBC, my system is win10 64bit/msvc 2013. > What should i do? > > > Jieqian > 2018/1/8 > > -- > Post generated by Mail2Forum -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72727#72727 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Link error while build plugins
Hi every: There are some link error while build the plugins: [cid:d49b6d2b-1fb4-440f-ba0f-913abdad81de] It somelike Microsoft ODBC, my system is win10 64bit/msvc 2013. What should i do? Jieqian 2018/1/8 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error with osgDB and ITK
Hi, Specify the lib fie in Linker options of project settings. ... Thank you! Cheers, Ashis -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52384#52384 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Link error with osgDB and ITK
Hi, I'm experiencing link errors while trying to build an application with both ITK and OSG. I have compiled both libs in shared mod, with vs2012. Error example : ITKMetaIO-4.0.lib(metaObject.obj) : error LNK2005: public: __thiscall std::basic_ifstreamchar,struct std::char_traitschar ::basic_ifstreamchar,struct std::char_traitschar (void) (??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@XZ) already defined in osgDB.lib(osg92-osgDB.dll) Any help ? Thank you ! (note that I have the same kind of errors if i try to compile the OSG DICOM Plugin) Cheers! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52357#52357 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error for osgdb_ive plugin on Mac OS x 10.5
alessandro terenzi schrieb: I'm trying to build OSG 2.6.1 on Mac OS X 10.5 but I get a link error when building osgdb_ive plugin. The error is shown in the attached screen capture. Every other plugins build successfully. I missed the release of 2.6.1, so the xcode-project is outdated for this version. (Current svn should compile, though) The problem is, that some new ive-files are not part of the project, You can try to add the missing files to the ive-plugin, and try a recompile. I'll try to submit a fixed XCode-project the next days. cheers, Stephan ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error when i compile my project int debug model(VC2005)!
Hi, maybe you’re linking the wrong version of dll according to the CRT error, what version of osg dlls are you using? Did you compile it yourself or download it directly from the osg website? And what’s your programming environment? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of 小 杨 Sent: Saturday, January 05, 2008 10:16 AM To: OpenSceneGraph Users Subject: [osg-users] 回复: Re: Link error when i compile my project int debug model(VC2005)! Percy Camilo Trive�o Aucahuasi [EMAIL PROTECTED] 写道: My release edition is ok!,dlls is dynamic link lib ,they do not need link,when program is running,it whill seach dlls,You only set vc project options --VC Directories --Executable files! Hello, seem like you forget to link against osg dlls. 2008/1/4, 小 杨 [EMAIL PROTECTED]: Hi all. When i compile my project in debug model (VC2005) LINK : warning LNK4076: invalid incremental status file './bin/osgolymd.ilk'; linking nonincrementally 1osgolym.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function public: class osg::Vec3f __thiscall std::vectorclass osg::Vec3f,class std::allocatorclass osg::Vec3f ::operator[](unsigned int) (??A?$vector@ [EMAIL PROTECTED]@@[EMAIL PROTECTED]@osg@@@std@@@std@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) 1./bin/osgolymd.exe : fatal error LNK1120: 1 unresolved externals Thanks in advance, _ http://cn.mail.yahoo.com/gc/index.html?entry=5souce=mail_mailletter_taglin e 雅虎邮箱传递新年祝福,个性贺卡送亲朋! ___ 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 _ http://cn.mail.yahoo.com/gc/index.html?entry=5souce=mail_mailletter_taglin e 雅虎邮箱传递新年祝福,个性贺卡送亲朋! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Link error when i compile my project int debug model(VC2005)!
Hi all. When i compile my project in debug model (VC2005) LINK : warning LNK4076: invalid incremental status file './bin/osgolymd.ilk'; linking nonincrementally 1osgolym.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function public: class osg::Vec3f __thiscall std::vectorclass osg::Vec3f,class std::allocatorclass osg::Vec3f ::operator[](unsigned int) ([EMAIL PROTECTED]@osg@@[EMAIL PROTECTED]@osg@@@std@@@std@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) 1./bin/osgolymd.exe : fatal error LNK1120: 1 unresolved externals Thanks in advance, - 雅虎邮箱传递新年祝福,个性贺卡送亲朋! ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error when i compile my project int debug model(VC2005)!
Hello, seem like you forget to link against osg dlls. 2008/1/4, 小 杨 [EMAIL PROTECTED]: Hi all. When i compile my project in debug model (VC2005) LINK : warning LNK4076: invalid incremental status file './bin/osgolymd.ilk'; linking nonincrementally 1osgolym.obj : error LNK2019: unresolved external symbol __imp___CrtDbgReportW referenced in function public: class osg::Vec3f __thiscall std::vectorclass osg::Vec3f,class std::allocatorclass osg::Vec3f ::operator[](unsigned int) ([EMAIL PROTECTED]@osg@@ [EMAIL PROTECTED]@osg@@@std@@@std@@[EMAIL PROTECTED]@@[EMAIL PROTECTED]) 1./bin/osgolymd.exe : fatal error LNK1120: 1 unresolved externals Thanks in advance, -- 雅虎邮箱传递新年祝福,个性贺卡送亲朋!http://cn.mail.yahoo.com/gc/index.html?entry=5souce=mail_mailletter_tagline ___ 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
[osg-users] Link error
Current svn doesnt build due to that osgIntrospection is missing a reference to osgGetVersion() defined in osg.lib. Either something has changed in osgIntrospection causing this, or a setting in the CMakeLists.txt has disappeared. Therefore the CMakeLists.txt for osgIntrospection should have the additional line: LINK_INTERNAL(${LIB_NAME} OpenThreads osg ) /Anders -- Anders Backman Email:[EMAIL PROTECTED] HPC2N/VRlab Phone:+46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Link error
Hi Anders, Thanks for the note, now add the osg lib and checked into SVN. On 9/6/07, Anders Backman [EMAIL PROTECTED] wrote: Current svn doesnt build due to that osgIntrospection is missing a reference to osgGetVersion() defined in osg.lib. Either something has changed in osgIntrospection causing this, or a setting in the CMakeLists.txt has disappeared. Therefore the CMakeLists.txt for osgIntrospection should have the additional line: LINK_INTERNAL(${LIB_NAME} OpenThreads osg ) /Anders -- Anders Backman Email:[EMAIL PROTECTED] HPC2N/VRlab Phone:+46 (0)90-786 9936 Umea university Cellular: +46 (0)70-392 64 67 S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 http://www.cs.umu.se/~andersb ___ 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
Re: [osg-users] Link error
ok 2007/9/6, Robert Osfield [EMAIL PROTECTED]: On 9/6/07, David Callu [EMAIL PROTECTED] wrote: Hi Anders, Hi Robert, I introduce the getOsgVertion in osgIntrospection and forgotten to link with osg, Sorry for that. But osgIntrospection is totally independant to osg. Could be interesting to reimplement the getOsgVersion function in osgIntrospection to keep this independence. In theory one could use osgIntrospection separately from the OSG, but in practice its role is in support of the OSG so I don't see a big problem in have a link in there. If we need to refactor things in the future to get the full independence then we can cross the bridge of making the version number independent as well, its pretty trivial, but right now its certainly more practical to keep the versioning based on the core OSG one. Robert. ___ 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
Re: [osg-users] Link error with current VPB
Hi Paul, It sounds like your vpbtest app isn't linking to osgTerrain as it should be. The CMakeList. I've just done a make VERBOSE=1 on my system and its correctly linking to osgTerrain. Could it be that you haven't installed the OSG and VPB is picking up on an older version? I think 2.1.6 should be fine, but perhaps just do an update to the latest. Robert. On 8/25/07, Paul Martz [EMAIL PROTECTED] wrote: Hi Robert -- I'm trying to build (svn head) VPB and link against OSG v2.1.6. When linking the vpbtest application, I get the link errors below. Note that this is only a Debug build, Release links fine. -Paul (Summary of undefined symbols, with name mangling removed:) CompositeLayer::getFileName CompositeLayer::getNumLayers Terrain::getColorLayer Terrain::getNumColorLayers Terrain::getElevationLayer 1-- Build started: Project: Applications vpbtest, Configuration: Debug Win32 -- 1Linking... 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar const __thiscall osgTerrain::CompositeLayer::getFileName(unsigned int)const ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: unsigned int __thiscall osgTerrain::CompositeLayer::getNumLayers(void)const ([EMAIL PROTECTED]@osgTerrain@@QBEIXZ) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: class osgTerrain::Layer * __thiscall osgTerrain::Terrain::getColorLayer(unsigned int) ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: unsigned int __thiscall osgTerrain::Terrain::getNumColorLayers(void)const ([EMAIL PROTECTED]@osgTerrain@@QBEIXZ) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: class osgTerrain::Layer * __thiscall osgTerrain::Terrain::getElevationLayer(void) ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@XZ) referenced in function _main 1F:\OSGDev\VPB\build\bin\Debug\vpbtestd.exe : fatal error LNK1120: 5 unresolved externals Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com 303 859 9466 ___ 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
Re: [osg-users] Link error with current VPB
Hm. Yes, uh, user error, as they say. :-) Looks like the last time I built OSG, I built Release only, not Debug, so I was picking up old Debug libs. Sorry for the bother. -Paul Hi Paul, It sounds like your vpbtest app isn't linking to osgTerrain as it should be. The CMakeList. I've just done a make VERBOSE=1 on my system and its correctly linking to osgTerrain. Could it be that you haven't installed the OSG and VPB is picking up on an older version? I think 2.1.6 should be fine, but perhaps just do an update to the latest. Robert. On 8/25/07, Paul Martz [EMAIL PROTECTED] wrote: Hi Robert -- I'm trying to build (svn head) VPB and link against OSG v2.1.6. When linking the vpbtest application, I get the link errors below. Note that this is only a Debug build, Release links fine. -Paul (Summary of undefined symbols, with name mangling removed:) CompositeLayer::getFileName CompositeLayer::getNumLayers Terrain::getColorLayer Terrain::getNumColorLayers Terrain::getElevationLayer 1-- Build started: Project: Applications vpbtest, Configuration: 1Debug Win32 -- 1Linking... 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: class std::basic_stringchar,struct std::char_traitschar,class std::allocatorchar const __thiscall osgTerrain::CompositeLayer::getFileName(unsigned int)const ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED] [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: unsigned int __thiscall osgTerrain::CompositeLayer::getNumLayers(void)const ([EMAIL PROTECTED]@osgTerrain@@QBEIXZ) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: class osgTerrain::Layer * __thiscall osgTerrain::Terrain::getColorLayer(unsigned int) ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: unsigned int __thiscall osgTerrain::Terrain::getNumColorLayers(void)const ([EMAIL PROTECTED]@osgTerrain@@QBEIXZ) referenced in function _main 1vpbtest.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: class osgTerrain::Layer * __thiscall osgTerrain::Terrain::getElevationLayer(void) ([EMAIL PROTECTED]@osgTerrain@@[EMAIL PROTECTED]@XZ) referenced in function _main 1F:\OSGDev\VPB\build\bin\Debug\vpbtestd.exe : fatal error LNK1120: 5 unresolved externals Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com 303 859 9466 ___ 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-opensce negraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org