Differences
This shows you the differences between two versions of the page.
— |
wiki:documentation:devguide:tips [2015/12/08 12:50] (current) gribeiro created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== TerraLib Developer's Guide - General Tips for Developers ====== | ||
+ | |||
+ | **1.** If you have built TerraLib in //Debug// mode and you want to run it inside the build tree, you may need to set some environment variables: | ||
+ | * For Mac OS X, you can set the following variables: | ||
+ | <code> | ||
+ | $ export DYLD_FALLBACK_LIBRARY_PATH=/Users/user/mylibs/lib | ||
+ | $ export DYLD_FALLBACK_FRAMEWORK_PATH=/Users/user/mylibs/lib/ | ||
+ | </code> | ||
+ | |||
+ | * For Linux, you can set the following variable: | ||
+ | <code> | ||
+ | $ export LD_LIBRARY_PATH=/home/user/mylibs/lib | ||
+ | </code> | ||
+ | |||
+ | **2.** If you want to use QtCreator on Linux Ubuntu 14.04 you can install it through the following command: | ||
+ | <code> | ||
+ | $ sudo apt-get install qtcreator | ||
+ | </code> | ||
+ | |||
+ | **3.** On Linux Ubuntu 14.04 you can install git through the following command: | ||
+ | <code> | ||
+ | $ sudo apt-get install git | ||
+ | </code> | ||
+ | |||
+ | **4.** If you have experienced any problem building any of the third-party tool on //Mac OS X//, try to install Xcode command line tools: | ||
+ | <code> | ||
+ | $ xcode-select --install | ||
+ | </code> | ||
+ | |||