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 18:34] – 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 239: | Line 251: | ||
\\ | \\ | ||
===Setting the Default Boot to Xenomai=== | ===Setting the Default Boot to Xenomai=== | ||
+ | Note: This step is not recommended if you are dual booting or need access to another version of Ubuntu on the same machine. It is possible to skip this step, as this is only a convenience for machines that work exclusively with PODO. | ||
+ | \\ | ||
1. Open a new terminal and run the command: | 1. Open a new terminal and run the command: | ||
Line 247: | Line 261: | ||
---- | ---- | ||
- | 2. Change <fc red> | + | 2. Change <fc red> |
+ | \\ | ||
+ | Note: Don't forget the quotation marks around the grub default ex. " | ||
\\ | \\ | ||
{{podo_inst: | {{podo_inst: | ||
Line 266: | Line 282: | ||
{{podo_inst: | {{podo_inst: | ||
\\ | \\ | ||
- | 3. In a terminal ' | + | 3. In a terminal ' |
---- | ---- | ||
<fc purple> | <fc purple> | ||
Line 285: | Line 301: | ||
</fc> | </fc> | ||
---- | ---- | ||
+ | Note: If you are just copy and pasting all of the commands it can sometimes copy invisible characters into the command line. If you get any errors with the previous command just type it out manually. | ||
+ | \\ | ||
5. Run: | 5. Run: | ||
Line 308: | 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 325: | 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 344: | 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 368: | 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 373: | 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 380: | 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.1518575676.txt.gz · Last modified: by keitaronishimura