Difference between revisions of "Robotino-smartsoft-src"

From RobotinoWiki
(Created page with "<pre> robotino@robotino:~$ cp -R /opt/smartsoft/src/components/SmartFestoMPSDocking/ . robotino@robotino:~$ cd SmartFestoMPSDocking/ robotino@robotino:~/SmartFestoMPSDocking$ ...")
 
 
Line 1: Line 1:
 +
robotino-smartsoft-src contains some components of the SmartRobotino system. To compile and install these components you have to
 +
 +
*stop the smartsoft-master or smartsoft-slave service depending to which service the component belongs. If you are in doubt stop both services
 +
 +
<pre>
 +
robotino@robotino:~$ sudo systemctl stop smartsoft-slave
 +
robotino@robotino:~$ sudo systemctl stop smartsoft-master
 +
</pre>
 +
 +
Now copy the source directory of the component to your user directory, configure it with cmake and finally build and install it.
 +
 
<pre>
 
<pre>
 
robotino@robotino:~$ cp -R /opt/smartsoft/src/components/SmartFestoMPSDocking/ .
 
robotino@robotino:~$ cp -R /opt/smartsoft/src/components/SmartFestoMPSDocking/ .
Line 19: Line 30:
 
-- Set runtime path of "/opt/smartsoft/bin/SmartFestoMPSDocking" to "/opt/smartsoft/lib"
 
-- Set runtime path of "/opt/smartsoft/bin/SmartFestoMPSDocking" to "/opt/smartsoft/lib"
 
[100%] Built target SmartFestoMPSDocking
 
[100%] Built target SmartFestoMPSDocking
 +
</pre>
 +
 +
Now restart the services.
 +
 +
<pre>
 +
robotino@robotino:~$ sudo systemctl start smartsoft-master
 +
robotino@robotino:~$ sudo systemctl start smartsoft-slave
 
</pre>
 
</pre>

Latest revision as of 09:54, 25 July 2018

robotino-smartsoft-src contains some components of the SmartRobotino system. To compile and install these components you have to

  • stop the smartsoft-master or smartsoft-slave service depending to which service the component belongs. If you are in doubt stop both services
robotino@robotino:~$ sudo systemctl stop smartsoft-slave
robotino@robotino:~$ sudo systemctl stop smartsoft-master

Now copy the source directory of the component to your user directory, configure it with cmake and finally build and install it.

robotino@robotino:~$ cp -R /opt/smartsoft/src/components/SmartFestoMPSDocking/ .
robotino@robotino:~$ cd SmartFestoMPSDocking/
robotino@robotino:~/SmartFestoMPSDocking$ mkdir build
robotino@robotino:~/SmartFestoMPSDocking$ cd build/
robotino@robotino:~/SmartFestoMPSDocking/build$ cmake ..
...
-- Generating done
-- Build files have been written to: /home/robotino/SmartFestoMPSDocking/build
robotino@robotino:~/SmartFestoMPSDocking/build$ sudo make nodep
...
[  5%] Linking CXX executable SmartFestoMPSDocking
Generate Breakpad symbols for SmartFestoMPSDocking
Generate Breakpad symbols for file:  SmartFestoMPSDocking /home/robotino/SmartFestoMPSDocking/build/SmartFestoMPSDocking
Install SmartFestoMPSDocking
-- Install configuration: ""
-- Installing: /opt/smartsoft/symbols/SmartFestoMPSDocking.sym
-- Installing: /opt/smartsoft/bin/SmartFestoMPSDocking
-- Set runtime path of "/opt/smartsoft/bin/SmartFestoMPSDocking" to "/opt/smartsoft/lib"
[100%] Built target SmartFestoMPSDocking

Now restart the services.

robotino@robotino:~$ sudo systemctl start smartsoft-master
robotino@robotino:~$ sudo systemctl start smartsoft-slave