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

Reply via email to