User forums > Help

default compiler setting

(1/2) > >>

aguai:
it seems I lost my default compiler setting

anyone tells me how to reinstall this?

Michael:
Hello,

Which C::B/OS version?

Can you explain what do you exactly mean by "I lost my default compiler setting"? Did not work the button "Reset defaults" in Settings-->Compiler and debugger?

Best wishes,
Michael

aguai:
sorry

my Im using win32 version

I clumsyly change the gcc default into cygwin dir

and then

every exe file become fail....

let say....

it outputs wrong answer....

and I cannot get the default back because i reset that into default

so everything about gcc is wrong...

I have to include <iostream.h> but firmly <iostream>
:P

so...

plz give tell me how to pure reinstall this....

Michael:
Hello,

I assume you have MinGW installed by yourself. Then the best thing would be to:

1) Settings-->Compiler and debugger-->Programs tab-->GNU GCC Compiler
2) Under Compiler's installation directory, you put the directory where MinGW is installed, e.g., C:\MinGW.

Alternatively you can try with the Auto-detect button and see if it works.

If you do not have MinGW installed by yourself (not the one that come with RC2), I would advice to download it (installer MinGW 5.0.2) and install it (the candidate release). Then you try Auto-detect or you manually select the MinGW home directory.

If you have problems, just post them here :).

Best wishes,
Michael

fredo:
Hi!

I am learning the language c in Windows.
i have downloaded and installed "codeblocks-1.0rc2_mingw.exe". But by compiling the simplest program "hello wordl" i receive the next error message:
--------------------------------------------------------------------------------
Switching to target: default
Linking console executable: U:\C_programm\third\console.exe
mingw32-g++.exe: no input files
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings


Could anyone help me please? 

thanks!!

Navigation

[0] Message Index

[#] Next page

Go to full version