[osg-users] 64bit compilation issues
LeRetha Childress
leretha.childress at gmail.com
Wed Apr 16 14:03:57 PDT 2008
I am trying to convert my osg app from win 32 to x64 using VS 2005
I have converted all the dependency apps to x64 successfully
Everthing works in osg except freetype and gif
I have tried several different things to fix the problem
First I tried changing the preprocessor setting to win64 instead of win32
and that didn't help
I checked to make sure the code generation runtime libraries were the same
(MD and MDd)
I checked and rechecked my paths for my include directories and library
directories
I have researched on the web with no luck
This is the output I get from plugins gif
1>------ Rebuild All started: Project: Plugins gif, Configuration: Debug x64
------
1>Deleting intermediate and output files for project 'Plugins gif',
configuration 'Debug|x64'
1>Building Custom Rule
C:/x64brokaw/3rdparty/osg/OpenSceneGraph/src/osgPlugins/gif/CMakeLists.txt
1>-- searching TIFF -->tiff.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching FREETYPE
-->ft2build.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching CURL
-->curl/curl.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching JPEG
-->jpeglib.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching GLUT
-->GL/glut.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching GIFLIB
-->gif_lib.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching ZLIB -->zlib.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- searching PNG -->png.h<--><-->C:/x64brokaw/3rdparty/osg/3rdparty<--
1>-- CURL was not found. Make sure CURL_LIBRARY and CURL_INCLUDE_DIR are
set.
1>-- ERROR: wxWidgets was not found.
1>-- Found JPEG: C:/x64brokaw/3rdparty/osg/3rdparty/lib/libjpeg.lib
1>-- Found PNG: C:/x64brokaw/3rdparty/osg/3rdparty/lib/libpng13.lib
1>-- Configuring done
1>-- Generating done
1>-- Build files have been written to:
C:/x64brokaw/3rdparty/osg/OpenSceneGraph
1>Compiling...
1>ReaderWriterGIF.cpp
1>Compiling manifest to resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifCloseFile referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifGetExtensionNext referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifGetExtension referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifGetLine referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifGetImageDesc referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifGetRecordType referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>ReaderWriterGIF.obj : error LNK2019: unresolved external symbol
__imp_DGifOpen referenced in function "unsigned char * __cdecl
simage_gif_load(class std::basic_istream<char,struct std::char_traits<char>
> &,int *,int *,int *)" (?simage_gif_load@@YAPEAEAEAV?$basic_istream at DU
?$char_traits at D@std@@@std@@PEAH11 at Z)
1>C:\x64brokaw\3rdparty\osg\OpenSceneGraph\lib\Debug\..\..\bin\osgPlugins-2.3.8\osgdb_gifd.dll
: fatal error LNK1120: 7 unresolved externals
1>Build log was saved at
"file://c:\x64brokaw\3rdparty\osg\OpenSceneGraph\src\osgPlugins\gif\osgdb_gif.dir\Debug\BuildLog.htm"
1>Plugins gif - 8 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
and I get similar errors with freetype
the LNK2019 error with various freetype objs
Can anybody tell me what I'm doing wrong?
Thanks
LeRetha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080416/19293cf2/attachment.htm
More information about the osg-users
mailing list