IDE Setup

From TUDOS-Wiki
Jump to navigationJump to search

Eclipse

If you want to use Eclipse to work on the ComplexLab, you need to tell Eclipse where the include files are located and provide them in the correct order.

To simplify that task, you can import this project-settings using File -> Import -> C/C++ Project Settings. Afterwards you need to rebuild the index at <Your project> -> Index -> Rebuild. Note that this settings are specific for the ComplexLab and the x86 architecture.

This is a work in progress, so don't expect it to be perfect :-)

KDevelop

KDevelop requires you to set up an index file using absolute paths. This file is called .kdev_include_paths and should reside in the root directory of your L4Re checkout. Mine looks like this:

/home/doebel/src/tudos/src/build/include/x86
/home/doebel/src/tudos/src/build/include/x86/l4f
/home/doebel/src/tudos/src/build/include
/home/doebel/src/tudos/src/build/include/l4f
/home/doebel/src/tudos/src/build/include/uclibc
/home/doebel/src/tudos/src/build/include/contrib/acpica
/home/doebel/src/tudos/src/build/include/contrib/ankh_lwip
/home/doebel/src/tudos/src/build/include/contrib/boost-1_39-lite
/home/doebel/src/tudos/src/build/include/contrib/libiniparser
/home/doebel/src/tudos/src/build/include/contrib/libio-direct
/home/doebel/src/tudos/src/build/include/contrib/libio-io
/home/doebel/src/tudos/src/build/include/contrib/libpng
/home/doebel/src/tudos/src/build/include/contrib/libstdc++-v3
/home/doebel/src/tudos/src/build/include/contrib/libudis86
/home/doebel/src/tudos/src/build/include/contrib/lua
/home/doebel/src/tudos/src/build/include/contrib/lwip
/home/doebel/src/tudos/src/build/include/contrib/zlib