Revision 3353 failed to build here (Linux, gcc 4.1.1, wxGTK 2.6.2) with following errors while compiling tinywxuni.cpp:
In file included from ../../../src/sdk/sdk_precomp.h:8,
from tinywxuni.cpp:1:
../../../src/sdk/sdk_common.h:89:32: error: wx/wxscintilla.h: No such file or directory
../../../src/sdk/cbeditor.h:23: error: expected class-name before '{' token
../../../src/sdk/cbeditor.h:317: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:318: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:319: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:320: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:321: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:322: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:323: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:324: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:325: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/cbeditor.h:326: error: 'wxScintillaEvent' has not been declared
../../../src/sdk/editorcolourset.h:44: error: 'wxSCI_KEYWORDSET_MAX' was not declared in this scope
../../../src/sdk/editorcolourset.h:52: error: 'wxSCI_KEYWORDSET_MAX' was not declared in this scope
The problem is the missing header, the other errors are just results of it.
It can be solved with this patch:
Index: src/sdk/tinyxml/Makefile.am
===================================================================
--- src/sdk/tinyxml/Makefile.am (revision 3353)
+++ src/sdk/tinyxml/Makefile.am (working copy)
@@ -1,4 +1,5 @@
-INCLUDES = $(WX_CXXFLAGS)
+INCLUDES = $(WX_CXXFLAGS) \
+ -I$(top_srcdir)/src/sdk/wxscintilla/include
sdkdir=$(includedir)/codeblocks/tinyxml
Edit:
Should be fixed by revision 3355. Thanks.