build-en
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
build-en [2018/11/12 08:56] – external edit 127.0.0.1 | build-en [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Build Rocrail from Source====== | ||
- | [[: | ||
- | * [[develop-corner-en|Developer Corner]] | ||
- | * **Build from source** | ||
- | \\ | ||
- | |||
- | =====Get Rocrail Sources===== | ||
- | ====Git Clone==== | ||
- | Request access to the sources in the Rocrail Forum. | ||
- | < | ||
- | git clone <granted link> Rocrail | ||
- | </ | ||
- | ===Updating the local tree=== | ||
- | Only the first time a clone is downloaded, afterward only the changes: | ||
- | < | ||
- | cd Rocrail | ||
- | git pull | ||
- | </ | ||
- | |||
- | |||
- | \\ | ||
- | ===Resolve conflicts=== | ||
- | Sometimes local changes can conflict with a pull from the repository like: | ||
- | < | ||
- | error: Your local changes to ' | ||
- | Please, commit your changes or stash them before you can merge. | ||
- | </ | ||
- | Solution 1: | ||
- | < | ||
- | git reset --hard | ||
- | git pull | ||
- | </ | ||
- | Solution 2: | ||
- | < | ||
- | git stash | ||
- | git pull | ||
- | git stash pop | ||
- | </ | ||
- | |||
- | |||
- | \\ | ||
- | |||
- | |||
- | |||
- | =====Build Rocrail from source (Linux)===== | ||
- | Use the following commands as a normal user, not as root: | ||
- | |||
- | * Install git, libusb-dev and the wxGTK (libwxgtk3.0-0, | ||
- | * check out the Rocrail sources | ||
- | * cd Rocrail | ||
- | * make all | ||
- | * sudo make install | ||
- | |||
- | On certain Linux distributions a 'make fromtar" | ||
- | |||
- | \\ | ||
- | |||
- | =====Problems===== | ||
- | * Many header and source files are generated in the build process and are not in the repository! | ||
- | * If you have problems compiling the **rocs** library, the object generator binary does not fit to your Linux system. Try **make fromtar**. | ||
- | * After changing the **rocs.xml** you must also commit the **rocs-gen.tar.gz** in svn!!! | ||
- | |||
- | \\ | ||
- | =====Main Build Targets===== | ||
- | ^ Target ^ Description ^ | ||
- | | all | Server and Client. | | ||
- | | fromtar | Same as all but with pre generated files. | | ||
- | | server | Server only. | | ||
- | |||
- | |||
build-en.1542009373.txt.gz · Last modified: 2018/11/12 08:56 by 127.0.0.1