project-navigation
Personal tools

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - yanex

Pages: [1]
1
Linux / Gentoo build 2.4 from GIT sources
« on: April 30, 2012, 07:54:01 pm »
Hi,
Sorry if this is somewhat duplicate of other topics, just wanted to drop tips for others who might come across problems compiling UFOAI on their systems.

problem: UFOAI zlib headers are outdated and use macros OF() which are no longer present in zlib >1.2.5?
to solve: add "#define OF(x) x" somewhere at top of src/common/ioapi.h

problem: zlib constant used assuming png will include it (Z_DEFAULT_COMPRESSION)
to solve: add "#include <zlib.h> somewhere at top of src/shared/images.h

After that it compiles perfectly fine with newer libs.

Best regards to UFOAI team for great work.
I actually tried to code doors and lifts couple years ago with somebody of you, I don't remember anymore. In any case it is fantastic that this project is still alive. Keep up the good work guys!

Pages: [1]