Quake3D tutorial error

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Pythy Python
Posts: 30
Joined: Sun Mar 29, 2015 1:31 am

Quake3D tutorial error

Post by Pythy Python »

I'm getting an error that says,

Code: Select all

mingw32/bin/ld.exe: reopening main.exe: Permission denied
 
ld.exe: final link failed: Permision denied"

but when I remove this code,

Code: Select all

device->getFileSystem()->addFileArchive("media/map-20kdm2.pk3");
it gives me no error but doesn't load the map...

Does anyone know what the problem is?

The only difference between my code and the tutorial is that it's "media/map-20kdm2.pk3" instead of "../../media/map-20kdm2.pk3"

I did this because I moved media folder to my folder where my exe is.
Pythy Python
Posts: 30
Joined: Sun Mar 29, 2015 1:31 am

Re: Quake3D tutorial error

Post by Pythy Python »

SOLVED

I don't know why but for some reason, the tutorial isn't showing full arguments inside of createDevice function.


tutorial -> gives me an error

Code: Select all

 
createDevice(driverType, core::dimension2d<u32>(640, 480));
 

to make it work,

Code: Select all

 
createDevice(driverType, core::dimension2d<u32>(640, 480), 16, false, false, false, 0);
 

Is there's any reason why the tutorial isn't showing full arguments?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Quake3D tutorial error

Post by CuteAlien »

That are default parameters - so those lines are identical. Your error is mostly likely caused because you had the binary still open when you tried compiling it new. ld is the linker and it tries to create a new .exe - so when the exe is opened it can't do that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply