is zlib required to compile on non MacOS system?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

uelkfr
Not too shy to talk
Not too shy to talk
Posts: 34
Joined: Tue Dec 14, 2010 16:57

is zlib required to compile on non MacOS system?

Postby uelkfr » Sun Dec 19, 2010 06:32

The "if" condition below have "||" which means an "or" operator.

Code: Select all

#if !defined(__APPLE__) || defined(CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER)

#include "minizip/unzip.h"

I comment out line in config.h

Code: Select all

//#define CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER


But this "or" makes request for zlib on non MacOS system. Maybe it should be "&&" == "and"?
I ask because in FAQ it is said only FreeType2 and PCRE required, all other libraries are optional.

1.8. Does CEGUI rely upon any third party libraries? If so what are they?
FreeType2 (required:yes)
Perl C Regular Expression (required:yes)
Xerces-C++ (required:no)
Expat (required:no)
Libxml (required:no)
DevIL (required:no)

and I don't see zlib, tinyxml, lua. Please update FAQ.
helper to newbies

"i help you, dear newbie
but nobody helps me!"

Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 6 guests