pkulchenko / wxlua

wxlua: Lua bindings for wxWidgets cross-platform GUI toolkit; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and wxWidgets 3.x
306 stars 59 forks source link

fix for wxGTK version 3.1.2 #21

Closed ildar closed 5 years ago

ildar commented 5 years ago

build fails against wxGTK version 3.1.2. Would you please take a look?

> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxhtml_bind.cpp: In function 'int wxLua_wxHtmlCell_AdjustPagebreak(lua_State*)':
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxhtml_bind.cpp:89:83: error: no matching function for call to 'wxHtmlCell::AdjustPagebreak(int*, wxArrayInt&, int&)'
>       bool returns = self->AdjustPagebreak(&pagebreak, *known_pagebreaks, pageHeight);
> --
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxhtml_bind.cpp: In function 'int wxLua_wxHtmlDCRenderer_Render1(lua_State*)':
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxhtml_bind.cpp:3966:79: error: no matching function for call to 'wxHtmlDCRenderer::Render(int&, int&, wxArrayInt&, int&, int&, int&)'
>       int returns = (self->Render(x, y, *known_pagebreaks, from, dont_render, to));
> --
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxaui_bind.cpp: In function 'int wxLua_wxAuiMDIChildFrame_DoShow(lua_State*)':
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxaui_bind.cpp:12272:11: error: 'class wxAuiMDIChildFrame' has no member named 'DoShow'; did you mean 'Show'?
>       self->DoShow(show);
> --
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxaui_bind.cpp: In function 'int wxLua_wxAuiMDIChildFrame_GetIcon(lua_State*)':
> /usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxaui_bind.cpp:12288:59: error: taking address of temporary [-fpermissive]
>       const wxIcon* returns = (const wxIcon*)&self->GetIcon();
sonoro1234 commented 5 years ago

I also did build against wxWidgets tag v3.1.2 and wxLua wxwidgets311 with cmake with the same build errors

pkulchenko commented 5 years ago

Yes, wxwidgets changed the API, which needs to be reflected in wxlua.

sonoro1234 commented 5 years ago

Thanks for answering Paul.

Which is the rigth wxWidgets for building with wxLua wxwidgets311?

with wxWidgets tag v3.1.1 I am getting:

C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp: In member function 'virtual bool wxLuaBi
nding_wxcore::RegisterBinding(const wxLuaState&)':
C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7761:46: error: 'wxEVT_COMMAND_DIRPICKER_
CHANGED' was not declared in this scope
     wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED  = wxEVT_COMMAND_DIRPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7761:46: note: suggested alternative: 'wx
EVT_COMMAND_FONTPICKER_CHANGED'
     wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED  = wxEVT_COMMAND_DIRPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                              wxEVT_COMMAND_FONTPICKER_CHANGED
C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7762:46: error: 'wxEVT_COMMAND_FILEPICKER
_CHANGED' was not declared in this scope
     wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED = wxEVT_COMMAND_FILEPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7762:46: note: suggested alternative: 'wx
EVT_COMMAND_FONTPICKER_CHANGED'
     wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED = wxEVT_COMMAND_FILEPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                              wxEVT_COMMAND_FONTPICKER_CHANGED
pkulchenko commented 5 years ago

https://github.com/pkulchenko/wxWidgets/ should work. An older version may work as well, as the breaking changes were probably applied during the summer of 2018, but I don't remember the exact commit.

sonoro1234 commented 5 years ago

Ahh, it does not have cmake. That leds me to issue #22

sonoro1234 commented 5 years ago

compiled wxWidgets from https://github.com/pkulchenko/wxWidgets/ after setting setup.h with 28 compability and mingw32-make -f makefile.gcc BUILD=release

then wxLua with

"cmake"  -G"MinGW Makefiles"  -DCMAKE_BUILD_TYPE="RelWithDebInfo" -DwxWidgets_ROOT_DIR="C:\supercolliderrepos/wxWidgetsZB" -DwxWidgets_LIB_DIR="C:\supercolliderrepos/wxWidgetsZB\lib\gcc_lib"  -DwxWidgets_CONFIGURATION=mswu -DBUILD_VERBOSELY=TRUE -DBUILD_SHARED_LIBS=FALSE -DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE  -DwxLua_LUA_LIBRARY=C:\luaGL\sources\Lua5.1\Lua51.dll -DwxLua_LUA_INCLUDE_DIR=C:\luaGL\gitsources\lua\src  -DwxWidgets_COMPONENTS="stc;gl;html;aui;adv;core;net;base" -DwxLuaBind_COMPONENTS="stc;gl;html;aui;adv;core;net;base" ../wxLua/wxLua

getting the same errors as above (I add redefinition warnings)

C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:76:0: warning: "wxEVT_COMMAND_DIRPICKER_C
HANGED" redefined
     #define wxEVT_COMMAND_DIRPICKER_CHANGED  wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED

In file included from C:/supercolliderrepos/wxlua/wxLua/modules/wxbind/include/wxcore_bind.h:56:0,
                 from C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:19:
