Created
July 13, 2017 10:47
-
-
Save marc-hanheide/d8c404d4bdcfa36d5246621ec571ac22 to your computer and use it in GitHub Desktop.
A full log of installation for SPQReL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # prior to this install naoqi SDKs in /opt/naoqi is shown in https://sites.google.com/a/dis.uniroma1.it/peppino/software-setup | |
| qitoolchain create linux64 /opt/naoqi/naoqi-sdk-2.5.5.5-linux64/toolchain.xml | |
| qitoolchain create pepper /opt/naoqi/ctc-linux64-atom-2.5.2.74/toolchain.xml | |
| sudo apt-get install python-pip | |
| sudo pip install qibuild | |
| # install opencv over existing naoqi SDK again, as described in https://github.com/LCAS/spqrel_navigation/wiki/NAOQI-Installation-and-Usage#prepare-a-specific-opencv-version | |
| # setup your git if you haven't done so, e.g. | |
| # make sure git ssh access is enabled and keys are set on your account here: https://github.com/settings/keys | |
| git config --global user.email "[email protected]" | |
| git config --global user.nSPQReL team" | |
| git config --global push.default simple | |
| # prepare the SPQReL worktree | |
| mkdir ~/spqrel | |
| cd ~/spqrel | |
| git clone [email protected]:LCAS/spqrel_launch.git | |
| cd spqrel_launch | |
| git submodule init | |
| git submodule update | |
| cd spqrel_tools | |
| git checkout master | |
| git pull | |
| cd ../spqrel_navigation/ | |
| git checkout master | |
| git pull | |
| cd ../PetriNetPlans/ | |
| git checkout master | |
| git pull | |
| # init the worktree | |
| cd ~/spqrel/spqrel_launch/worktree | |
| qibuild init | |
| qibuild add-config linux64 -t linux64 | |
| qibuild add-config pepper -t pepper | |
| # manually build the PNP stuff to create generated files | |
| cd ~/spqrel/spqrel_launch/worktree/PetriNetPlans/PNP | |
| mkdir build && cd build && cmake .. && make -j8 | |
| cd ../../PNPgen/ | |
| mkdir build && cd build && cmake .. && make -j8 | |
| # build all SPQReL things for cross compilation for pepper | |
| cd ~/spqrel/spqrel_launch/worktree/spqrel_tools | |
| make configure | |
| make build | |
| make install | |
| # you could make push here to release the new build stuff into the repository | |
| # build for local use (linux64) | |
| make reconfigure TOOLCHAIN=linux64 | |
| make build TOOLCHAIN=linux64 | |
| make install TOOLCHAIN=linux64 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment