X-Moto

Tasklist

FS#779 - Missing header

Attached to Project: X-Moto
Opened by Anonymous Submitter - Wednesday, 09 November 2011, 18:15 GMT
Task Type Bug Report
Category General
Status Unconfirmed
Assigned To No-one
Operating System Linux
Severity Medium
Priority Normal
Reported Version svn
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Hi,

I tried to build X-Moto 0.5.8 with libpng 1.5.2 on Linux, and I got this error:
|| echo './'`image/tim_png.cpp
image/tim_png.cpp: In function 'int tim_png_save(tim_image_t*, char*)':
image/tim_png.cpp:268: error: 'Z_BEST_COMPRESSION' was not declared in this scope
image/tim_png.cpp:270: error: 'Z_DEFAULT_STRATEGY' was not declared in this scope
image/tim_png.cpp: In function 'int tim_add_png_support(tim_session_t*)':
image/tim_png.cpp:321: warning: deprecated conversion from string constant to 'char*'
make[1]: *** [tim_png.o] Error 1
I think there is a missing header in src/image/tim_png.cpp, what is <zlib.h>.
If I patched this file, the build finished without error.
Please, make a correction, if I'm right!
Thank you!

Thomas
This task depends upon

Loading...