C:/supercolliderrepos/wxWidgetsZB/include/wx/filepicker.h:417:0: note: this is the location of the previous de
finition
 #define wxEVT_COMMAND_DIRPICKER_CHANGED    wxEVT_DIRPICKER_CHANGED

C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:77:0: warning: "wxEVT_COMMAND_FILEPICKER_
CHANGED" redefined
     #define wxEVT_COMMAND_FILEPICKER_CHANGED wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED

In file included from C:/supercolliderrepos/wxlua/wxLua/modules/wxbind/include/wxcore_bind.h:56:0,
                 from C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:19:
C:/supercolliderrepos/wxWidgetsZB/include/wx/filepicker.h:416:0: note: this is the location of the previous de
finition
 #define wxEVT_COMMAND_FILEPICKER_CHANGED   wxEVT_FILEPICKER_CHANGED

C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp: In member function 'virtual bool wxLuaBi
nding_wxcore::RegisterBinding(const wxLuaState&)':
C:\supercolliderrepos\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7761:46: error: 'wxEVT_COMMAND_DIRPICKER_
CHANGED' was not declared in this scope
     wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED  = wxEVT_COMMAND_DIRPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The lines causing this are

#if defined(__MINGW32__) || defined(__GNUWIN32__)
    #undef wxDefaultPosition
    #undef wxDefaultSize
    #undef wxEVT_COMMAND_DIRPICKER_CHANGED
    #undef wxEVT_COMMAND_FILEPICKER_CHANGED
    wxLua_wxDefaultPosition = wxDefaultPosition;
    wxLua_wxDefaultSize     = wxDefaultSize;
    wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED  = wxEVT_COMMAND_DIRPICKER_CHANGED;
    wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED = wxEVT_COMMAND_FILEPICKER_CHANGED;
#endif //__MINGW32__

The cause seems to be the undef before the assignation!!

It is obviously related to

# (temporary) fix for compilation issue in wxlua in Windows using mingw (r184)
  sed -i 's/defined(__MINGW32__) || defined(__GNUWIN32__)/0/' modules/wxbind/src/wxcore_bind.cpp

in zerobrane build-win32.sh (which means disable the preprocessor if) So I do the same in source and build fails in link phase after mingw32-make wxLuaModule

[  2%] Linking CXX shared library ..\..\bin\RelWithDebInfo\wx.dll
cd /d C:\supercolliderrepos\build_wxLua\modules\luamodule && C:\cmake-3.6.0\bin\cmake.exe -E cmake_link_script
 CMakeFiles\wxLuaModule.dir\link.txt --verbose=1
C:\cmake-3.6.0\bin\cmake.exe -E remove -f CMakeFiles\wxLuaModule.dir/objects.a
C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin\ar.exe cr CMakeFiles\wxLuaModule.dir/objects.a @CMake
Files\wxLuaModule.dir\objects1.rsp
C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin\g++.exe     -Wall -O2 -g -DNDEBUG  -shared -o ..\..\b
in\RelWithDebInfo\wx.dll -Wl,--out-implib,..\..\lib\RelWithDebInfo\libwx.dll.a -Wl,--major-image-version,0,--m
inor-image-version,0 -Wl,--whole-archive CMakeFiles\wxLuaModule.dir/objects.a -Wl,--no-whole-archive @CMakeFil
es\wxLuaModule.dir\linklibs.rsp
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxmsw31u_core.a(corelib_utilsgui.o):utilsgui.cpp:(.text+0xefc
): undefined reference to `_imp__SHAutoComplete@8'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxmsw31u_core.a(corelib_window.o):window.cpp:(.text+0xfdb5):
undefined reference to `LresultFromObject@12'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxmsw31u_core.a(corelib_textentry.o):textentry.cpp:(.text+0x8
c9): undefined reference to `_imp__SHAutoComplete@8'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxmsw31u_core.a(corelib_access.o):access.cpp:(.text+0x1fe): u
ndefined reference to `CreateStdAccessibleObject@16'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxbase31u.a(baselib_dlmsw.o):dlmsw.cpp:(.text+0x808): undefin
ed reference to `GetFileVersionInfoSizeW@8'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxbase31u.a(baselib_dlmsw.o):dlmsw.cpp:(.text+0xb3c): undefin
ed reference to `GetFileVersionInfoW@16'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxbase31u.a(baselib_dlmsw.o):dlmsw.cpp:(.text+0xb72): undefin
ed reference to `VerQueryValueW@16'
C:/supercolliderrepos/wxWidgetsZB/lib/gcc_lib/libwxbase31u.a(baselib_mimetype.o):mimetype.cpp:(.text+0x163a):
undefined reference to `_imp__AssocQueryStringW@24'
collect2.exe: error: ld returned 1 exit status
mingw32-make[3]: *** [modules\luamodule\CMakeFiles\wxLuaModule.dir\build.make:1484: bin/RelWithDebInfo/wx.dll]
 Error 1

What is needed for this undefined references?

found https://forums.wxwidgets.org/viewtopic.php?t=41973

so I am adding these libs to wxlua linking -lversion -lshlwapi -luxtheme -loleacc make the link phase to succed but still dont know how to add it to cmake files

