Hi,
I have issues with freetype & jpeg plugins linker error compiling OSG 3.4.0
using Visual Studio 15 on Windows 7 .
Mainly I succedded to build and install whole OSG including OSGJS plugin except
for linker errors below:
................................................................................
Build started 28.10.2015. 18:44:34.
1>Project
"C:\OpenSceneGraph-3.4.0\build_OpenSceneGraph\src\osgPlugins\jpeg\osgdb_jpeg.vcxproj"
on node 2 (Build target(s)).
1>Link:
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\link.exe
/ERRORREPORT:PROMPT
/OUT:"C:\OpenSceneGraph-3.4.0\build_OpenSceneGraph\bin\osgPlugins-3.4.0\osgdb_jpeg.dll"
/INCREMENTAL:NO /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
..\..\..\lib\osgDB.lib ..\..\..\lib\osgUtil.lib
"C:\OpenSceneGraph-3.4.0\3rdParty\lib\jpeg.lib" opengl32.lib
..\..\..\lib\osg.lib ..\..\..\lib\OpenThreads.lib
"C:\OpenSceneGraph-3.4.0\3rdParty\lib\zlib.lib" opengl32.lib /MANIFEST
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed
/PDB:"C:/OpenSceneGraph-3.4.0/build_OpenSceneGraph/bin/osgPlugins-3.4.0/osgdb_jpeg.pdb"
/SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT
/IMPLIB:"C:/OpenSceneGraph-3.4.0/build_OpenSceneGraph/lib/osgPlugins-3.4.0/osgdb_jpeg.lib"
/MACHINE:X86 /SAFESEH /machine:X86 /DLL
osgdb_jpeg.dir\Release\OpenSceneGraphVersionInfo.res
osgdb_jpeg.dir\Release\EXIF_Orientation.obj
osgdb_jpeg.dir\Release\ReaderWriterJPEG.obj
jpeg.lib(jerror.obj) : MSIL .netmodule or module compiled with /GL
found; restarting link with /LTCG; add /LTCG to the link command line to
improve linker performance
1>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol
__imp__sprintf
1>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol
__imp____iob_func
1>jpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol
__imp__fprintf
1>jpeg.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol
__imp__sscanf
1>C:\OpenSceneGraph-3.4.0\build_OpenSceneGraph\bin\osgPlugins-3.4.0\osgdb_jpeg.dll
: fatal error LNK1120: 4 unresolved externals
1>Done Building Project
"C:\OpenSceneGraph-3.4.0\build_OpenSceneGraph\src\osgPlugins\jpeg\osgdb_jpeg.vcxproj"
(Build target(s)) -- FAILED.
Build FAILED.
....................................................................
I would appreciate if someone can help and advice what should I do.
Thank you!
Cheers,
vlatko
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=65478#65478
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org