Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
How can I biuld codeblocks with codeblocks on linux
ollydbg:
--- Quote from: oBFusCATed on May 31, 2009, 02:44:15 pm ---It might be something different in wxGTK, than wxMSW (or its proper name). So you are lucky.
Do someone now if I can disable the precompiled header?
I'm 100% sure that it is the cause of the broken debugging and strange error messages that I receive:
--- Code: ---In file included from /home/obfuscated/projects/codeblocks/brances/wxfnb_to_wxaui/src/include/sdk_precomp.h:10:
include/editorbase.h: In member function ‘wxArrayString Parser::FindFileInIncludeDirs(const wxString&, bool)’:
include/editorbase.h:1092: error: ‘_1’ was not declared in this scope
--- End code ---
--- End quote ---
stahta01 had done some non-pch build, you can ask him.
oBFusCATed:
No need,
I've hacked it and now I have non-pch build with working the debugging of plugins
MortenMacFly:
--- Quote from: oBFusCATed on May 31, 2009, 02:44:15 pm ---Do someone now if I can disable the precompiled header?
--- End quote ---
Undefine USE_PCH and WX_PRECOMP, define NOPCH and do not use -Winvalid-pch.
bruin:
Hello,
I can't debug Codeblocks from inside Codeblocks either.
I've built Codeblocks from inside Codeblocks and removed the strip commands from update. I've also followed the instructions to build without precompiled headers.
The program starts normally, but I'm trying to set breakpoints, and I always have this output:
--- Quote ---Building to ensure sources are up-to-date
Build succeeded
Selecting target:
src
Adding source dir: /home/codeblocks/trunk/src/
Adding source dir: /home/codeblocks/trunk/src/
Changing directory to: devel
Adding file: devel/codeblocks
Starting debugger:
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger name and version: GNU gdb 6.8-debian
No source file named /home/codeblocks/trunk/src/plugins/debuggergdb/debuggertree.cpp.
Breakpoint 1 ("/home/codeblocks/trunk/src/plugins/debuggergdb/debuggertree.cpp:138) pending.
--- End quote ---
The breakpoint is always pending. gdb doesn't seems to be finding the source files. This happens with command-line gdb as well. Any suggestions would be appreciated!
Cheers
oBFusCATed:
It looks like you have not removed the pch correctly
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version