User forums > Using Code::Blocks

build and run? n00b here

<< < (2/3) > >>

sh0ckerturb0:

--- Quote from: jens on February 05, 2011, 12:40:14 am ---There are two versions of C::B on our site, one with and one without MinGW included in the package.
Are you sure you have a compiler installed.

If you do not use a project the default compiler is used to compile a single file.
If you hava a compiler is it set as your default compiler ?

--- End quote ---

how stupid. I figured it out. The directory for the compiler wasn't auto detected and was set to "C:/ming" for some WEIRD reason. I just clicked auto detect and it found the correct path and fixed my problem... Thanks for the help guys!

harsha049:
How did you detect your compiler location?
I got the same problem. I couldnot locate it. Please explain it in detail. I installed CodeBlocks 10.05[not the mingw version].

On building the 'hello world' program, i dont get any response. suggest me a solution.

harsha049:
I dint install the Ming version. Correct me if I m wrong..
I can use any compiler, right? I got a TurboC++ compiler installed in my PC already. It works only in windows7 32-bit version(that too, not in full screen mode). Can i use that compiler?
I changed these settings. What additional details should I change?
-->Settings-->Compiler and Debugger Settings-->Search Directories-->Compiler-->Add-->Browse to Bin folder

MortenMacFly:

--- Quote from: gasp3r on February 12, 2011, 05:47:22 pm ---Can i use that compiler?

--- End quote ---
Never tried, but as this compiler is REALLY old, it may not work, indeed. What you can try is to map this compiler to the borland compiler and hopefully the command line is still compatible. If not, choose a compiler that is not ~15 years old.

harsha049:
Thank you for the info regarding the compiler. So my only option is to install a Ming version. Is there an alternative :)?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version