Closed ValeryKV closed 5 years ago
I am using Windows XP, Visual Studio 6.0 and wxWidgets 2.9.5 from https://sourceforge.net/projects/wxwindows/files/2.9.5/
wxWidgets was built successfully. CMake 3.0.0 showed several warnings about Policy CMP0043, but wxLua 3.0 failed. Here are the errors:
-------------------Configuration: wxLuaBindLib - Win32 Debug-------------------- wxcore_image.cpp Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxcore_image.cpp(4913) : error C2039: 'RescaleBitmap' : is not a member of 'wxArtProvider' Z:\3rdparty\wxWidgets-2.9.5\include\wx/artprov.h(120) : see declaration of 'wxArtProvider' Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxcore_image.cpp(4913) : error C2065: 'RescaleBitmap' : undeclared identifier wxbase_bind.cpp Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_bind.cpp(398) : error C2065: 'wxFSW_WARNING_GENERAL' : undeclared identifier Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_bind.cpp(399) : error C2065: 'wxFSW_WARNING_NONE' : undeclared identifier Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_bind.cpp(400) : error C2065: 'wxFSW_WARNING_OVERFLOW' : undeclared identifier wxbase_file.cpp Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8275) : error C2065: 'wxFSWWarningType' : undeclared identifier Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8275) : error C2146: syntax error : missing ';' before identifier 'returns' Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8275) : error C2065: 'returns' : undeclared identifier Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8275) : error C2039: 'GetWarningType' : is not a member of 'wxFileSystemWatcherEvent' Z:\3rdparty\wxWidgets-2.9.5\include\wx/fswatcher.h(78) : see declaration of 'wxFileSystemWatcherEvent' Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8396) : error C2146: syntax error : missing ';' before identifier 'warningType' Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8396) : error C2065: 'warningType' : undeclared identifier Z:\3rdparty\wxLua-3.0\modules\wxbind\src\wxbase_file.cpp(8396) : error C2146: syntax error : missing ';' before identifier 'wxlua_getenumtype'
Please help to fix it.
@ValeryKV, thank you for the report. Give the master branch a try; should be fixed now.
I am using Windows XP, Visual Studio 6.0 and wxWidgets 2.9.5 from https://sourceforge.net/projects/wxwindows/files/2.9.5/
wxWidgets was built successfully. CMake 3.0.0 showed several warnings about Policy CMP0043, but wxLua 3.0 failed. Here are the errors:
Please help to fix it.