User forums > Help
errors compiling with wxgtk 2.7.1
killerbot:
--- Quote from: xhrit on September 08, 2006, 06:16:55 am ---ok, so i removed wxwidgets 2.7 and installed 2.6 + patch as described in the wiki. (someone should really change the wiki - it said i could use 2.6 *or later*.) Anyway, everything compiles fine for a while... then it pops an error.
In file included from debuggerstate.cpp:2: debuggerstate.h:28: error: `cbProject' was not declared in this scope
--- End quote ---
try again with rev 2959
xhrit:
how do I get rev 2959?
I changed this :
#ifndef CB_PRECOMP
#include "cbproject.h"
#endif
...to this :
#ifndef CB_PRECOMP
#include "../sdk/cbproject.h"
#endif
...and then moved it in front the block ov #includes. Then i make again, and it compiled fine for a while. Then it gives me another error.
I ignore it, and just run su make install codeblocks. It works, sorta. On start it displays a notice that some plugins failed to load (every plugin after and including debugger.) And it wont allow a new project or file to be created, only a blank file. It does however compile and run a hello world program if i type one out in a blank file and save as .cpp - then i can press teh compile/run buttons.
killerbot:
well since you got the souces from CB, I guess you are using svn --> svn update
xhrit:
ok, so i did that, and compile again.
gdb_tipwindow.cpp: In member function `wxSize
GDBTipWindowView::GetTextSize(wxArrayString&, const wxString&, int, int)':
gdb_tipwindow.cpp:365: error: `DBGLOG' undeclared (first use this function)
same error as before. so.. I ignore it again, and just run su make install codeblocks. It works, better then before, but not much. On start it still displays a notice that some plugins failed to load (but lists less plugins, only 3 this time) However, it still will not allow a new project or file to be created.
killerbot:
--- Quote from: xhrit on September 08, 2006, 11:08:14 pm ---ok, so i did that, and compile again.
gdb_tipwindow.cpp: In member function `wxSize
GDBTipWindowView::GetTextSize(wxArrayString&, const wxString&, int, int)':
gdb_tipwindow.cpp:365: error: `DBGLOG' undeclared (first use this function)
same error as before. so.. I ignore it again, and just run su make install codeblocks. It works, better then before, but not much. On start it still displays a notice that some plugins failed to load (but lists less plugins, only 3 this time) However, it still will not allow a new project or file to be created.
--- End quote ---
ok, we will fix the dependency tomorrow, for now you can safely comment out that line or you leave the line but then you need to #include "messagemanager.h" and #include "manager.h"
My suggestion : comment it out ;-)
[edit] : committed : rev 2964 (commented out the line)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version