Hello .
Well here is my problem , no matter what program i write in codeblocks it allways give me the same error saying:
-------------- Build: Debug in ttt ---------------
Compiling: Untitled1.c
mingw32-gcc.exe: -pg and -fomit-frame-pointer are incompatible
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Can someon help me with this??. I have windows7, im using "c" , i try dowloading again and intalling but nothing happen i already try downloading another version but it throws the same error.
http://wiki.codeblocks.org/index.php?title=FAQ-Issues_and_Workarounds#Q:_I_posted_on_the_forums_that_Code::Blocks_was_not_working.2C_but_no_one_could_help_me.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Issues_and_Workarounds#Q:_I_posted_on_the_forums_that_Code::Blocks_was_not_working.2C_but_no_one_could_help_me.3F)
Thanks stahta01 for reply but i cant find a solution to that problem.
Remove this options from your project or target settings and it will work again.
oBFusCATed what do you said i need to do?
That you have to read the manual available on the site.
Or you could read the error message that you posted, which really explains everything.
Sorry but i started just 2 month ago with c leaguaje so im not soo good with this porgram, thats why even if i read that error i dont have a clue of what i need to do to make this program build, if you can tell me step by step what i need to do i will really apreciate that efford.
Quote from: santi987655 on October 24, 2013, 09:23:41 PM
-------------- Build: Debug in ttt ---------------
Compiling: Untitled1.c
mingw32-gcc.exe: -pg and -fomit-frame-pointer are incompatible
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
well, what is written here: " -pg and -fomit-frame-pointer are incompatible"
that means "-pg" and "-fomit-frame-pointer" are incompatible compiler flags... I don't think that this are standard falgs, so probably you set the flags, and so we asume you know where set it.
if you don't know: Project->Build options->Compiler flags
or: Project->Build options->Other options
if you don't know what flags are: http://bit.ly/H7eloX
greetings
greetings
Thaks i will try doing that. :D
I try puting all the flags on and then try to buil but it throws the sime error. :(
Quote from: santi987655 on October 25, 2013, 09:21:20 PM
I try puting all the flags on and then try to buil but it throws the sime error. :(
TRY Turning the flags off!!
Tim S.
Hm, I guess you have problem with the meaning of incompatible.
In this context it means that you cannot have -pg and -fomit-frame-pointer enabled at the same time. So you either enable -pg and disable -fomit-frame-pointer or vice versa.
Quote from: santi987655 on October 25, 2013, 09:21:20 PM
I try puting all the flags on and then try to buil but it throws the sime error. :(
1) i would suggest you to read a english dictionary. In the errormesage is clearly written what the problem is, turning al flags on doesn't make sense with your error message...
2) You should relay read some c/c++ tutorials and understand the basics. this is the wrong place to ask....
3) Your flags are not the basic flags ("Hello world basic"), i would suggest you to try first Hello world programs, to understand the compiler and linker, don't think you can avoid these in programming with c...
4) If you have a other compiling issue read pleas the faqs and use the template specified there : http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29
I'm out...
I alrready try using "Hello world" but nothing is the sime error . I dont know what the hell i need to do to get rid of this problem. The only thing im doning is reading all the information that you post but nothing not a clue of who i can build projects.
I dont know why i cant build projects i mean i did the sime thing in the university computer and everything works perfectly
Well for the people who dont know how to solve this problem you need to go to
Compiler and Debugger settings < Compiler Flags < "Profile code when executed [-pg]" and put off that one .