ildar commented 5 years ago

With ZBS 1.80 I get:

lua5.1: src/editor/package.lua:466: wxLua: Unable to call an unknown method 'ReplaceTargetRaw' on a 'wxStyledTextCtrl' type.

Indeed, no ReplaceTargetRaw method. Paul, can you assist please?

pkulchenko commented 5 years ago

@ildar, where do you get this error from? There is a fallback when this method is not available (at least in my version of package.lua):

  if not self:IsValidProperty(editor, "ReplaceTargetRaw") then
    editor.ReplaceTargetRaw = function(self, ...)
      self:ReplaceTarget("")
      self:InsertTextDyn(self:GetTargetStart(), ...)
    end
  end
ildar commented 5 years ago

Ahh! sorry for the mess. Yes, this seems perfectly right. I need to rebuild wxlua and see. Thank you for care and rapid answer )))

pkulchenko commented 5 years ago

FWIW, I opened wxwidgets ticket for this issue (https://trac.wxwidgets.org/ticket/18108), but until it's fixed in wxwidgets, we won't be able to add it to wxlua.

ildar commented 5 years ago

Hmm, weird: with wx-3.1.1 and wxLua ead9b388 I get the error above. In that place if I insert:

  1. print (type(editor) .. "/") → userdata/
  2. print (type(editor) .. "/") ; print (type(editor.ReplaceTargetRaw) .. "/") ; → userdata/ lua5.1: src/editor/package.lua:465: wxLua: Unable to call an unknown method 'ReplaceTargetRaw' on a 'wxStyledTextCtrl' type.

At this point I have no idea how to fix that.

pkulchenko commented 5 years ago

@ildar, where do you do that print? How did you create editor? If you are not creating editor using ide:CreateStyledTextCtrl, you need to create ReplaceTargetRaw the way it's done there.

What version of ZeroBrane Studio are you using? This method was added in 1.80 (in commit 075ac71de), so you need to use that version (or later master branch)

ildar commented 5 years ago

I put print right to the src/editor/package.lua:465 (it's in the backtrace actually). I suggest it should show something as in line 466 you directly check its value. I got an idea to play with it in wxLuaEdit today, a little later. Will update in IRC + results here.

pkulchenko commented 5 years ago

What ZBS commit are you using? You may be referencing editor variable that has already need destroyed or that was created outside of CreateStyledTextCtrl method. What does tostring(editor) return?

ildar commented 5 years ago

https://codeload.github.com/pkulchenko/ZeroBraneStudio/tar.gz/1.80 It's 1.80 release.

ildar commented 5 years ago

userdata: 0xa9b708 [wxStyledTextCtrl(0xa75000, 526)]

ildar commented 5 years ago

hmm

print (tostring(editor) .. "/") ; print (tostring(editor.ReplaceTarget) .. "/") ; print (tostring(editor.ReplaceTargetRaw) .. "/") ;

brings:

userdata: 0xa987f8 [wxStyledTextCtrl(0xa72110, 526)]/ function: 0xa9aa50/ lua5.1: src/editor/package.lua:465: wxLua: Unable to call an unknown method 'ReplaceTargetRaw' on a 'wxStyledTextCtrl' type.

pkulchenko commented 5 years ago

Right, I realized that you are building wxlua yourself, so likely missing my (small) patch that hasn't been migrated to wxlua yet (https://github.com/pkulchenko/ZeroBraneStudio/blob/master/build/build-win32.sh#L310), as I couldn't get John L to agree to that (see the discussion for details), which is now probably a moot point and I should just add that commit then.

ildar commented 5 years ago

great! I'll build with it. Though I expected you commit it into your own https://github.com/pkulchenko/wxlua/ thanks for your support! have a good evening ))

pkulchenko commented 5 years ago

Yes, I'll do that. Absent that commit, you can wrap the check into pcall (with the associated memory leak as described in the discussion).

ildar commented 5 years ago

Thanks, it worked! cont: https://github.com/pkulchenko/ZeroBraneStudio/issues/994

pkulchenko commented 5 years ago

@ildar, @sonoro1234, I pushed fixes and API updates to a new branch that compiles against the current wxwidgets master branch: https://github.com/pkulchenko/wxlua/tree/wxwidgets312. I still plan to add several fixes and will bump a version of wxlua and make it a main branch.

Take a look and let me know if you notice any issues with it.

ildar commented 5 years ago

Awesome, thank you, Paul Though I can do that no soon then mid-next week

sonoro1234 commented 5 years ago

Cloning and compiling now!! Result

C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxstc_bind.cpp: In function 'int wxLua_wxStyledTextCtrl_Aut
oCompSetColours(lua_State*)':
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxstc_bind.cpp:867:11: error: 'class wxStyledTextCtrl' has
no member named 'AutoCompSetColours'; did you mean 'AutoCompSetFillUps'?
     self->AutoCompSetColours(*background, *text, *highlight, *highlightText);
           ^~~~~~~~~~~~~~~~~~
           AutoCompSetFillUps
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxstc_bind.cpp: In function 'int wxLua_wxStyledTextCtrl_Aut
oCompUseListCtrl(lua_State*)':
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxstc_bind.cpp:1075:11: error: 'class wxStyledTextCtrl' has
 no member named 'AutoCompUseListCtrl'; did you mean 'AutoCompPosStart'?
     self->AutoCompUseListCtrl(useListCtrl, *currentBgColour, *currentTextColour);
           ^~~~~~~~~~~~~~~~~~~
           AutoCompPosStart
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxstc_bind.cpp: In function 'int wxLua_wxStyledTextCtrl_Mar
kerDefinePixmap(lua_State*)':
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxstc_bind.cpp:7267:11: error: 'class wxStyledTextCtrl' has
 no member named 'MarkerDefinePixmap'; did you mean 'MarkerDefineBitmap'?
     self->MarkerDefinePixmap(markerNumber, xpmData);
           ^~~~~~~~~~~~~~~~~~
           MarkerDefineBitmap
mingw32-make[2]: *** [wxlua\wxLua\modules\luamodule\CMakeFiles\wxLuaModule.dir\build.make:99: wxlua/wxLua/modules/luamodule/C
MakeFiles/wxLuaModule.dir/__/wxbind/src/wxstc_bind.cpp.obj] Error 1
mingw32-make[2]: Leaving directory 'C:/supercolliderrepos/build_wxLuaBundled312'
mingw32-make[1]: *** [CMakeFiles\Makefile2:419: wxlua/wxLua/modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
mingw32-make[1]: Leaving directory 'C:/supercolliderrepos/build_wxLuaBundled312'
mingw32-make: *** [Makefile:154: all] Error 2

But I think I did not manage to clone wxWidgets last master. Lets try again

sonoro1234 commented 5 years ago

Now it was wxWidgets master

[ 20%] Building CXX object wxlua/wxLua/modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_bind.cpp.obj
cd /d C:\supercolliderrepos\build_wxLuaBundled312\wxlua\wxLua\modules\luamodule && C:\i686-7.2.0-release-posix-dwarf-rt_v5-re
v1\mingw32\bin\g++.exe  -DUNICODE -DWXMAKINGDLL_LUAMODULE -D_UNICODE -DwxLUA_USEBINDING_WXADV=1 -DwxLUA_USEBINDING_WXAUI=1 -D
wxLUA_USEBINDING_WXBASE=1 -DwxLUA_USEBINDING_WXCORE=1 -DwxLUA_USEBINDING_WXGL=1 -DwxLUA_USEBINDING_WXHTML=1 -DwxLUA_USEBINDIN
G_WXMEDIA=0 -DwxLUA_USEBINDING_WXNET=1 -DwxLUA_USEBINDING_WXPROPGRID=0 -DwxLUA_USEBINDING_WXRICHTEXT=0 -DwxLUA_USEBINDING_WXS
TC=1 -DwxLUA_USEBINDING_WXWEBVIEW=0 -DwxLUA_USEBINDING_WXXML=0 -DwxLUA_USEBINDING_WXXRC=0 -DwxUSE_UNICODE=1 @CMakeFiles/wxLua
Module.dir/includes_CXX.rsp -DLUA_COMPAT_MODULE -DwxDEBUG_LEVEL=0  -Wall -O3 -DNDEBUG   -Wno-deprecated-declarations -o CMake
Files\wxLuaModule.dir\__\wxbind\src\wxcore_bind.cpp.obj -c C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\
wxcore_bind.cpp
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:76:0: warning: "wxEVT_COMMAND_DIRPICKER_CHA
NGED" redefined
     #define wxEVT_COMMAND_DIRPICKER_CHANGED  wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED

In file included from C:/supercolliderrepos/wxLuaBundled/wxlua/wxLua/modules/wxbind/include/wxcore_bind.h:56:0,
                 from C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:19:
C:/supercolliderrepos/build_wxLuaBundled312/build_wx/install/include/wx/filepicker.h:415:0: note: this is the location of the
 previous definition
 #define wxEVT_COMMAND_DIRPICKER_CHANGED    wxEVT_DIRPICKER_CHANGED

C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:77:0: warning: "wxEVT_COMMAND_FILEPICKER_CH
ANGED" redefined
     #define wxEVT_COMMAND_FILEPICKER_CHANGED wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED

In file included from C:/supercolliderrepos/wxLuaBundled/wxlua/wxLua/modules/wxbind/include/wxcore_bind.h:56:0,
                 from C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:19:
C:/supercolliderrepos/build_wxLuaBundled312/build_wx/install/include/wx/filepicker.h:414:0: note: this is the location of the
 previous definition
 #define wxEVT_COMMAND_FILEPICKER_CHANGED   wxEVT_FILEPICKER_CHANGED

C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp: In member function 'virtual bool wxLuaBind
ing_wxcore::RegisterBinding(const wxLuaState&)':
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7772:46: error: 'wxEVT_COMMAND_DIRPICKER_CH
ANGED' was not declared in this scope
     wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED  = wxEVT_COMMAND_DIRPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7772:46: note: suggested alternative: 'wxEV
T_COMMAND_FONTPICKER_CHANGED'
     wxLua_wxEVT_COMMAND_DIRPICKER_CHANGED  = wxEVT_COMMAND_DIRPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                              wxEVT_COMMAND_FONTPICKER_CHANGED
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7773:46: error: 'wxEVT_COMMAND_FILEPICKER_C
HANGED' was not declared in this scope
     wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED = wxEVT_COMMAND_FILEPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\supercolliderrepos\wxLuaBundled\wxlua\wxLua\modules\wxbind\src\wxcore_bind.cpp:7773:46: note: suggested alternative: 'wxEV
T_COMMAND_FONTPICKER_CHANGED'
     wxLua_wxEVT_COMMAND_FILEPICKER_CHANGED = wxEVT_COMMAND_FILEPICKER_CHANGED;
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                              wxEVT_COMMAND_FONTPICKER_CHANGED
mingw32-make[2]: *** [wxlua\wxLua\modules\luamodule\CMakeFiles\wxLuaModule.dir\build.make:197: wxlua/wxLua/modules/luamodule/
CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxcore_bind.cpp.obj] Error 1
mingw32-make[2]: Leaving directory 'C:/supercolliderrepos/build_wxLuaBundled312'
mingw32-make[1]: *** [CMakeFiles\Makefile2:419: wxlua/wxLua/modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
mingw32-make[1]: Leaving directory 'C:/supercolliderrepos/build_wxLuaBundled312'
mingw32-make: *** [Makefile:154: all] Error 2
pkulchenko commented 5 years ago

@sonoro1234, this is not related to my changes, but to something that has been present in wxlua as a workaround. This is one of the two changes that I plan to apply shortly.

sonoro1234 commented 5 years ago

@pkulchenko I will try to recompile as soon as you tell me to do so.

pkulchenko commented 5 years ago

@sonoro1234, I just pushed two more commits, which should fix this issue (as well another one from my earlier comment)

sonoro1234 commented 5 years ago

linking errors only

[ 81%] Linking CXX shared library ..\..\..\..\bin\Release\wx.dll
cd /d C:\supercolliderrepos\build_wxLuaBundled312\wxlua\wxLua\modules\luamodule && C:\cmake-3.13.0-rc1-win64-x64\bin\cmake.ex
e -E cmake_link_script CMakeFiles\wxLuaModule.dir\link.txt --verbose=1
C:\cmake-3.13.0-rc1-win64-x64\bin\cmake.exe -E remove -f CMakeFiles\wxLuaModule.dir/objects.a
C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin\ar.exe cr CMakeFiles\wxLuaModule.dir/objects.a @CMakeFiles\wxLuaModu
le.dir\objects1.rsp
C:\i686-7.2.0-release-posix-dwarf-rt_v5-rev1\mingw32\bin\g++.exe  -DLUA_COMPAT_MODULE -DwxDEBUG_LEVEL=0  -Wall -O3 -DNDEBUG
-shared -o ..\..\..\..\bin\Release\wx.dll -Wl,--out-implib,..\..\..\..\lib\Release\libwx.dll.a -Wl,--major-image-version,0,--
minor-image-version,0 -Wl,--whole-archive CMakeFiles\wxLuaModule.dir/objects.a -Wl,--no-whole-archive @CMakeFiles\wxLuaModule
.dir\linklibs.rsp
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x550): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x5d9): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x61e): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x705): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x86e): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x8b5): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x8d9): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x90e): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xada): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xb20): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xb44): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xbc5): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xc73): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xccd): undefined reference t
o `_imp__GetThemePartSize@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xd9a): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xdad): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xe1e): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0xe4e): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x1021): undefined reference
to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x1093): undefined reference
to `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x131b): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x138d): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x1716): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(tabartmsw.cpp.obj):tabartmsw.cpp:(.text+0x174b): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x8a): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0xb0): undefined reference to
 `_imp__GetThemePartSize@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1ed): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x201): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x21b): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x23b): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x2d9): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x323): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x343): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x39f): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x411): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x470): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x5d6): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0xa71): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0xad1): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0xbb2): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0xcc0): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0xffd): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1259): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x130c): undefined reference
to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1363): undefined reference
to `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1383): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x13e1): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x144c): undefined reference
to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x14a3): undefined reference
to `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x14c3): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1521): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1591): undefined reference
to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x15f3): undefined reference
to `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x1616): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_aui.a(barartmsw.cpp.obj):barartmsw.cpp:(.text+0x16b4): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x487): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x4a9): undefined reference to
 `_imp__IsThemePartDefined@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x4d0): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x524): undefined reference to
 `_imp__GetThemePartSize@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x53e): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x655): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x6fc): undefined reference to
 `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x71c): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x735): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x7db): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x9d5): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x9f3): undefined reference to
 `_imp__IsThemePartDefined@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xa47): undefined reference to
 `_imp__GetThemePartSize@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xa92): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xaec): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xb25): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xb6f): undefined reference to
 `_imp__IsThemePartDefined@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xbc5): undefined reference to
 `_imp__IsThemeBackgroundPartiallyTransparent@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xc04): undefined reference to
 `_imp__DrawThemeParentBackground@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xc60): undefined reference to
 `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xcbf): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xd53): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xda5): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xdc3): undefined reference to
 `_imp__IsThemePartDefined@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xe6d): undefined reference to
 `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xe8d): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xefa): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xf45): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xfe0): undefined reference to
 `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0xffc): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1015): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1089): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x10d5): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x116d): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x11cb): undefined reference t
