You are here
IT++ tutorial for project students
The linux computers in the student computer room on level 3 of the Zepler building have version 4.0.6 of the IT++ libraries installed. These libraries provide a number of useful mathematical, signal processing and communication routines. You can find out more about these routines in the IT++ documentation.
You can start an IT++ project by downloading the IT++ project template and saving it in your home directory. You can extract the template by opening a terminal program and typing
tar -xzvf itppProject.tgz
This will create a directory named itppProject, which you should go into by typing
If you type
you'll see that the itppProject directory contains a Makefile and three subdirectories. You should write your .cpp and .h files in the src subdirectory. This comes with an example main.cpp to get you started. You can edit this by typing
kate src/main.cpp &
You can compile your program by typing
from within the itppProject directory. This will use the Makefile to create object files in the obj subdirectory and an executable in the bin directory. Whenever you start a terminal program, you'll have to type
or, failing that,
setenv LD_LIBRARY_PATH /lib:/usr/lib:/usr/local/lib
before running your program for the first time. After that, the program can be run by typing
from within the itppProject directory.
Have fun, Rob Maunder.