-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to compile SDL_Image 1.2.10 with MinGW + MSys (gcc 4.5.0) on Windows, I have compiled all the requires libs (zlib 1.2.5, libpng 1.4.2, libjpeg 8a, libtiff 3.9.2). SDL_Image compiles fine, but fails to link to libpng, throwing .libs/IMG_png.o:IMG_png.c:(.text+0x16): undefined reference errors…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I'm trying to compile libpng & zlib using the RVCT 4.0 armcc compiler. However armcc cannot find 'fcntl.h', which I assume is a standard C library. Cygwin has fcntl.h (and the associated files types.h and _types.h), but when I use those, I get various compilation errors.
Should I be using…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here is my function... I don't know why it's not working. The resulting image looks nothing like what the .png looks like. But there's no errors either.
bool Bullet::read_png(std::string file_name, int pos)
{
png_structp png_ptr;
png_infop info_ptr;
FILE *fp;
if ((fp = fopen(file_name…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I always get this error when trying to compile my file with Boost::GIL PNG IO support:
(I'm running Mac OS X Leopard and Boost 1.42, LibPNG 1.4)
/usr/local/include/boost/gil/extension/io/png_io_private.hpp: In member function 'void boost::gil::detail::png_reader::init()':
/usr/local/include/boost/gil/extension/io/png_io_private…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Here is my function... I don't know why it's not working. The resulting image looks nothing like what the .png looks like. But there's no errors either.
bool Bullet::read_png(std::string file_name, int pos)
{
png_structp png_ptr;
png_infop info_ptr;
FILE *fp;
if ((fp = fopen(file_name…
>>> More