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");
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.