ld.exe||cannot find C:\irrlicht-1.8.1: Permission denied

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
Netan MalDoran
Posts: 5
Joined: Sat Aug 08, 2015 6:18 am

ld.exe||cannot find C:\irrlicht-1.8.1: Permission denied

Post by Netan MalDoran »

Hi everyone!
So I'm brand new to using Irrlicht and I was having a few problems with interfacing it with a game that I'm creating.
I got all but one of the tutorials to work just fine (Mesh one was missing a library) so I decided to modify one of the basic ones to try and generate some primitive graphics from my game. I included the modified code into my game project and linked everything, once linked the only compiler error is this: ld.exe||cannot find C:\irrlicht-1.8.1: Permission denied|. Does anyone know what this is and how to fix this? Is there some sort of command that I'm supposed to include to grant me permissions to the libraries? I'm currently using the GCC MinGW compiler on Code::Blocks and until now I have never seen an error like this.
Thanks!
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: ld.exe||cannot find C:\irrlicht-1.8.1: Permission denied

Post by CuteAlien »

Never seen that before. Is this the complete error?

My best guess from that is - for some reason you don't have permission to access that folder. Maybe it's still used in some way by some application. Or maybe some anti-virus software is interfering - seems Commodo sometimes doesn't like people compiling their own stuff.
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
mongoose7
Posts: 1227
Joined: Wed Apr 06, 2011 12:13 pm

Re: ld.exe||cannot find C:\irrlicht-1.8.1: Permission denied

Post by mongoose7 »

It might be that he passed the directory instead of the library. I think you get 'permission denied' when you try to read a directory as a file.
Netan MalDoran
Posts: 5
Joined: Sat Aug 08, 2015 6:18 am

Re: ld.exe||cannot find C:\irrlicht-1.8.1: Permission denied

Post by Netan MalDoran »

Well, I'm not sure what I did, but I replaced the current version with one that I worked on separately on vacation (I had twiddled with the linker to work with the other computer) but got new errors that I fixed by adding the libraries to the .exe, now it works, thanks for replies!
Post Reply