Re: [osg-users] [osgPlugins] libjasper with jpeg decoder for jp2 plugin
Hi, Thank you all. I actually found it shortly after posting the question, but have been busy trying to test it. So far, it appears that either it is not loading or else it ignores geo-registration. Thank you! Cheers, Thomas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47364#47364 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] libjasper with jpeg decoder for jp2 plugin
> > I am trying to get JasPer to work with osg so I can have the jp2 plugin. I > have tried the standard distribution from their website and the modified > files in this thread. I am getting the following linker errors (I am only > showing the errors from release mode, debug is similar but not the same) > preventing me from building the plugin. It appears to be a conflict with > what both are linked with. Before I spend too much time, I figured I would > post in hopes of someone with an answer. Any help is greatly appreciated. > LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter_noinfo > already defined in MSVCRT.lib(MSVCR90.dll) > > You are mixing DLL-runtime and non-DLL-runtime binaries, which is a no-no. Here is a description of the problem: http://social.msdn.microsoft.com/Forums/en/vclanguage/thread/5a82362c-2710-4df5-af0d-7b451322d530 You will probably need to change the Jasper build settings to match OSG's. -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training • Consulting • Contracting 3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 • GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL Digital Imaging • GIS • GPS • Telemetry • Cryptography • Digital Audio • LIDAR • Kinect • Embedded • Mobile • iPhone/iPad/iOS • Android ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [osgPlugins] libjasper with jpeg decoder for jp2 plugin
Hi, I am trying to get JasPer to work with osg so I can have the jp2 plugin. I have tried the standard distribution from their website and the modified files in this thread. I am getting the following linker errors (I am only showing the errors from release mode, debug is similar but not the same) preventing me from building the plugin. It appears to be a conflict with what both are linked with. Before I spend too much time, I figured I would post in hopes of someone with an answer. Any help is greatly appreciated. LIBCMT.lib(invarg.obj) : error LNK2005: __invalid_parameter_noinfo already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(tidtable.obj) : error LNK2005: __encode_pointer already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(tidtable.obj) : error LNK2005: __encoded_null already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(tidtable.obj) : error LNK2005: __decode_pointer already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(crt0dat.obj) : error LNK2005: __amsg_exit already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(crt0dat.obj) : error LNK2005: __initterm_e already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(crtheap.obj) : error LNK2005: __malloc_crt already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(mlock.obj) : error LNK2005: __unlock already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(mlock.obj) : error LNK2005: __lock already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(winxfltr.obj) : error LNK2005: ___CppXcptFilter already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in MSVCRT.lib(cinitexe.obj) LIBCMT.lib(hooks.obj) : error LNK2005: "void __cdecl terminate(void)" (?terminate@@YAXXZ) already defined in MSVCRT.lib(MSVCR90.dll) LIBCMT.lib(atox.obj) : error LNK2005: _atoi already defined in MSVCRT.lib(MSVCR90.dll) MSVCRT.lib(MSVCR90.dll) : error LNK2005: __strdup already defined in LIBCMT.lib(strdup.obj) LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library LIBCMT.lib(crt0.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup C:\osgEarth-build\OpenSceneGraph-3.0.0-build\bin\osgPlugins-3.0.0\osgdb_jp2.dll : fatal error LNK1120: 1 unresolved externals Thank you! Cheers, Thomas -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47360#47360 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org