o `_imp__GetThemeBackgroundContentRect@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x127c): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1389): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x13f1): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1453): undefined reference t
o `_imp__GetThemeColor@20'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1686): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x16fc): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x17d4): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1875): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1918): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1a90): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1df5): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1f0b): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1f2e): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x1f64): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2027): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x29e2): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2ad0): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2aec): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2b86): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2c5f): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2d5b): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2e07): undefined reference t
o `_imp__IsThemePartDefined@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x2e5d): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text+0x368e): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBo
xEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x24): undefined reference to `_imp
__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBo
xEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x10b): undefined reference to `_im
p__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBo
xEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x127): undefined reference to `_im
p__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP12DrawCheckBo
xEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP12DrawCheckBoxEP8wxWindowR4wxDCRK6wxRecti]+0x1cb): undefined reference to `_im
p__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBi
tmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x24): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBi
tmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x10b): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBi
tmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x127): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP15DrawRadioBi
tmapEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP15DrawRadioBitmapEP8wxWindowR4wxDCRK6wxRecti]+0x1cb): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushBut
tonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x24): undefined reference to `
_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushBut
tonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x110): undefined reference to
`_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushBut
tonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x12c): undefined reference to
`_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(renderer.cpp.obj):renderer.cpp:(.text$_ZN12wxRendererXP14DrawPushBut
tonEP8wxWindowR4wxDCRK6wxRecti[__ZN12wxRendererXP14DrawPushButtonEP8wxWindowR4wxDCRK6wxRecti]+0x1e0): undefined reference to
`_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(utilsgui.cpp.obj):utilsgui.cpp:(.text+0x564): undefined reference to
 `_imp__SHAutoComplete@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(uxtheme.cpp.obj):uxtheme.cpp:(.text+0x5): undefined reference to `_i
mp__IsAppThemed@0'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(uxtheme.cpp.obj):uxtheme.cpp:(.text+0x11): undefined reference to `_
imp__IsThemeActive@0'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0x63e1): undefined reference to `_
imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0x6408): undefined reference to `_
imp__GetThemeColor@20'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0x641c): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0x64a7): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0x64c5): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xba43): undefined reference to `_
imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xbb0d): undefined reference to `_
imp__GetThemeBackgroundContentRect@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xbbc1): undefined reference to `_
imp__IsThemeBackgroundPartiallyTransparent@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xbbe5): undefined reference to `_
imp__DrawThemeParentBackground@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xbc1f): undefined reference to `_
imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xbc48): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xc743): undefined reference to `L
resultFromObject@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xc8ea): undefined reference to `_
imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xc959): undefined reference to `_
imp__GetThemeBackgroundContentRect@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xca07): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xd212): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(window.cpp.obj):window.cpp:(.text+0xd2be): undefined reference to `_
imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x1a98): undefined reference
 to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x1af1): undefined reference
 to `_imp__GetThemeMargins@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x1b39): undefined reference
 to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x1b53): undefined reference
 to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x2676): undefined reference
 to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x26a2): undefined reference
 to `_imp__IsThemeBackgroundPartiallyTransparent@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x26ce): undefined reference
 to `_imp__DrawThemeParentBackground@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x2706): undefined reference
 to `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x2757): undefined reference
 to `_imp__GetThemeMargins@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x282f): undefined reference
 to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(anybutton.cpp.obj):anybutton.cpp:(.text+0x3bea): undefined reference
 to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x12e7): undefined reference to `_im
