Requirements
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
|