< Projects | Edu Revision as of 09:58, 28 June 2012 (view source)Cola (talk | contribs) (→Getting Started)← Older edit Revision as of 10:00, 28 June 2012 (view source) Cola (talk | contribs) (→Checklist for Development Environment)Newer edit → Line 10: Line 10: Now, the important sections in more detail: Now, the important sections in more detail: + +=== Rocs Development Environment === +Usually it is '''not necessary''' to compile kdelibs and Qt from source to be able to compile Rocs. For now (Rocs from KDE SC 4.9 as well as master for the 4.10 series) only require recent development packges of the following framewoks: +* KDE +* Qt +* Boost + === Get the Rocs Source Code === === Get the Rocs Source Code === Revision as of 10:00, 28 June 2012 Contents 1 Checklist for Development Environment 1.1 Rocs Development Environment 1.2 Get the Rocs Source Code 1.3 Configure Your Build-System 1.4 Setup Execution Enviroment and Run Rocs Checklist for Development Environment The following steps are mandatory: setup development enviroment for KDE applications get Rocs source code configure Rocs build system compile Rocs install Rocs set KDEDIRS and run kbuildsycoca4 run Rocs Now, the important sections in more detail: Rocs Development Environment Usually it is not necessary to compile kdelibs and Qt from source to be able to compile Rocs. For now (Rocs from KDE SC 4.9 as well as master for the 4.10 series) only require recent development packges of the following framewoks: KDE Qt Boost Get the Rocs Source Code You can fetch the sources from the Rocs Project Page by cloning the Git repository. Let's say you fetch the source to: "$HOME/rocs-source" Configure Your Build-System Next, we need folders for building and for installing Rocs. Let's say $HOME/rocs-build $HOME/rocs-install Then we need to say the build-scripts that those folders exist. Very comfortable this can be done by using the program cmake-gui. Take care to set the following: Source-directory is: $HOME/rocs-source Build-directory is: $HOME/rocs-build set: CMAKE_BUILD_TYPE = debugfull set: CMAKE_INSTALL_PREFIX = $HOME/rocs-install Then press "configure" to see if all necessary libraries are present. Finally generate make-files if nothing is red anymore. Setup Execution Enviroment and Run Rocs It is necessary that the following two steps are done: export KDEDIRS=$HOME/rocs-install:$KDEDIRS kbuildsycoca4 Finally, you can run Rocs by executing the compiled and installed binary in $HOME/rocs-install. Retrieved from "https://techbase.kde.org/index.php?title=Projects/Edu/Rocs&oldid=72491" Content is available under Creative Commons License SA 4.0 unless otherwise noted.