User Tools

Site Tools


installing_xenomai3_podo3_and_qt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
installing_xenomai3_podo3_and_qt [2018/02/13 21:13] keitaronishimurainstalling_xenomai3_podo3_and_qt [2018/06/11 18:26] (current) keitaronishimura
Line 1: Line 1:
-====Installing Xenomai, PODO3, and QT====+====Installing Xenomai, PODO, and QT====
  
 ===How to use this tutorial=== ===How to use this tutorial===
Line 93: Line 93:
 ---- ----
 <fc purple> <fc purple>
-sudo apt-get install build-essential automake libtool libglu1-mesa-dev libglade2-dev+sudo apt-get install build-essential automake libtool libpopt-dev libglu1-mesa-dev libglade2-dev
 </fc> </fc>
 ---- ----
Line 132: Line 132:
 {{podo_inst:root_hyunhee-desktop_-home-hyunhee_005.png?400}} {{podo_inst:root_hyunhee-desktop_-home-hyunhee_005.png?400}}
 \\ \\
-9. Run the command:+9. The following command will differ based on which version of ubuntu you are installing. For ubuntu 14.04 and older use:
 ----  ---- 
 <fc purple> <fc purple>
 cd /usr/local/src/Xenomai/Kernel cd /usr/local/src/Xenomai/Kernel
 +</fc>
 +----
 +For Ubuntu 16.04 and newer use:
 +----
 +<fc purple>
 +cd /usr/local/src/RTOS/Linux
 </fc> </fc>
 ---- ----
Line 179: Line 185:
 </fc> </fc>
 ---- ----
-then use:+The following command will differ based on which version of Ubuntu you installed. For Ubuntu 14.04 and older use:
 ---- ----
 <fc purple> <fc purple>
 cd /usr/local/src/Xenomai/Library  cd /usr/local/src/Xenomai/Library 
 +</fc>
 +----
 +For Ubuntu 16.04 and newer use:
 +----
 +<fc purple>
 +cd /usr/local/src/RTOS/Xenomai
 </fc> </fc>
 ---- ----
Line 314: Line 326:
 {{podo_inst:index_of_-archive-qt_-_mozilla_firefox_015.png?400}} {{podo_inst:index_of_-archive-qt-5.5_-_mozilla_firefox_016.png?400}} {{podo_inst:index_of_-archive-qt-5.5-5.5.1_-_mozilla_firefox_018.png?400}} {{podo_inst:index_of_-archive-qt_-_mozilla_firefox_015.png?400}} {{podo_inst:index_of_-archive-qt-5.5_-_mozilla_firefox_016.png?400}} {{podo_inst:index_of_-archive-qt-5.5-5.5.1_-_mozilla_firefox_018.png?400}}
 \\ \\
-Note: If you are using the newest xenomai 4 you can download qt 4.0.instead (https://download.qt.io/official_releases/qtcreator/4.0/4.0.2/). Make sure you download the linux version. The rest of the commands are the same regardless of qt version.+Note: If you are using the newest xenomai 4 you can download qt 5.7.instead (https://download.qt.io/official_releases/qt/5.7/5.7.0/). Make sure you download the linux version not the android one. The rest of the commands are the same regardless of qt version.
 \\ \\
    
Line 334: Line 346:
 {{podo_inst:hyunhee_hyunhee-desktop_-downloads_019.png?400}} {{podo_inst:hyunhee_hyunhee-desktop_-downloads_019.png?400}}
 \\ \\
-4. Check the /opt folder to make sure that qt5.5.1 was properly installed+4. Make sure that the files are installed into your /opt directory 
 +\\ 
 +{{qt_save_loc.png?400}} 
 +\\
  
 ===Xenomai debug.h Modification=== ===Xenomai debug.h Modification===
Line 355: Line 370:
 4. You can now close everything.  4. You can now close everything. 
 \\ \\
-===Installing PODO3===+===Installing PODO===
  
 1. First go to the lab manager or email me to get the link to download all of the necessary files.  1. First go to the lab manager or email me to get the link to download all of the necessary files. 
Line 379: Line 394:
 \\ \\
 {{:podoinst101.png?400}} {{:podoinst102.png?400}}  {{:podoinst101.png?400}} {{:podoinst102.png?400}} 
 +\\
 +Note: If you don't have the build folder in your file run the build.sh file inside your podo file from a terminal:
 +----
 +<fc purple>
 +sudo chmod +x build.sh
 +\\
 +./build.sh
 +</fc>
 +----
 +\\
 +{{podo_inst:buildsh.png?400}}{{podo_inst:buildshterm.png?400}}
 \\ \\
 7. Make sure that both Release and Debug have the same path. Repeat this for all the other projects, making sure that both Release and Debug have the same build directory. As shown in the second picture you may see a warning, you can ignore it. 7. Make sure that both Release and Debug have the same path. Repeat this for all the other projects, making sure that both Release and Debug have the same build directory. As shown in the second picture you may see a warning, you can ignore it.
Line 384: Line 410:
 {{:podoinst103.png?400}} {{:podoinst104.png?400}} {{:podoinst103.png?400}} {{:podoinst104.png?400}}
 \\ \\
-8. In the bottom left hand corner of the QT window there is a computer icon, click it and make sure that all the projects are in release mode instead of Debug mode. +8. In the bottom left-hand corner of the QT window there is a computer icon, click it and make sure that all the projects are in release mode instead of Debug mode. 
 \\ \\
 {{:podoinst105.png?400}} {{:podoinst106.png?400}} {{:podoinst105.png?400}} {{:podoinst106.png?400}}
Line 391: Line 417:
 \\ \\
 {{podo_inst:podoinst13.png?400}}  {{podo_inst:podoinst13.png?400}} 
 +\\
 +Note: If you get an error about being unable to locate -lrbmodel just add the RBModel project and rebuild it byitself before rebuilding the others. This will create the rbmodel library the code is looking for. Don't forget to change the build location like the other projects for RBModel.
 +
 \\ \\
 10. Now right click PODOLauncher in qt and run it. 10. Now right click PODOLauncher in qt and run it.
installing_xenomai3_podo3_and_qt.1518585182.txt.gz · Last modified: by keitaronishimura