The error I get, on SVN 3858; This issues has been fixed in SVN. Thanks, Tim S
:: === wxSmith - Contrib Items, wxSmithContribItems ===
C:\wx\inno\wxWidgets-2.6\wxWidgets-2.6.4-work\include\wx\dnd.h:53: warning: inline function `bool wxIsDragResultOk(wxDragResult)' declared as dllimport: attribute ignored
..\wxSmith\wxwidgets\wxsevents.h:142: error: field `m_Functions' has incomplete type
..\wxSmith\wxwidgets\wxsevents.h:108: error: `m_Functions' was not declared in this scope
..\wxSmith\wxwidgets\wxsevents.h:111: error: `m_Functions' was not declared in this scope
:: === Build finished: 3 errors, 1 warnings ===
Possible fix below.
Index: src/plugins/contrib/wxSmith/wxwidgets/wxsevents.h
===================================================================
--- src/plugins/contrib/wxSmith/wxwidgets/wxsevents.h (revision 3859)
+++ src/plugins/contrib/wxSmith/wxwidgets/wxsevents.h (working copy)
@@ -1,6 +1,7 @@
#ifndef WXSEVENTS_H
#define WXSEVENTS_H
+#include <wx/arrstr.h> // wxArrayString
#include <tinyxml/tinyxml.h>
#include "../wxscodinglang.h"
Tim S
Can you change the Library name like the rest of them are?
Index: src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (revision 3869)
+++ src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (working copy)
@@ -46,7 +46,7 @@
<Linker>
<Add library="wxsmith" />
<Add library="codeblocks" />
- <Add library="wxmsw26u" />
+ <Add library="wxmsw26$(WX_SUFFIX)" />
<Add directory="$(#cb)\devel" />
<Add directory="$(#wx.lib)\gcc_dll" />
<Add directory="..\..\..\devel\share\CodeBlocks\plugins" />
Can you change the Library name like the rest of them are?
Ok, no problem, but it should also be changed in plugin wizard too
BYO
I have no idea on the wizard, but keeping them all the same in Code::Blocks projects makes it easier to do the ANSI builds.
I updated the patch below.
Index: src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp
===================================================================
--- src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (revision 3869)
+++ src/plugins/contrib/wxSmithContribItems/wxSmithContribItems.cbp (working copy)
@@ -13,6 +13,10 @@
<Option compiler="gcc" />
<Option host_application="$(#cb)\devel\codeblocks.exe" />
</Target>
+ <Environment>
+ <Variable name="WX_SUFFIX" value="u" />
+ <Variable name="WX_CFG" value="" />
+ </Environment>
</Build>
<VirtualTargets>
<Add alias="All" targets="wxSmithContribItems;" />
@@ -46,9 +50,9 @@
<Linker>
<Add library="wxsmith" />
<Add library="codeblocks" />
- <Add library="wxmsw26u" />
+ <Add library="wxmsw26$(WX_SUFFIX)" />
<Add directory="$(#cb)\devel" />
- <Add directory="$(#wx.lib)\gcc_dll" />
+ <Add directory="$(#wx.lib)\gcc_dll$(WX_CFG)" />
<Add directory="..\..\..\devel\share\CodeBlocks\plugins" />
</Linker>
<ExtraCommands>
Tim S