beginning
-
kingdarkeyes
- Posts: 2
- Joined: Sun Sep 30, 2007 8:30 am
beginning
I have just begun to use irrlicht 1.3.1. I use dev-C++ compiler 4.9.8.0, and it seems that I cant set up a working application. I first linked to the include, win-32 visual studio library, and it does not work. I switched libraries from win-32, to win-64 and then the program compiled correctly. But, it would only show a console window and quickly disappear. Could anybody help me?
-
kingdarkeyes
- Posts: 2
- Joined: Sun Sep 30, 2007 8:30 am
well....first I went to project options and chose library directories, I then chose for that, the win-32 library in the lib folder, and I chose the win-3s library from the bin folder just in case one wouldn't work. I then chose the include directories, and picked the include folder. After which I went to Parameters and chose to add a library or object which was a linker in the win-32 visual studio library, then when I got this error:
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'
________________
I switched out the library win-32 VS library for the win-gcc library and it didnt work still. The application does compiler, but it shows a console window for a short moment. The code I'm using is the code in hello world example on example folder. I just wanted to check to see if I could get it to work....but ti's not for some reason.
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'
________________
I switched out the library win-32 VS library for the win-gcc library and it didnt work still. The application does compiler, but it shows a console window for a short moment. The code I'm using is the code in hello world example on example folder. I just wanted to check to see if I could get it to work....but ti's not for some reason.
This Is the same problem I has when I started.
Ok its simple
Goto Project Options
Then Goto parameters, in linkers brows and add irrlicht.a from the lib folder in your irrlicht directory.
Then Goto directories in project options and choose inclue directories and add the include folder from the irrlicht directory.
Next get the irrlicht.dll from the bin/win32gcc and add it to where you want your file to compile to if this is not clear enough of an explanation.
This Is : http://irrlicht.sourceforge.net/tut_devcpp.html
Ok its simple
Goto Project Options
Then Goto parameters, in linkers brows and add irrlicht.a from the lib folder in your irrlicht directory.
Then Goto directories in project options and choose inclue directories and add the include folder from the irrlicht directory.
Next get the irrlicht.dll from the bin/win32gcc and add it to where you want your file to compile to if this is not clear enough of an explanation.
This Is : http://irrlicht.sourceforge.net/tut_devcpp.html
Programming Blog: http://www.uberwolf.com