ZenGL

From havefunsoft wiki
Jump to: navigation, search

ZenGL is a multimedia wrapper library, similar to SDL, but almost pure pascal instead.

ZenGL is currently almost unmaintained. According to the author of the library he's far away now from any sort of game development. Thus any user of the library is on their own.

Starting Xcode 7.0 (? a later version), The only supported Simulator is 64-bit. ZenGL Has to be updated to support that. Starting iPhone 5s, iOS 5.1.1 it's possible to develop 64-bit applications.

In ZenGL requires some adjustments to handle these updates.


Source Update

Support 64-bit arm for compiler defined. update zgl_config.cfg file (which is used by practically all units of ZenGL library)

Find a line

  {$IF DEFINED(iPHONESIM) or (DEFINED(DARWIN) and DEFINED(CPUARM))}

replace it with

  {$IF DEFINED(iPHONESIM) or (DEFINED(DARWIN) and DEFINED(CPUARM))  or (DEFINED(DARWIN) and DEFINED(CPUAARCH64))}

Non-pascal libraries

zlib_helper

The library is supplied with ZenGL with sources and Makefile. Make file needs to be adjusted to specify the proper SDK paths.

iGLU

The library seems to be no longer maintained.

It's make file is stored in "config" folder. It must be updated in order to build 64 files