>g++ -pedantic -Os -c test.cpp -o test.o
test.cpp:1:22: error: irrlicht.h: No such file or directory
test.cpp:41:2: warning: no newline at end of file
test.cpp:2: error: 'irr' is not a namespace-name
...
I must set a local variable for include path, but i don't say where i must specify it..
i can't use eclipse cause i have gentoo.. and the eclipse-cdt ebuild is hard masked. and code::blocks have a bug problem...
You'll need to let kdevelop know the path to irrlicht's include dir. Do this in the Automake manager by right-clicking on the test.kdevelop project in the upper window and selecting Options, then adding to the "Directories outside project" in the Includes tab. I recommend using a relative path name (ie "-I./include") rather than an absolute one.
Also, you'll need to link in the libIrrlicht.a file. Do that in the options for the application (which is listed in the automake manager's lower window).
First you specify the directory where you're keeping the libIrrlicht.a file and then you link the file (without the lib and .a).
For example, my linker options look like this:
-L../../lib
-lIrrlicht
-lGL
-lGLU
That got me up and running. Let me know if this helps.