Afternoon all!

I'm having a bit of an issue I've never run into before trying to build OSG.  
Hoping someone can point me in the right direction.

I always build OSG from source and thus far never really had a problem with 
it...  this time though I can't seem to get the image library plugins to build 
properly.  I'm building on Visual Studio 2005 on Windows 7 64-bit.  I've built 
this on an almost identical configuration on another computer with no issues 
(not to mention countless Linux builds), so I'm not sure what's up.

I have all of the image library .libs and includes in a directory labled 
"ImageLibraries" under my third party director.  CMake finds all the libs and 
everything okay, links them into the solution and generates just fine.  But, 
when I go to build, I get unresolved externals on curl, FreeType, GIF, GLUT, 
JPEG, PNG, and TIFF (and a couple others that I can't remember off hand).  

General format of the errors are:

> ReaderWriterPNG.obj : error LNK2019: unresolved external symbol 
> png_get_io_ptr referenced in function "void __cdecl png_read_istream(struct 
> png_struct_def *,unsigned char *,unsigned __int64)" 
> (?png_read_istream@@YAXPEAUpng_struct_def@@pea...@z)


I've checked the properties of the Plugins png / Plugins jpg / Plugins foo and 
it IS set to link against libpng13.lib / libjpeg.lib / libfoo.lib.  I've tried 
using the SVN dependency checkout and from getting copies of the individual 
packages from the GNU sites...  I get the same results either way.  I've built 
OSG from both so I know both should work.

Anyone have any ideas?  Many thanks to anyone that can help.  :)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30540#30540





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to