CRM32Pro SDK  v5.22
Installation, setup and details on MacOS X x86 platforms using GNU GCC/G++ 4.0.x library version


Requirements

  • MacOS X 10.3, 10.4, 10.5 and 10.6 (tested on 10.5).

  • GNU C/C++ 4.x and GNU Binary Tools (tested on 4.0.1)

Library installation (using MacOS X Package)

  • This method will automatically perform the installation.

  • It will need administration rights in order to install these files on your system:

    • "CRM32Pro.dynlib"
    • include files
    • static library files
    • documentation files
    • licenses

  • From now on "CRM32Pro.dynlib" is available for any application that uses it: SpacePong...

Compiling your own applications

  • To develop applications or compile the examples using GNU GCC/G++, we have to add a few compiler parameters:

    • to use CRM32Pro includes: -I/usr/CRM32Pro
    • to use the library: /usr/CRM32Pro.dynlib
    • and main SDL library: /usr/sdlmainIO.macosx.o

  • Include "CRM32Pro.h" at the beginning of your code

  • Link against the main libraries:

    • "CRM32Pro.dynlib" and "sdlmainIO.macosx.o" to use the dynamic library version

  • These are the minimum commands for GNU GCC/G++:
    "gcc -O2 -pthread -framework Appkit -framework Foundation example.cpp -o myoutput.exe -I/usr/CRM32Pro /usr/CRM32Pro.dynlib /usr/CRM32Pro/sdlmainIO.macosx.o"

  • In case of doubts, the Makefile project to build the examples can be checked, used and modified.

Important notes

  • Available video backends:

  • Available audio backends:

    • coreaudio. Uses CoreAudio API. Default audio backend.