User forums > Using Code::Blocks
compiler issues
stahta01:
--- Quote from: xLordRADx on March 26, 2007, 01:18:04 am ---I'm not sure what you mean. Where do I find the release target? When I open build options and go to search directories I have "C:\Program Files\MinGW\bin".
--- End quote ---
What is the path of you MinGW Installation?
If it is, "C:\Program Files\MinGW", please change it to a path without spaces. The standard path is "C:\MinGW", I use "C:\apps\MinGW" myself.
Too many things do NOT work with spaces in the path.
Tim S
xLordRADx:
Well, I just added "D:\Main\Programming\CodeBlocksNightly\bin" as the compiler, linker and resource compiler search directory for default and the project. I still get the same error, ""Console application - default" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done."
stahta01:
--- Quote from: xLordRADx on March 26, 2007, 02:11:21 am ---Well, I just added "D:\Main\Programming\CodeBlocksNightly\bin" as the compiler, linker and resource compiler search directory for default and the project. I still get the same error, ""Console application - default" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done."
--- End quote ---
That is the wrong place or wrong value!!
What is your minGW installation folder?
Did you install MinGW?
I am still willing to help you, but you MUST answer my questions on your setup!
If, you do not want to do that here is the WiKi Info:
http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_nightly_build_on_Windows
Assuming your MinGW Installation Directory is "C:\MinGW"
Verify it is Correctly set under
"Settings" -> "compiler and debugger"
Make sure "Selected Compiler" Says "GNU GCC Compiler"
Select "Toolchain Executable" as the setting to change.
Verify that the "Compiler's Installation Directory" is "C:\MinGW"
Select "Search Directories" as the setting to change.
Delete the values under "Compiler", "Linker" and "Resource Compiler"
Click OK
Exit out of Code::Blocks
Reenter code::blocks
"Settings" -> "compiler and debugger"
Make sure "Selected Compiler" Says "GNU GCC Compiler"
Select "Search Directories" as the setting to change.
Verify that the correct values are in "Compiler", "Linker" and "Resource Compiler".
"Compiler"
C:\MinGW\include
"Linker"
C:\MinGW\lib
"Resource Compiler"
C:\MinGW\include
Tim S
xLordRADx:
Following those steps fixed it perfectly. Thank you very much. :)
As for where MinGW was installed, it is located in the Code::Blocks directory mentioned in my last post. I also performed a seperate manual installation of it in C:/Program Files/MinGW/. I switched the search directory to the former because you said spaces can cause problems. Sorry for the confusion.
xLordRADx:
When C::B runs, does it search for the latest required files within it's parent directory, or just the files with the proper name in the home directory. In other words, I'm wondering if I make seperate folders directly under the main C::B folder for the files of each nightly build, will it run expectedly?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version