p__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x157c): undefined reference to `_im
p__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1a7a): undefined reference to `_im
p__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1c6d): undefined reference to `_im
p__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1dcc): undefined reference to `_im
p__IsThemeBackgroundPartiallyTransparent@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1e00): undefined reference to `_im
p__DrawThemeParentBackground@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1e4a): undefined reference to `_im
p__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1ea6): undefined reference to `_im
p__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x1f72): undefined reference to `_im
p__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(combo.cpp.obj):combo.cpp:(.text+0x232f): undefined reference to `_im
p__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x83e): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x85f): undefined reference to
 `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x8ab): undefined reference to
 `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x8ec): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x99b): undefined reference to
 `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xa06): undefined reference to
 `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xa7a): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xafd): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xb3d): undefined reference to
 `_imp__GetThemeMargins@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xc2d): undefined reference to
 `_imp__GetThemePartSize@28'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xcf7): undefined reference to
 `_imp__GetThemeInt@20'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xd2a): undefined reference to
 `_imp__GetThemeSysFont@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0xdc6): undefined reference to
 `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x103b): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x298b): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x29ef): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x2aa4): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x2e52): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x385b): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x38dc): undefined reference t
o `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x391f): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x3ad1): undefined reference t
o `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x3b7b): undefined reference t
o `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x3ce2): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x3d02): undefined reference t
o `_imp__IsThemeBackgroundPartiallyTransparent@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x3d12): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x3da5): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x4322): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x454d): undefined reference t
o `_imp__GetThemeSysColor@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x4652): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x46b4): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(menuitem.cpp.obj):menuitem.cpp:(.text+0x48ab): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0xfe1): undefined reference to
 `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x1018): undefined reference t
