Skip to content
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

unable to compile on linux with SLIC3R_WX_STABLE=1 #2168

Closed
cabbey opened this issue Apr 25, 2019 · 3 comments
Closed

unable to compile on linux with SLIC3R_WX_STABLE=1 #2168

cabbey opened this issue Apr 25, 2019 · 3 comments

Comments

@cabbey
Copy link

cabbey commented Apr 25, 2019

Version

git master ( >= 8257339, at least <= 065448e current as of writing this. )

Operating system type + version

Linux - Ubuntu 18.10

Note that to configure on this system cmake -DSLIC3R_WX_STABLE=1 is needed.

3D printer brand / version + firmware version (if known)

Not Applicable

Behavior

Unable to build since 8257339 landed. The new code added in that commit references a function that does not exist, I'm guessing it's something "new" in the "unstable" version of wx:

/home/cabbey/src/Slic3r/src/slic3r/GUI/wxExtensions.cpp: In member function ‘void ModeButton::focus_button(bool)’:
/home/cabbey/src/Slic3r/src/slic3r/GUI/wxExtensions.cpp:2332:57: error: ‘class wxFont’ has no member named ‘GetBaseFont’
     const wxFont& new_font = focus ? font.Bold() : font.GetBaseFont();
                                                         ^~~~~~~~~~~

Project File (.3MF) where problem occurs

Not Applicable

@dafoxia
Copy link

dafoxia commented Apr 27, 2019

Same problem here.

GetBaseFont() is'nt in wxWidgets 3.0
GetBaseFont() need at least 3.1.0
:(

@YuSanka
Copy link
Collaborator

YuSanka commented Apr 29, 2019

Thanks for your report. It will be fixed for the next release.

YuSanka added a commit that referenced this issue Apr 29, 2019
@cabbey
Copy link
Author

cabbey commented Apr 29, 2019

confirmed, thanks @YuSanka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants