User forums > General (but related to Code::Blocks)
Problem Building project with Code::Block
Jenna:
Go to "Settings -> Compiler and debugger... -> GCC -> Toolchain executables" and make sure the compiler installation dir points to the directory of your MinGW-install that includes the bin-dir (not the bin-dir itself) and make sure the executables that are set exist in the bin-dir of your MinGW-install.
stahta01:
It looks like you have added the include path the Compilers uses automatically in the wrong way.
Check your Code::Blocks compiler configuration.
Edit: Make sure you pick the right Compiler from the "Selected Compiler" Pull-down list and make it the default compiler
This one is likely right
"Settings->Compiler and Debugger->Global Compiler settings->Toolchain executables"
But,
"Settings->Compiler and Debugger->Global Compiler settings->Search Directory" is likely wrong
The Three Sub Tabs are empty on me.
And
"Settings->Compiler and Debugger->Global Compiler settings->Linker Settings"
is also empty on mine.
Tim S.
arashfahim:
The compiler I chose is GNU GCC Compiler.
"Settings->Compiler and Debugger->Global Compiler settings->Search Directory" was not empty in mine. I deleted all the PATHs.
The other tabs were empty.
It fixed the problem. Thanks a lot every body.
Navigation
[0] Message Index
[*] Previous page
Go to full version