News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

cannot find C:\MinGW\lib: Permission Denied

Started by Atifhossain, March 07, 2013, 09:19:51 AM

Previous topic - Next topic

Atifhossain

I downloaded Code Blocks  12.11 , then downloaded the MinGW compiler and also SFML. Then I moved the (SMFL) folder from (SMFL../include ) to (C:/MinGw/include) and also copied all the .a files from (SMFL../lib) to (MinGw/lib). I then compiled and ran a hello world project in Code::Blocks

The build message says :

cannot find C:\MinGW\lib: Permission Denied
What to do ?

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

stahta01

Quote from: Atifhossain on March 07, 2013, 09:19:51 AM
I compiled and ran a project in Code::Blocks 12.11.The build message says :

cannot find C:\MinGW\lib: Permission Denied
What to do ?

Simple question, does the folder "C:\MinGW\lib" exist?
Can you open it when not using Code::Blocks?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Atifhossain

Quote from: stahta01 on March 07, 2013, 10:07:55 AM

Simple question, does the folder "C:\MinGW\lib" exist?
Can you open it when not using Code::Blocks?

Tim S.

Yea . The folder exist and I CAN open it from outside too.

stahta01

What is the path inside Code::Blocks set to for the compiler toolchain?

What is the "message log" output in full compiler logging mode?

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Atifhossain

Quote from: stahta01 on March 07, 2013, 03:55:16 PM
What is the path inside Code::Blocks set to for the compiler toolchain?

What is the "message log" output in full compiler logging mode?

Tim S.

I moved the MinGW file from Local Disk (C) to Dekstop and changed the corresponding settings in Code Blocks. And yet the same result.
The Path Inside the Code Blocks is set as --   C:\Documents and Settings\HP\Desktop\MinGW  --.
I have no idea as to what do you mean by the second question.

stahta01

Quote from: oBFusCATed on March 07, 2013, 10:00:13 AM
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Quote from: Atifhossain on March 07, 2013, 04:13:19 PM
Quote from: stahta01 on March 07, 2013, 03:55:16 PM
What is the path inside Code::Blocks set to for the compiler toolchain?

What is the "message log" output in full compiler logging mode?

Tim S.

I moved the MinGW file from Local Disk (C) to Dekstop and changed the corresponding settings in Code Blocks. And yet the same result.
The Path Inside the Code Blocks is set as --   C:\Documents and Settings\HP\Desktop\MinGW  --.
I have no idea as to what do you mean by the second question.


Read the stuff people post or quit posting on this site!

Quote from: oBFusCATed on March 07, 2013, 10:00:13 AM
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Atifhossain