Hi Torben,
I have had this one, just cannot remember what I did.
If I remember correctly!
You can add minizip or zip(cannot remember which) directly into the PNG
project of Visual Studio, I assume you have done the obvious and checked its
linking against zlib/minizip library?


Regards

Martin.


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

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to