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
Fix build errors #380
Fix build errors #380
Conversation
Thanks for this PR, I assume you're after the bounty I've posted. I am still having some issues building.
|
- Updated the minimum required CMake version. - Updated the minimum required C++ standard version to match the functions used in the code base. - Added missing `public` visibility specifier for classes deriving from wxEvtHandler (DatDebugView and MainMenuBar) that is required to access the event table from the derived classes. - Fixed a typo in the MainMenuBar code (`REPLACE_ITEM` => `REPLACE_ITEMS`). - Added missing ZLIB search to the CMake project (previously it was implicitly linked by older wxWidgets versions?). - Fixed GLUT compatibility with newer CMake version. - Added a new `FROM_DIP` macro that fixes wxSize scaling compatibility with wxWidgets <3.1.0. - Fixed catching std::bad_cast exceptions by value instead of const ref. Closes hampusborgos#329. Closes hampusborgos#345. Closes hampusborgos#371. Closes hampusborgos#373. Closes hampusborgos#375.
Looks like I forgot to replace the function call after adding the macro in a few places and didn't catch it because it works on newer wxWidgets version, you can try again. |
Builds fine and I've been using the software for the last few hours, no issues so far. @diath this is enough to claim the bounty and hopefully, @hampusborgos can merge this PR when he gets the chance :) |
@diath I've been using the software for 3 days now - you've fixed the issue, are you going to claim the bounty on bountysource? |
@Machine-Hum Unfortunately there's a bug going on with Bountysource that doesn't allow me to submit a solution (I'm getting an internal server error in response) and the ticket is stuck at:
|
Source: hampusborgos/rme#380 Cooperator: @Zbizu
functions used in the code base.
public
visibility specifier for classes deriving fromwxEvtHandler (DatDebugView and MainMenuBar) that is required to
access the event table from the derived classes.
REPLACE_ITEM
=>REPLACE_ITEMS
).implicitly linked by older wxWidgets versions?).
FROM_DIP
macro that fixes wxSize scaling compatibilitywith wxWidgets <3.1.0.
ref.
Closes #329.
Closes #345.
Closes #371.
Closes #373.
Closes #375.