installing_xenomai3_podo3_and_qt
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
installing_xenomai3_podo3_and_qt [2018/02/13 19:02] – keitaronishimura | installing_xenomai3_podo3_and_qt [2018/06/11 18:26] (current) – keitaronishimura | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====Installing | + | ====Installing |
===How to use this tutorial=== | ===How to use this tutorial=== | ||
\\ | \\ | ||
- | This tutorial will take the reader step by step on how to install | + | This tutorial will take the reader step by step on how to install |
I recommend that the reader go through the tutorial once before, or have this tutorial open as the reader goes through the process on a different computer. The reader should be able to finish this tutorial in about 1.5~2hr. | I recommend that the reader go through the tutorial once before, or have this tutorial open as the reader goes through the process on a different computer. The reader should be able to finish this tutorial in about 1.5~2hr. | ||
Line 35: | Line 35: | ||
3. Press F7 to select the update file on the usb flash drive and update the BIOS. | 3. Press F7 to select the update file on the usb flash drive and update the BIOS. | ||
- | 4. Install ubuntu | + | 4. Install ubuntu |
\\ | \\ | ||
- | 16.04 has problems with software compatibility | + | 14.04 has problems with software compatibility |
===Xenomai3 Instalation=== | ===Xenomai3 Instalation=== | ||
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 |
</fc> | </fc> | ||
---- | ---- | ||
Line 132: | Line 132: | ||
{{podo_inst: | {{podo_inst: | ||
\\ | \\ | ||
- | 9. Run the command: | + | 9. The following |
---- | ---- | ||
<fc purple> | <fc purple> | ||
cd / | cd / | ||
+ | </fc> | ||
+ | ---- | ||
+ | For Ubuntu 16.04 and newer use: | ||
+ | ---- | ||
+ | <fc purple> | ||
+ | cd / | ||
</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 / | cd / | ||
+ | </fc> | ||
+ | ---- | ||
+ | For Ubuntu 16.04 and newer use: | ||
+ | ---- | ||
+ | <fc purple> | ||
+ | cd / | ||
</fc> | </fc> | ||
---- | ---- | ||
Line 314: | Line 326: | ||
{{podo_inst: | {{podo_inst: | ||
\\ | \\ | ||
+ | Note: If you are using the newest xenomai 4 you can download qt 5.7.0 instead (https:// | ||
+ | \\ | ||
+ | |||
2. Find the directory holding the .run file and cd to it. Then run: | 2. Find the directory holding the .run file and cd to it. Then run: | ||
---- | ---- | ||
Line 331: | Line 346: | ||
{{podo_inst: | {{podo_inst: | ||
\\ | \\ | ||
- | 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 350: | Line 368: | ||
{{podo_inst: | {{podo_inst: | ||
\\ | \\ | ||
- | ===Installing | + | 4. You can now close everything. |
+ | \\ | ||
+ | ===Installing | ||
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 374: | Line 394: | ||
\\ | \\ | ||
{{: | {{: | ||
+ | \\ | ||
+ | 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: | ||
\\ | \\ | ||
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 379: | Line 410: | ||
{{: | {{: | ||
\\ | \\ | ||
- | 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. |
\\ | \\ | ||
{{: | {{: | ||
Line 386: | Line 417: | ||
\\ | \\ | ||
{{podo_inst: | {{podo_inst: | ||
+ | \\ | ||
+ | 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.1518577323.txt.gz · Last modified: by keitaronishimura