Sorry guys, but sometimes it's hard for me to understand how you manage to compile C::B on Linux. I just 'svn update'd to r4399, after doing that last time around a week ago, from a revision around r4360 or so, which compiled cleanly from start to finish. But today, after routinely issuing './bootstrap ; ./configure --prefix=/usr --with-contrib-plugins=all ; make' I stumble across dozens of compiler errors (undefined symbols, syntax errors, etc.) which at first sight seem irritating, but at second sight are easily resolved only inserting header files (C::B and wx) and nothing else! To keep my posting short I only give some significant examples:
sdk/manager.cpp:
* wxTheApp undefined => <wx/app.h>
sdk/uservarmanager.cpp:
* invalid cast to wxButton in XRCCTRL => <wx/button.h>,
* wxTextEntryDialog undefined => <wx/txtdlg.h>
src/infopane.cpp:
* cbThrow undefined => #include <cbexception.h>
Since r4399 obviously compiled fine on your systems, any hints where these problems could rise from in my case?
Apropos headers: Looking at some of the files in sdk/ and src/ I'm also confused how to use the various SDK header files in conjunction with CB_PRECOMP (also in view of
http://forums.codeblocks.org/index.php/topic,6676.0.html). Can someone point me to clear C::B policies concerning the correct usage of CB_PRECOMP, sdk.h and sdk_precomp.h?
Many thanks,
Oliver