75 | | Install the Trolltech Qt Development package, the open source version of qt-mac-cocoa.dmg can be found |
76 | | in the ossim_dependencies folder. Double click and install if necessary. |
| 75 | 6. Compiling the libraries (unix build) |
| 76 | |
| 77 | We have now started adding cmake script files for different platforms under: |
| 78 | {{{ |
| 79 | <OSSIM_DEV_HOME>/ossim_package_support/cmake/build_scripts |
| 80 | |
| 81 | }}} |
| 82 | We suggest making a copy of a build script that closely resembles your system and make any modifications to the build variables to satisfy your environment and place it in <OSSIM_DEV_HOME>/ossim_package_support/cmake/configure.sh. Use the CMakeLists.txt found in the cmake directory to generate your desired make environment. We suggest that you do a complete “out-of-source” build so the main source tree does not get polluted with generated files - make files, object files, … etc. Follow these build steps. |
| 83 | {{{ |
| 84 | cd ~/ossim-svn/src/ossim_package_support/cmake |
| 85 | }}} |
| 86 | copy a file from build_scripts/….. to configure.sh |
| 87 | |
| 88 | (on the mac) |
| 89 | {{{ |
| 90 | cp build_scripts/mac/mac64bit-kakadu.sh configure.sh |
| 91 | mkdir build |
| 92 | open configure.sh (review settings) |
| 93 | cd build |
| 94 | ../configure.sh .. –G “Unix Makefiles” |
| 95 | }}} |
| 96 | (rm cmake cache .txt to clear out) |
| 97 | or for xcode generation: |
| 98 | ../configure.sh .. –G “Xcode” |
| 99 | |
| 100 | {{{ |
| 101 | make |
| 102 | make install |
| 103 | }}} |