I just committed a bunch of fixes to make the contrib-plugins compilable with wxWidgets 2.9.
FYI: Those building against wxWidgets 2.9 trunk; I had to set wxUSE_WEBVIEW to 0 [in setup.h] to build [wxWidgets] using MinGW GCC.
It fixed the related wxWidgets build issue; some Microsoft constants and types are missing from the MinGW headers.
../../src/msw/webview_ie.cpp: In member function 'bool wxWebViewIE::IsElementVisible(IHTMLElement*)':
../../src/msw/webview_ie.cpp:916:5: error: 'IHTMLCurrentStyle' was not declared in this scope
Tim S.
Anyone able to build C::B Share Config wxWidgets 2.9?
I am getting build errors using mingw.org 4.7 GCC when using wxWidgets trunk.
The errors look like Compiler issue of mixing Dwarf 2 and SJLJ object files.
Found workaround changed library name "txml" to "txml29"; but, I have been awake a little too long to be sure it is correct.
Patch for the Windows project file; the Unix file likely has the same problem.
Index: src/tools/cb_share_config/cb_share_config_wx29.cbp
===================================================================
--- src/tools/cb_share_config/cb_share_config_wx29.cbp (revision 8300)
+++ src/tools/cb_share_config/cb_share_config_wx29.cbp (working copy)
@@ -44,7 +44,7 @@
</ResourceCompiler>
<Linker>
<Add option="-mthreads" />
- <Add library="txml" />
+ <Add library="txml29" />
<Add library="wxmsw$(WX_VERSION)$(WX_SUFFIX)" />
<Add directory="$(#WX29.lib)\gcc_dll$(WX_CFG)" />
<Add directory="..\..\base\tinyxml" />
Result of activate/deactivate/shutdown/startup plugin testing under Windows 7 32 bit
CppCheck (if it is active) causes shutdown alert.
Openfiles causes Alert when plugin is activated
Spellchecker causes crash on CB startup (I do NOT have the dictionary files on my system.)
wxSmith ContribItems (if installed; cause a startup alert; note it does not need to be active to trigger the alert)
If both wxSmith and Keybinder plugins are activated then shutdown alert happens.
Tim S.
Hello good developers. Trying to build version r8350 and am getting a build error in keybinder as follows:
codeblocks-head\src\plugins\contrib\keybinder\cbkeybinder.cpp: In member function 'void cbKeyBinder::MergeAcceleratorTable(bool)':
codeblocks-head\src\plugins\contrib\keybinder\cbkeybinder.cpp:800:47: error: 'wxCharCodeMSWToWX' was not declared in this scope
Running windows 32-bit, gcc (tdm-1) 4.6.1, wxWidgets 2.9.4 built from source with standard options.
Any ideas if this is a broken build or am I doing something wrong? Thanks.