Projects/Edu/Rocs: Difference between revisions
Line 1: | Line 1: | ||
== Getting Started == | == Getting Started == | ||
The following steps are mandatory: | The following steps are mandatory: | ||
# get source | # setup development enviroment for KDE applications | ||
# configure | # get Rocs source code | ||
# configure Rocs build system | |||
# compile Rocs | # compile Rocs | ||
# install Rocs | # install Rocs | ||
# setup | # setup execution enviroment and run Rocs | ||
Now the steps with more details: | Now the steps with more details: | ||
=== Get the Source === | === Get the Rocs Source Code === | ||
You can fetch the sources from the [https://projects.kde.org/projects/kde/kdeedu/rocs/repository Rocs Project Page] by cloning the Git repository. Let's say you fetch the source to: "$HOME/rocs-source" | You can fetch the sources from the [https://projects.kde.org/projects/kde/kdeedu/rocs/repository Rocs Project Page] by cloning the Git repository. Let's say you fetch the source to: "$HOME/rocs-source" | ||
Line 24: | Line 24: | ||
Then press "configure" to see if all necessary libraries are present. Finally generate make-files if nothing is red anymore. | Then press "configure" to see if all necessary libraries are present. Finally generate make-files if nothing is red anymore. | ||
=== Run Rocs === | === Setup Execution Enviroment and Run Rocs=== | ||
It is necessary that the following two steps are done: | It is necessary that the following two steps are done: | ||
# export KDEDIRS=$HOME/rocs-install:$KDEDIRS | # export KDEDIRS=$HOME/rocs-install:$KDEDIRS | ||
# kbuildsycoca4 | # kbuildsycoca4 | ||
Finally, you can run Rocs by executing the compiled and installed binary in $HOME/rocs-install. | Finally, you can run Rocs by executing the compiled and installed binary in $HOME/rocs-install. |
Revision as of 09:55, 28 June 2012
Getting Started
The following steps are mandatory:
- setup development enviroment for KDE applications
- get Rocs source code
- configure Rocs build system
- compile Rocs
- install Rocs
- setup execution enviroment and run Rocs
Now the steps with more details:
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.