Tutorial 2: Quake 3 Map
Tutorial 2: Quake 3 Map
Hello,
I tried to build the Quake 3 Map, but there is a linker error,
could you please help me to remove this?
Here is the error
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'
thanks
wheatas
I tried to build the Quake 3 Map, but there is a linker error,
could you please help me to remove this?
Here is the error
[Linker error] undefined reference to `_imp___ZN3irr12createDeviceENS_5video13E_DRIVER_TYPEERKNS_4core11dimension2dIiEEjbbbPNS_14IEventReceiverEPKc'
thanks
wheatas
Hi,
I'm using Dev-C++.
well I just added both libs, and now it compiles and links correctly,
the problem now is that nothin happens wenn I try to run it, well its happening something, a comandwindow
(sorry the correct word just vanished out of my head) appears and disappears again. and then nothing...
could you explain why this happens?
thanks for the help!
I'm using Dev-C++.
well I just added both libs, and now it compiles and links correctly,
the problem now is that nothin happens wenn I try to run it, well its happening something, a comandwindow
(sorry the correct word just vanished out of my head) appears and disappears again. and then nothing...
could you explain why this happens?
thanks for the help!
Go to Start->Run, type in "cmd", then in the appeared window type in full path to your executable, run it, and see what Irrlicht outputs to you, then paste the output here.
Open Source all the way, baby
OSRPG
OSRPG
Sounds like you are using DEV C++
I had the exact same problem.
After hours of trying all sorts of combinations... I eventually submitted to just using the example.dev as a base for my future code.
Here's what I did:
1. I downloaded the DX9 Dev Pack using this great ZIP
http://irrlicht.sourceforge.net/phpBB2/ ... torder=asc
But the important thing to realize is that eventually, I just started copying all the files that I thought might be needed to the same folder where my BUILD directory was located... (menu -> Project / project options / BUILD tab... then make sure you have a build directory destination... (I used GCC-Win32 for a while, but then later once I learned to copy the files to the build... I moved them around)
specifically: I put these files in the build directory (perhaps not all are really needed but I did not want to take any chances)
1. d3dx8.dll
2. d3dx9.dll
3. Irrlicht.dll
4. libIrrlicht.a
To be honest, again... this is probably not the "BEST" way... but its how I got it working...
Also, remember, that I "gave up" trying to figure out how to manually recreate the exact settings needed to properly set up a project for Irrlicht... It was driving me nuts.. so I used the EZ way out... and copied example.dev from HelloWorld... and renamed it.
Then opened it... and changed the Project name (alt P)... and the Build Destination (and made sure my .dll , .a files were properly located)
and I dont have those issues anymore, as long as follow that for Each new project...
I hope that helps... and hopefully one day someone will show you a better way than my Kludge.
MACK
I had the exact same problem.
After hours of trying all sorts of combinations... I eventually submitted to just using the example.dev as a base for my future code.
Here's what I did:
1. I downloaded the DX9 Dev Pack using this great ZIP
http://irrlicht.sourceforge.net/phpBB2/ ... torder=asc
But the important thing to realize is that eventually, I just started copying all the files that I thought might be needed to the same folder where my BUILD directory was located... (menu -> Project / project options / BUILD tab... then make sure you have a build directory destination... (I used GCC-Win32 for a while, but then later once I learned to copy the files to the build... I moved them around)
specifically: I put these files in the build directory (perhaps not all are really needed but I did not want to take any chances)
1. d3dx8.dll
2. d3dx9.dll
3. Irrlicht.dll
4. libIrrlicht.a
To be honest, again... this is probably not the "BEST" way... but its how I got it working...
Also, remember, that I "gave up" trying to figure out how to manually recreate the exact settings needed to properly set up a project for Irrlicht... It was driving me nuts.. so I used the EZ way out... and copied example.dev from HelloWorld... and renamed it.
Then opened it... and changed the Project name (alt P)... and the Build Destination (and made sure my .dll , .a files were properly located)
and I dont have those issues anymore, as long as follow that for Each new project...
I hope that helps... and hopefully one day someone will show you a better way than my Kludge.
MACK
MACK