User forums > Help
Need help compiling
(1/1)
-LeetGamer-:
Okay, well I'm no noob to programming. I have advanced Console application knowledge and okay Win32 knowledge in C++. I've used Code::Blocks before and it has always worked for me, but all my compilers started acting up for no reason whatsoever so I uninstalled them all and re-installed them, now when I compile any project even a console application hello world program I get this:
--- Code: ---mingw32-g++.exe: -pg and -fomit-frame-pointer are incompatible
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
--- End code ---
Does anyone think they can help me please?
stahta01:
Delete or fix your Compiler Configuration is the most likely solution.
Under the special folder %APPDATA% look for codeblocks subfolder the configuration should be in "default.conf" file rename or delete it with Code::Blocks closed.
Opening Code::Blocks should recreate it.
Tim S.
-LeetGamer-:
--- Quote from: stahta01 on September 13, 2010, 08:36:50 pm ---Delete or fix your Compiler Configuration is the most likely solution.
Under the special folder %APPDATA% look for codeblocks subfolder the configuration should be in "default.conf" file rename or delete it with Code::Blocks closed.
Opening Code::Blocks should recreate it.
Tim S.
--- End quote ---
It still does the same thing :(
When you say Opening Code::Blocks should recreate it do you mean I have to delete that thing when Code::Blocks is open every time ? =/
stahta01:
--- Quote from: -LeetGamer- on September 14, 2010, 10:06:36 pm ---When you say Opening Code::Blocks should recreate it do you mean I have to delete that thing when Code::Blocks is open every time ? =/
--- End quote ---
No.
Tim S.
stahta01:
Next thing to do is remove the compiler options -pg and -fomit-frame-pointer from your project.
Note: Turning on FULL compiler Logging helps you to understand the CB/Compiler issues.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Tim S
Navigation
[0] Message Index
Go to full version