Requirements
Library installation
-
Unpack "CRM32Pro-linux-X.YZ.tar.gz" to /usr/CRM32Pro directory (CRM32PRO_INST_DIR)
-
From now on "CRM32Pro.so" is available for any application that uses it: SetupProject, SDK examples, 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.so
-
Include "CRM32Pro.h" at the beginning of your code
-
Link against the main library:
-
"CRM32Pro.so" to use the dynamic library version(CRM32Pro.so)
-
These are the minimum commands for GNU GCC/G++:
"gcc -pthread example.cpp -o myoutput.exe -I/usr/CRM32Pro /usr/CRM32Pro.so -L/usr/X11/lib -lX11 -lXext"
-
In case of doubts, the Makefile project to build the examples can be checked, used and modified.
Important notes
|