Hi, i tried to make Irrlicht's Hello World application. It compiles without any errors, but when i run program it close automaticly. I run debugger and it show error:Your program reported an access violation (segmentation error). I use Dev-c++ and here is the code:
How can I see what DLL i used? I compiled first example and it works. i copied code to my project, compile it and i've got this same error. I add ibIrrlicht.a.
If you run your executable from the examples directory (bin/Win32-VisualStudio/), it would use the DLL inside, which is the one for MSVC. And because you used libIrrlicht.a, which is for gcc, this can not work.
Easiest way is to make a new folder, copy your executable and the DLL from bin/Win32-gcc/ to it and that's it. Just make sure you don't have a wrong Irrlicht DLL in windows/system32 or something.
I copy my executable, 01.HelloWorld (example) and dll. And it doesnt work. My executable and example. Earlier i compiled that example and in Win32-gcc folder it run normally.
EDIT I change build folder to Win32-gcc, compiled new project with this same code and now its works Thanks