First post, by pandarsson
Hi, I downloaded the source package of Dosbox 0.60 and cannot get it to
compile. It configures fine, but when it's building, it stops at render.cpp. The
following is the relevent output:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -g -O2 -I/usr/include/SDL -D_REENTRANT -c -o render.o `test -f 'render.cpp' || echo './'`render.cpp
render.cpp: In function `void TakeScreenShot(Bit8u *)':
render.cpp:154: implicit declaration of function `int png_set_compression_buffer_size(...)'
render.cpp:177: implicit declaration of function `int png_set_rows(...)'
render.cpp:180: implicit declaration of function `int png_write_png(...)'
make[3]: *** [render.o] Error 1
make[3]: Leaving directory `/usr/share/downloads/DOS/dosbox-0.60/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/share/downloads/DOS/dosbox-0.60/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/share/downloads/DOS/dosbox-0.60'
make: *** [all] Error 2
Now, this said, I notice I do not have png.h (though I once did... odd). Might
this be the problem? I ask in part because it says in the readme that libpng is
optional, anyway, and I have no interest in taking screenshots.
Anyway, I haven't had this particular error before, so I'm hoping you can
help. Further information follows:
Linux kernel: 2.4.10
libpng: 1.2.4
X: 4.1
gcc: 2.95
glibc: 2.2.4
SDL: 1.2.5
CPU: AMD Duron 700
I am not a man! I am a free number!!