Ich benutze garkeine IDE. Ich habe aber den 'media'-Ordner in das gleiche Verzeichnis kopiert, wo auch meine EXE liegt.
Es funktioniert ja auch alles prima, lediglich werden manche Polygone erst sichtbar, wenn man näher hingeht. Als Renderer benutze ich OpgenGL, aber ich glaube nicht, dass es daran liegt.
Beim kompilieren bekomme ich folgende Warnings:
Code:
makefile:16: Building...
g++ -IE:/Programme/Irrlicht/include -O3 -ffast-math -g -Wall main.cpp MastEvent
Receiver.cpp -o EventReceiver.exe -LE:/Programme/Irrlicht/lib/Win32-gcc -lIrrlic
ht
In file included from main.cpp:4:
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyPressed(ch
ar)':
MastEventReceiver.cpp:370: warning: array subscript has type `char'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyDown(char)
':
MastEventReceiver.cpp:382: warning: array subscript has type `char'
MastEventReceiver.cpp:382: warning: array subscript has type `char'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyUp(char)':
MastEventReceiver.cpp:394: warning: array subscript has type `char'
MastEventReceiver.cpp:394: warning: array subscript has type `char'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyReleased(c
har)':
MastEventReceiver.cpp:406: warning: array subscript has type `char'
In file included from main.cpp:4:
MastEventReceiver.cpp:483:48: warning: no newline at end of file
main.cpp: In function `int main()':
main.cpp:37: warning: `addOctTreeSceneNode' is deprecated (declared at E:/Progra
mme/Irrlicht/include/ISceneManager.h:540)
main.cpp:45: warning: `createOctTreeTriangleSelector' is deprecated (declared at
E:/Programme/Irrlicht/include/ISceneManager.h:1284)
main.cpp:308: warning: converting to `int' from `irr::f32'
main.cpp:309: warning: converting to `int' from `irr::f32'
main.cpp:310: warning: converting to `int' from `irr::f32'
main.cpp:52: warning: unused variable 'SkyBox'
main.cpp:132: warning: unused variable 'selectedSceneNode'
main.cpp:133: warning: unused variable 'lastSelectedSceneNode'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyPressed(ch
ar)':
MastEventReceiver.cpp:370: warning: array subscript has type `char'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyDown(char)
':
MastEventReceiver.cpp:382: warning: array subscript has type `char'
MastEventReceiver.cpp:382: warning: array subscript has type `char'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyUp(char)':
MastEventReceiver.cpp:394: warning: array subscript has type `char'
MastEventReceiver.cpp:394: warning: array subscript has type `char'
MastEventReceiver.cpp: In member function `bool MastEventReceiver::keyReleased(c
har)':
MastEventReceiver.cpp:406: warning: array subscript has type `char'
Vielleicht liegt es ja daran.