Koala 2.5 User Manual Rev 1.1
33
5.4
Programming with Eclipse GUI
Eclipse is already installed.
1.
Launch it (from a Terminal, execute :
eclipse &
).
2.
Go to file menu “File => NEW => Project => C/C++ => C
Project”.
3.
Choose « empty project » and choose a Project Name (ex: test).
4.
Push next button and then the "Advanced Settings" button.
5.
On the “C/C++ Build”, “Settings”, GCC C Linker, “Libraries” add
koala with the
button under “Libraries (-l)”.
6.
Still "Advanced Settings", go to ”Run/Debug Settings”, and push
“New” button. Push OK. Under “Project:”, enter your project
name and push OK. This will create a Debug part of the project.
7.
Push “OK” button, then “Finish”.
8.
Go to menu “File => New => File” and choose
test.c
as
filename.
Insert your C code, copying:
/home/user/koala_library/template/prog-tremplate.c
or
/home/user/koala_library/examples/koala_example.c
9.
Then compile the project with menu “menu Project => Build-All”
=> The output file will be in the subdirectory Debug or Release
of the project (
/home/user/workspace/test
).
Go to the menu Project, Properties “Run/Debug Settings” and
edit the configuration you made under 6. Click “Search Project”
and select the available binary. Push OK and OK buttons.
10.
You can run your program by the menu Run. In the lower part of
the Eclipse window, you will see the output of your program in
the Console tab.
Содержание Koala 2.5
Страница 1: ...KOALA 2 5 User manual Revision 1 2...
Страница 9: ...Koala 2 5 User Manual Rev 1 1 6 Figure 3 3 Bottom view 13 Gear Box 14 Docking station connection...
Страница 49: ...Koala 2 5 User Manual Rev 1 1 46 7 Mechanical drawings Unit is mm Figure 6 1 Top view...
Страница 50: ...Koala 2 5 User Manual Rev 1 1 47 Figure 6 2 Right view Figure 6 3 Front view...
Страница 53: ...K Team S A Z I Les Plans Praz 28 1337 Vallorbe Switzerland...