-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build with wxwidgets 3.0.4, can not find wx/peninfobase.h #46
Comments
@hollunder, thank you for the report. Can you try the following patch for wxlua: diff --git a/wxLua/bindings/wxwidgets/wxcore_graphics.i b/wxLua/bindings/wxwidgets/wxcore_graphics.i
index fbe9b6f..1068d03 100644
--- a/wxLua/bindings/wxwidgets/wxcore_graphics.i
+++ b/wxLua/bindings/wxwidgets/wxcore_graphics.i
@@ -16,7 +16,7 @@
#include "wx/dynarray.h"
#include "wx/font.h"
#include "wx/image.h"
-#include "wx/peninfobase.h"
+#include "wx/pen.h"
#include "wx/vector.h"
enum wxAntialiasMode
diff --git a/wxLua/modules/wxbind/include/wxcore_bind.h b/wxLua/modules/wxbind/include/wxcore_bind.h
index 7406679..4e3f0a2 100644
--- a/wxLua/modules/wxbind/include/wxcore_bind.h
+++ b/wxLua/modules/wxbind/include/wxcore_bind.h
@@ -531,7 +531,7 @@ extern WXDLLIMPEXP_BINDWXCORE wxLuaBinding* wxLuaBinding_wxcore_init();
#include "wx/font.h"
#include "wx/geometry.h"
#include "wx/image.h"
- #include "wx/peninfobase.h"
+ #include "wx/pen.h"
#include "wx/vector.h"
#endif // wxUSE_GRAPHICS_CONTEXT I expect it to fix the issue. |
Hi Paul, [ 41%] Building CXX object modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_graphics.cpp.o
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsPenInfo_GetWidth(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:161:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
161 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:161:25: error: ‘self’ was not declared in this scope
161 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:161:52: error: expected primary-expression before ‘)’ token
161 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsPenInfo_Width(lua_State* ’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:179:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
179 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:179:25: error: ‘self’ was not declared in this scope
179 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:179:52: error: expected primary-expression before ‘)’ token
179 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:181:24: error: ‘returns’ was not declared in this scope; did you mean ‘setns’?
181 | wxGraphicsPenInfo* returns = (wxGraphicsPenInfo*)&self->Width(width);
| ^~~~~~~
| setns
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:181:53: error: expected primary-expression before ‘)’ token
181 | wxGraphicsPenInfo* returns = (wxGraphicsPenInfo*)&self->Width(width);
| ^
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsPenInfo_constructor1(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:208:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
208 | wxGraphicsPenInfo* returns = new wxGraphicsPenInfo(*colour, width, style);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:208:24: error: ‘returns’ was not declared in this scope; did you mean ‘setns’?
208 | wxGraphicsPenInfo* returns = new wxGraphicsPenInfo(*colour, width, style);
| ^~~~~~~
| setns
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:208:38: error: expected type-specifier before ‘wxGraphicsPenInfo’
208 | wxGraphicsPenInfo* returns = new wxGraphicsPenInfo(*colour, width, style);
| ^~~~~~~~~~~~~~~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsPenInfo_constructor(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:225:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
225 | wxGraphicsPenInfo* returns = new wxGraphicsPenInfo();
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:225:24: error: ‘returns’ was not declared in this scope; did you mean ‘setns’?
225 | wxGraphicsPenInfo* returns = new wxGraphicsPenInfo();
| ^~~~~~~
| setns
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:225:38: error: expected type-specifier before ‘wxGraphicsPenInfo’
225 | wxGraphicsPenInfo* returns = new wxGraphicsPenInfo();
| ^~~~~~~~~~~~~~~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘void wxLua_wxGraphicsPenInfo_delete_function(void**)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:253:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
253 | wxGraphicsPenInfo* o = (wxGraphicsPenInfo*)(*p);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:253:24: error: ‘o’ was not declared in this scope
253 | wxGraphicsPenInfo* o = (wxGraphicsPenInfo*)(*p);
| ^
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:253:47: error: expected primary-expression before ‘)’ token
253 | wxGraphicsPenInfo* o = (wxGraphicsPenInfo*)(*p);
| ^
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:254:12: error: type ‘<type error>’ argument given to ‘delete’, expected pointer
254 | delete o;
| ^
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsContext_ClearRectangle(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:1965:11: error: ‘class wxGraphicsContext’ has no member named ‘ClearRectangle’; did you mean ‘DrawRectangle’?
1965 | self->ClearRectangle(x, y, w, h);
| ^~~~~~~~~~~~~~
| DrawRectangle
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsContext_CreateFromUnknownDC(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:2333:73: error: ‘CreateFromUnknownDC’ is not a member of ‘wxGraphicsContext’
2333 | wxGraphicsContext* returns = (wxGraphicsContext*)wxGraphicsContext::CreateFromUnknownDC(*dc);
| ^~~~~~~~~~~~~~~~~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsContext_CreatePen1(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:2466:11: error: ‘wxGraphicsPenInfo’ does not name a type; did you mean ‘wxGraphicsPen’?
2466 | const wxGraphicsPenInfo * info = (const wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 2, wxluatype_wxGraphicsPenInfo);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:2471:65: error: ‘info’ was not declared in this scope; did you mean ‘dlinfo’?
2471 | wxGraphicsPen* returns = new wxGraphicsPen(self->CreatePen(*info));
| ^~~~
| dlinfo
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsContext_GetClipBox(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:3057:11: error: ‘class wxGraphicsContext’ has no member named ‘GetClipBox’
3057 | self->GetClipBox(x, y, w, h);
| ^~~~~~~~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsRenderer_CreatePen(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:4306:11: error: ‘wxGraphicsPenInfo’ does not name a type; did you mean ‘wxGraphicsPen’?
4306 | const wxGraphicsPenInfo * info = (const wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 2, wxluatype_wxGraphicsPenInfo);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:4311:65: error: ‘info’ was not declared in this scope; did you mean ‘dlinfo’?
4311 | wxGraphicsPen* returns = new wxGraphicsPen(self->CreatePen(*info));
| ^~~~
| dlinfo
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsRenderer_GetName(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:4415:31: error: ‘class wxGraphicsRenderer’ has no member named ‘GetName’
4415 | wxString returns = (self->GetName());
| ^~~~~~~
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsRenderer_GetVersion(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:4439:11: error: ‘class wxGraphicsRenderer’ has no member named ‘GetVersion’
4439 | self->GetVersion(major, minor, micro);
| ^~~~~~~~~~
make[2]: *** [modules/wxbind/CMakeFiles/wxLuaBindLib.dir/build.make:284: modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_graphics.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:276: modules/wxbind/CMakeFiles/wxLuaBindLib.dir/all] Error 2
make: *** [Makefile:152: all] Error 2 |
OK, I managed to patch it properly now (had trouble in the morning and edited manually). However, the same build failures occur. [ 44%] Building CXX object modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxaui_bind.cpp.o
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsPenInfo_GetWidth(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:161:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
161 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
... and [ 53%] Building CXX object modules/wxbind/CMakeFiles/wxLuaBindLib.dir/src/wxcore_help.cpp.o
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp: In function ‘int wxLua_wxGraphicsPenInfo_GetWidth(lua_State*)’:
/home/murks/.cache/aurman/wxlua-git/src/wxlua/wxLua/modules/wxbind/src/wxcore_graphics.cpp:161:5: error: ‘wxGraphicsPenInfo’ was not declared in this scope; did you mean ‘wxGraphicsPen’?
161 | wxGraphicsPenInfo * self = (wxGraphicsPenInfo *)wxluaT_getuserdatatype(L, 1, wxluatype_wxGraphicsPenInfo);
| ^~~~~~~~~~~~~~~~~
| wxGraphicsPen
... |
@hollunder, I found several more instances that need to be updated, as the methods used didn't exist in v3.0.4. I pushed an update to the master branch and tested by compiling with 3.0.4. Let me know if you still get errors with it. Thanks! |
Thanks Paul, master builds now.
and
Thanks for your efforts to keep zbstudio and all the various dependencies in their various versions working. |
Good; thank you for the confirmation.
Yes, 3.0.4 is the latest release in the non dev (3.even) branch, so it's a reasonable approach.
These are the Lua warnings, so not much I can do about. I'll be keeping bundled Lua 5.1 and 5.2 in wxlua, but don't plan to include Lua 5.3 or 5.4, as you can configure wxlua to use external libraries.
Yes, I do run periodic tests on older versions of wxwidgets (than those shipped with ZeroBraneStudio), but let me know if you run into any issues with those. |
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43) To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
Now using the fork at https://github.com/pkulchenko/wxlua as the primary project has not issued a release in nearly 7 years. The fork has made many updates, including: * Better compatibility with newer versions of wxWidgets * Fixed platform inconsistencies with bit library, which led to incorrect md5 calculations on Mac (see mrichards42#61, pkulchenko/wxlua#43). The md5 sums have been renegerated and are now correct on all platforms. To fix builds with wxWidgets < 3.1.2, we also include the fix for pkulchenko/wxlua#46. Generated with: $ rsync -r --delete \ --exclude="premake4.lua" \ --exclude="wxluasetup_xword.h" \ --exclude="Makefile*" \ --exclude="CMakeLists.txt" \ wxlua-3.0.0.6/wxLua/modules/wxbind \ wxlua-3.0.0.6/wxLua/modules/wxlua \ xword/lua/ $ rsync -r --delete \ wxlua-3.0.0.6/wxLua/art \ xword/lua/wxlua/ $ cp wxlua-3.0.0.6/wxLua/bindings/genwxbind.lua xword/src/xwordbind/ Along with manual edits to wxluasetup_xword.h to sync with the latest set of config options in wxluasetup.h (i.e. disable new entries). Regenerated bindings in src/xwordbind/. Disabled webview in src/xwordlua.hpp and replaced obsolete reference to wxBG_STYLE_CUSTOM in sizedtext.lua.
I have tried to build using the script from AUR: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wxlua-git
Which tries to build it using wxgtk2 as far as I can tell: https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/wxgtk
You can see how it was built here:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/wxgtk
If there is something wrong with the packages I'll gladly report that and try to get is resolved.
The text was updated successfully, but these errors were encountered: