Hi, I managed to build libpng with no issues using 2010. I simply converted the 2003 (.net one) project inside 2010 and ran the build. Make sure you have zlib as well and that this has build correctly. your directory layout must be:
long142 zlib Note you must remove the version numbers from the zlib directory (when you extract it is called zlib-1.2.5). If you want the binaries I have built, just let me know. Cheers, Brad -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Theo Ribeiro Sent: Thursday, 17 June 2010 7:28 AM To: [email protected] Subject: Re: [osg-submissions] Dependencies for VS 2010 zonk wrote: > Hi Brad, > > thanks for your work. > I have build a dependency set for VS2008 in 32 bit and 64 bit some weeks ago. > > I published it on my project site, because robert did not publish it on osg > page, maybe I should send a reminder. > > I also pbulished my source package with intrusctions per package how to > compile for 32 and 64 bit. > > You can find this source package on > http://www.osgvisual.org/projects/osgvisual/wiki/Downloads > > maybe you can also build this package and provide a prebuild 32 /64 bit > package for VS2010, would improve the 3rdParty wreckage in the winows world a > little bit :) > the package includes: > > * zlib-1.2.3 > * png-1.2.39 > * pcre-7.6 > * minizip-1.2.3 > * libtiff-3.8.2 > * jpeg-7 > * glut-3.7.6 > * giflib-4.1.6 > * freetype-2.3.11 > * expat-2.0.1 > * curl-7.20 > * gdal-1.6.3 > * PROJ-4.7.0 > * libiconv-1.9.1 > * gettext-0.13.1 > * libxml2_2.7.7 > * boost-1.43.0 (system, filesystem, datetime, regex, thread) > * collada-dom-2.2 (1.4) > > > > Thank you! > > Cheers, > Torben Hi Torben, I've downloaded your package sources so I could build the binaries for Visual Studio 2010. I've built zlib and minizip correctly, but I can't build libpng. Also, I couldn't find any information on building this one. When I build libpng as a DLL (for using with osgdb_png) I'm getting these linker errors while trying to link with zlib: 1>png.obj : error LNK2019: unresolved external symbol __imp__crc32 referenced in function _png_reset_crc 1>png.obj : error LNK2019: unresolved external symbol __imp__inflateReset referenced in function _png_reset_zstream 1>pngpread.obj : error LNK2001: unresolved external symbol __imp__inflateReset 1>pngrutil.obj : error LNK2001: unresolved external symbol __imp__inflateReset 1>pngpread.obj : error LNK2019: unresolved external symbol __imp__inflate referenced in function _png_process_IDAT_data 1>pngread.obj : error LNK2001: unresolved external symbol __imp__inflate 1>pngrutil.obj : error LNK2001: unresolved external symbol __imp__inflate 1>pngread.obj : error LNK2019: unresolved external symbol __imp__inflateInit_ referenced in function _png_create_read_struct_2 1>pngread.obj : error LNK2019: unresolved external symbol __imp__inflateEnd referenced in function _png_read_destroy 1>pngwrite.obj : error LNK2019: unresolved external symbol __imp__deflate referenced in function _png_write_flush 1>pngwutil.obj : error LNK2001: unresolved external symbol __imp__deflate 1>pngwrite.obj : error LNK2019: unresolved external symbol __imp__deflateEnd referenced in function _png_write_destroy 1>pngwutil.obj : error LNK2019: unresolved external symbol __imp__deflateInit2_ referenced in function _png_write_IHDR 1>pngwutil.obj : error LNK2019: unresolved external symbol __imp__deflateReset referenced in function _png_write_compressed_data_out Have you experienced any difficulties building libpng? I'll upload my work as soon as I'm done! Thanks for your trouble! Cheers, Theo ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=29038#29038 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org DISCLAIMER:--------------------------------------------------------------------------- This e-mail transmission and any documents, files and previous e-mail messages attached to it are private and confidential. They may contain proprietary or copyright material or information that is subject to legal professional privilege. They are for the use of the intended recipient only. Any unauthorised viewing, use, disclosure, copying, alteration, storage or distribution of, or reliance on, this message is strictly prohibited. No part may be reproduced, adapted or transmitted without the written permission of the owner. If you have received this transmission in error, or are not an authorised recipient, please immediately notify the sender by return email, delete this message and all copies from your e-mail system, and destroy any printed copies. Receipt by anyone other than the intended recipient should not be deemed a waiver of any privilege or protection. Thales Australia does not warrant or represent that this e-mail or any documents, files and previous e-mail messages attached are error or virus free. -------------------------------------------------------------------------------------- _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
