Building the CDL |
The next table shows the compilers and platform for which CDL has been compiled succesfully.
Platform | gcc 3.x | gcc 4.x |
---|---|---|
i686 | Pass | Pass |
x86_64 | Pass | Pass |
If your compiler/platform is not shown in the previous table, the best way to check if you can compile CDL is going to the boost regression page and checking the compilation status for the graph library.
To compile the examples found on
morpho/libraries/libs/cdl/examplesyou will need to include the Standard Library, the boost libraries, and the source code of the CDL during the compilation call.
To make use of the GNU's make utility to compile these executables, you will need the boost libraries on the morpho/libraries/ folder, so you either create a symlink there pointing to the root of the boost directory, or just place it there.
Then go to morpho/clients/ directory and type 'make'.
All executables which have their source code on the morpho/clients folder will be compiled using the gcc compiler.
After compilation, all binary executables will be put in morpho/clients/bin/
If you don't want to use the make facility, you can compile each executable individually. Remember to include the Standard, Boost and CDL libraries during the compilation call, so the linker will find them.