[osg-users] [build] Issues with freetype & jpeg plugins LINKER ERRORS compiling OSG 3.4.0 using Visual Studio 15 on Windows 7
Sebastian Messerschmidt
sebastian.messerschmidt at gmx.de
Thu Oct 29 01:55:41 PDT 2015
Am 29.10.2015 um 09:46 schrieb Trajce Nikolov NICK:
> Zdravo Vlatko,
>
> Sebastian might have the point. I had to rebuild the 3rd party
> dependencies myself and can provide them to you (64 bit only, but I
> have CMake for them). Let me know if interested
>
> p.s. Sebastian, did you get the deal of hosting your VS2015 build
> somewhere?
I provided them to AlphaPixel, but I haven't got back any information.
Right now I'm burried in other work, so I might get back on this later on.
Cheers
Sebastian
>
> Nick
>
> On Thu, Oct 29, 2015 at 9:18 AM, Sebastian Messerschmidt
> <sebastian.messerschmidt at gmx.de
> <mailto:sebastian.messerschmidt at gmx.de>> wrote:
>
> Hi Vlatko,
>
> Could you provie some information on where you got the libjpeg
> build for VS2015? I had to build it myself so maybe you're linking
> against the wrong msvcrt-version/variant.
>
> Cheers
> Sebastian
>
> 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
> osg-users at lists.openscenegraph.org
> <mailto:osg-users at lists.openscenegraph.org>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> <mailto:osg-users at lists.openscenegraph.org>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
>
> --
> trajce nikolov nick
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151029/42e4ec4f/attachment-0003.htm>
More information about the osg-users
mailing list