o `_imp__GetThemeColor@20'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x1130): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x11e5): undefined reference t
o `_imp__GetCurrentThemeName@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x1539): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x24bb): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x2508): undefined reference t
o `_imp__GetThemeBackgroundContentRect@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x2563): undefined reference t
o `_imp__GetThemeBackgroundExtent@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x25d7): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x2645): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x26be): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x2d4c): undefined reference t
o `_imp__SetWindowTheme@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x376b): undefined reference t
o `_imp__SetWindowTheme@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x48d8): undefined reference t
o `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x4910): undefined reference t
o `_imp__GetThemeBackgroundExtent@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x493f): undefined reference t
o `_imp__DrawThemeBackground@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x4950): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(notebook.cpp.obj):notebook.cpp:(.text+0x4982): undefined reference t
o `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(access.cpp.obj):access.cpp:(.text+0x55c): undefined reference to `Cr
eateStdAccessibleObject@16'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(access.cpp.obj):access.cpp:(.text+0x778): undefined reference to `Cr
eateStdAccessibleObject@16'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(access.cpp.obj):access.cpp:(.text+0x9b8): undefined reference to `Cr
eateStdAccessibleObject@16'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(access.cpp.obj):access.cpp:(.text+0xd9d): undefined reference to `Cr
eateStdAccessibleObject@16'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(access.cpp.obj):access.cpp:(.text+0xef8): undefined reference to `Cr
eateStdAccessibleObject@16'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(access.cpp.obj):access.cpp:(.text+0x11ff): more undefined references
 to `CreateStdAccessibleObject@16' follow
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statbox.cpp.obj):statbox.cpp:(.text+0x2303): undefined reference to
`_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statbox.cpp.obj):statbox.cpp:(.text+0x233f): undefined reference to
`_imp__GetThemeFont@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statbox.cpp.obj):statbox.cpp:(.text+0x2371): undefined reference to
`_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statbox.cpp.obj):statbox.cpp:(.text+0x2595): undefined reference to
`_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statusbar.cpp.obj):statusbar.cpp:(.text+0x22e): undefined reference
to `_imp__OpenThemeData@8'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statusbar.cpp.obj):statusbar.cpp:(.text+0x268): undefined reference
to `_imp__GetThemeBackgroundContentRect@24'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statusbar.cpp.obj):statusbar.cpp:(.text+0x292): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(statusbar.cpp.obj):statusbar.cpp:(.text+0x2df): undefined reference
to `_imp__CloseThemeData@4'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(systhemectrl.cpp.obj):systhemectrl.cpp:(.text+0x74): undefined refer
ence to `_imp__SetWindowTheme@12'
../../../../build_wx/install/lib/gcc_lib/wxmsw31u_core.a(textentry.cpp.obj):textentry.cpp:(.text+0xa45): undefined reference
to `_imp__SHAutoComplete@8'
../../../../build_wx/install/lib/gcc_lib/wxbase31u_net.a(sckaddr.cpp.obj):sckaddr.cpp:(.text+0xe9d): undefined reference to `
_imp__getaddrinfo@16'
../../../../build_wx/install/lib/gcc_lib/wxbase31u_net.a(sckaddr.cpp.obj):sckaddr.cpp:(.text+0xf04): undefined reference to `
_imp__freeaddrinfo@4'
../../../../build_wx/install/lib/gcc_lib/wxbase31u_net.a(sckaddr.cpp.obj):sckaddr.cpp:(.text+0x18d7): undefined reference to
`_imp__getaddrinfo@16'
../../../../build_wx/install/lib/gcc_lib/wxbase31u_net.a(sckaddr.cpp.obj):sckaddr.cpp:(.text+0x1946): undefined reference to
`_imp__freeaddrinfo@4'
../../../../build_wx/install/lib/gcc_lib/wxbase31u.a(dlmsw.cpp.obj):dlmsw.cpp:(.text+0x4d6): undefined reference to `GetFileV
ersionInfoSizeW@8'
../../../../build_wx/install/lib/gcc_lib/wxbase31u.a(dlmsw.cpp.obj):dlmsw.cpp:(.text+0xa7d): undefined reference to `GetFileV
ersionInfoW@16'
../../../../build_wx/install/lib/gcc_lib/wxbase31u.a(dlmsw.cpp.obj):dlmsw.cpp:(.text+0xaaa): undefined reference to `VerQuery
ValueW@16'
../../../../build_wx/install/lib/gcc_lib/wxbase31u.a(mimetype.cpp.obj):mimetype.cpp:(.text+0x209c): undefined reference to `_
imp__AssocQueryStringW@24'
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [wxlua\wxLua\modules\luamodule\CMakeFiles\wxLuaModule.dir\build.make:912: bin/Release/wx.dll] Error 1
mingw32-make[2]: Leaving directory 'C:/supercolliderrepos/build_wxLuaBundled312'
mingw32-make[1]: *** [CMakeFiles\Makefile2:419: wxlua/wxLua/modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
mingw32-make[1]: Leaving directory 'C:/supercolliderrepos/build_wxLuaBundled312'
mingw32-make: *** [Makefile:154: all] Error 2
pkulchenko commented 5 years ago

@sonoro1234, are you compiling 32bit or 64bit version? I'd make sure to run make clean from wxlua folder to remove any results from the previous run, as they might have been compiled with a different set of settings.

sonoro1234 commented 5 years ago

I am on mingw-w64 for 32 bits. I just updated wxLua repo and rebuild. It seems to be wxWidgets which is missing something

@pkulchenko found that https://forums.wxwidgets.org/viewtopic.php?t=44355

pkulchenko commented 5 years ago

What version of mingw are you using? I'm using an old one 4.8 and am rebuilding for 64bit using 4.9 are the moment.

Most of the errors seem to be Theme-related, so you may be missing a library.

pkulchenko commented 5 years ago

@sonoro1234, just saw your update; from that link: "For 3.1.1, you'll need to add libuxtheme.a and liboleacc.a to the list of libraries that you're application links with.". It's interesting that I don't get the same linker issues; maybe my msys2 installation already includes these libraries?

sonoro1234 commented 5 years ago

I made that in a wxLua PR https://github.com/pkulchenko/wxlua/pull/23/commits/4bc9788d258b77ab2686459d01da92ea616bc9ea

mingw version i686-7.2.0-release-posix-dwarf-rt_v5-rev1

pkulchenko commented 5 years ago

Right; can you remove wxcore_bind.cpp changes from the PR, rebase against wxwidgets312 branch, and re-submit? I already pushed those changes to wxwidgets312 branch.

sonoro1234 commented 5 years ago

I am not good at git. Shall I do a new PR against wxwidgets312?

pkulchenko commented 5 years ago

nah, don't worry about it; I'll rebase, then merge that PR later today.

In the meantime, you can apply those changes manually to see if the linking goes well or if there is anything else missing.

sonoro1234 commented 5 years ago

I also remembered this: https://github.com/pkulchenko/wxlua/pull/23#issuecomment-488790547 which is needed in linux https://github.com/pkulchenko/wxlua/pull/23/commits/792e40dd414a5f5765578aa88ab686fcc57770e3

pkulchenko commented 5 years ago

Yes, I'll include that as well; I'll apply the PR as is, but will clean up the changes for wxcore_bind.cpp.

sonoro1234 commented 5 years ago

Just tried, the linking was OK

pkulchenko commented 5 years ago

Closing, as this should now be fixed with the changes in https://github.com/pkulchenko/wxlua/tree/wxwidgets312 branch.

ildar commented 5 years ago
[ 39%] Building CXX object
modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_gdi.cpp.o
/usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxcore_gdi.cpp: In
function 'int wxLua_wxColour_GetLuminance(lua_State*)':
/usr/src/RPM/BUILD/wxlua-2.8.12.3/modules/wxbind/src/wxcore_gdi.cpp:6905:29:
error: 'class wxColour' has no member named 'GetLuminance'
     double returns = (self->GetLuminance());
                             ^~~~~~~~~~~~
make[2]: *** [modules/wxbind/CMakeFiles/wxLuaBindLib.dir/build.make:258:
modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_gdi.cpp.o] Error 1

wxGTK built with:


Configured wxWidgets 3.1.2 for `x86_64-alt-linux-gnu'

  Which GUI toolkit should wxWidgets use?                 GTK+ 3 with
support for GTK+ printing libnotify
  Should wxWidgets be compiled into single library?       no
  Should wxWidgets be linked as a shared library?         yes
  Should wxWidgets support Unicode?                       yes (using
wchar_t)
  What level of wxWidgets compatibility should be enabled?
                                       wxWidgets 2.8      yes
                                       wxWidgets 3.0      yes
  Which libraries should wxWidgets use?
                                       STL                no
                                       jpeg               sys
                                       png                sys
                                       regex              builtin
                                       tiff               sys
                                       lzma               no
                                       zlib               sys
                                       expat              sys
                                       libmspack          yes
                                       sdl                yes

Documentation says it's since 3.1.3 which isn't released yet: https://docs.wxwidgets.org/trunk/classwx_colour.html#ab26df3bfab77f5a3c54e9caff93c78f8 Paul, what would be the most rational way to solve this, what do you think?

pkulchenko commented 5 years ago

GetLuminance was indeed introduced in 3.1.3 (which is the current master branch). I'll have to check against 3.1.2 to see what else may be mislabeled. Will push a fix tomorrow...

pkulchenko commented 5 years ago

@ildar, I pushed a fix that I tested against 3.1.1 and 3.1.2. Let me know if you run into any issues compiling it.

3.1.3 is the current master branch in wxwidgets (their numbering, not mine), so I marked everything introduced after 3.1.2 as 3.1.3 in wxlua API.