User forums > Help

Build and run doesnt work and colours dont appear

<< < (3/3)

Jenna:
Did you try what I asked you to do:

--- Quote from: jens on September 05, 2011, 08:40:53 pm ---
--- Quote from: Just_A_Guy on September 05, 2011, 08:27:26 pm ---
--- Quote from: jens on September 05, 2011, 07:35:21 pm ---On windows, you might need to scroll the BUild log, to see the output.
Their seem to be sometimes refreshing issues with wxWidgets on windows.

--- End quote ---
I dont get it? You mean i need to select the output that works on windows 7?

--- End quote ---

If you don't see any output in the "Build log", you might need to click into it and scroll it with the mousewheel, or scroll it with the scrollbar to make the content visible.
I only saw this on windows (xp and win7), not on any of the linuxes I tested.
Not sure if this also happens for the "Build messages" (and other listlogs), or only for textlogs like the "Build log".

--- End quote ---

Alpha:

--- Quote from: Just_A_Guy on September 07, 2011, 04:25:32 pm ---My default compiler is GNU GCC Compiler (C:\MinGW)

--- End quote ---
Is C:\MinGW the actual physical location on your hard-drive (of the mingw installation), or is it the location Code::Blocks has registered as the Compiler's installation directory (or both)?
If it is only the Compiler's installation directory, change the Compiler's installation directory to <CodeBlocksInstallFolder>\MinGW (most likely C:\Program Files\CodeBlocks\MinGW); this is where codeblocks-10.05mingw-setup.exe would have installed MinGW (do not click Auto-detect, because this often only resets the path from my experience).

If you have not yet, make sure you try what jens asked, as Code::Blocks "should" always output at least something to the logs.

Just_A_Guy:

--- Quote from: jens on September 07, 2011, 09:19:37 pm ---Did you try what I asked you to do:

--- Quote from: jens on September 05, 2011, 08:40:53 pm ---
--- Quote from: Just_A_Guy on September 05, 2011, 08:27:26 pm ---
--- Quote from: jens on September 05, 2011, 07:35:21 pm ---On windows, you might need to scroll the BUild log, to see the output.
Their seem to be sometimes refreshing issues with wxWidgets on windows.

--- End quote ---
I dont get it? You mean i need to select the output that works on windows 7?

--- End quote ---

If you don't see any output in the "Build log", you might need to click into it and scroll it with the mousewheel, or scroll it with the scrollbar to make the content visible.
I only saw this on windows (xp and win7), not on any of the linuxes I tested.
Not sure if this also happens for the "Build messages" (and other listlogs), or only for textlogs like the "Build log".

--- End quote ---

--- End quote ---
Yes i did.
I reïnstalled today CB, and finally it shows something up in the Build Log. (i've made a project cpp).
Its says: "ProjectName - TargetName": The compiler's setup is invalid so Code::Blocks cannot find/run the compiler. Probably the
toolchain path within the compiler options is not setup correctly?! Skipping...
So i know it cant find the compiler.
But i cant find the MinGW file.
--- Quote from: Alpha on September 08, 2011, 04:30:23 am ---
--- Quote from: Just_A_Guy on September 07, 2011, 04:25:32 pm ---My default compiler is GNU GCC Compiler (C:\MinGW)

--- End quote ---
Is C:\MinGW the actual physical location on your hard-drive (of the mingw installation), or is it the location Code::Blocks has registered as the Compiler's installation directory (or both)?
If it is only the Compiler's installation directory, change the Compiler's installation directory to <CodeBlocksInstallFolder>\MinGW (most likely C:\Program Files\CodeBlocks\MinGW); this is where codeblocks-10.05mingw-setup.exe would have installed MinGW (do not click Auto-detect, because this often only resets the path from my experience).

If you have not yet, make sure you try what jens asked, as Code::Blocks "should" always output at least something to the logs.

--- End quote ---
This location doesnt exist when i put it in the adress bar.
C:\Program Files (x86)\CodeBlocks, is the only location where i can find this file: mingwm10.dll

MortenMacFly:

--- Quote from: Just_A_Guy on September 10, 2011, 11:27:29 am ---This location doesnt exist when i put it in the adress bar.
C:\Program Files (x86)\CodeBlocks, is the only location where i can find this file: mingwm10.dll

--- End quote ---
Come one, a little thinking might help - surely the "Program Files" might not be there, so search for a folder named "MinGW" on your HDD: If it doesn't exist this means you did *not* install the compiler of the MinGW-based C::B setup file. In that case, run the installation again and make sure you select the compiler.

Please note: C::B is just an IDE that drives many compilers, so providing a compiler with C::B is something we only do for MinGW (as C::B is compiled under Windows using MinGW). You can (however) always install another compiler of your choice (i.e. MinGW based, too) and adjust the compiler path accordingly.

Read the C::B manual on how to do so.

Just_A_Guy:
Problem solved guys.
Thanks for all your help  :D

Navigation

[0] Message Index

[*] Previous page

Go to full version