Author Topic: Keep getting "No such file: Permission Denied"  (Read 5033 times)

Offline neros1x

  • Single posting newcomer
  • *
  • Posts: 2
Keep getting "No such file: Permission Denied"
« on: January 28, 2011, 05:48:01 am »
I am trying to compile the sample code generated when opening a new wxwidgets project wizard. I keep getting an error in the build log that says, "C:\wxWidgets-2.8.11\lib\gcc_dll\mswu: No such file: Permission denied". I have looked on my drive and it is there in that path. I have tried changing the permissions for the wxWidgets-2.8.11 folder and this does not work either.
I already looked at these two posts: http://forums.codeblocks.org/index.php/topic,13030.0.html and http://forums.codeblocks.org/index.php/topic,12950.0.html. Neither seemed to help.

I am using mingw32-gcc included with Code::Blocks 10.05, and Windows 7 64bit, I downloaded wxMSW-2.8.11 just a few hours ago, and compiled it using the wiki.codeblocks.org.
I did it exactly as the wiki says: unicode, release, monolithic, and share.

I am new to Code Blocks and have never used wxWidgets before, but I have been able to do everything in Code Blocks just fine up until this point (over the past 3 months).

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7789
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline neros1x

  • Single posting newcomer
  • *
  • Posts: 2
Re: Keep getting "No such file: Permission Denied"
« Reply #2 on: January 28, 2011, 04:17:50 pm »
Heh, I think I figured it out. This morning, when I went to do what you asked, I couldn't open my wxwidgets projects because it kept asking me to define "wx" for the currently active set. I had previously set up "wx" under a set I created named "wxwidgets", because I didn't want the wx variable when I was doing other things. (Is that even an issue, or can I just leave it in the default set). So I guess that even though I selected the "wxwidgets" set it wasn't active. I defined wx in the default set and it opened and compiled just fine.

So now I have to go wiki hunt for setting active sets. Thanks anyway.