I compiled again the IrrAI with the trunk and the calmageddon example and I had this error:
Code: Select all
C:\Users\Administrator\Desktop\IrrAI 0.5 for Irrlicht 1.6\Bin>CalmageddonExample_Debug.exe
Irrlicht Engine version 1.9.0
(Build 9200)
Using renderer: OpenGL 4.0.0
Intel(R) HD Graphics: Intel
OpenGL driver version is 1.2 or better.
GLSL version: 4.0
Resizing window (480 200)
Could not load font because the file does not exist: ./.MdaGlSn1.n
Could not open file of texture: ./.Mdairihirioopgìo
Could not open file of texture: ./.Mdasatbto.n
C:\Users\Administrator\Desktop\IrrAI 0.5 for Irrlicht 1.6\Bin>
And compilling the code, warnings like this:
Code: Select all
Compiling: Src\PedestrianCharacter.cpp
C:\Users\Administrador\Desktop\IrrAI 0.5 for Irrlicht 1.6\Examples\CalmageddonExample\Src\PedestrianCharacter.cpp: In constructor 'PedestrianCharacter::PedestrianCharacter(const CCharacter::SCharacterDesc&)':
C:\Users\Administrador\Desktop\IrrAI 0.5 for Irrlicht 1.6\Examples\CalmageddonExample\Src\PedestrianCharacter.cpp:57:141: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
PedestrianCharacter::PedestrianCharacter(const SCharacterDesc& desc) : CityCharacter(desc, ECT_PEDESTRIAN, "Zombie/zombie.b3d", 0.005f, 5.0f) {
^
I had to change "case scene::ESNT_OCT_TREE:" to "case irr::scene::ESNT_OCTREE:"
may be the problem with the segmentation fault in my code is in the irrAI library (it needs to be updated to irrlicht 1.9) and not in the trunk itself