Prusaslicer: Error compiling on Linux with -DSLIC3R_WX_STABLE=1 (WX Widgets 3.0)

Created on 21 Jan 2019  Â·  4Comments  Â·  Source: prusa3d/PrusaSlicer

Version

version_1.42.0-alpha3-71-ga7c876a9b

Operating system type + version

openSUSE-Leap-15.0

Behavior

When compiling with "-DSLIC3R_WX_STABLE=1" I get the following error:

Slic3r_prusa/src/slic3r/GUI/OptionsGroup.cpp:237:9: error: ‘wxGETTEXT_IN_CONTEXT’ was not declared in this scope wxGETTEXT_IN_CONTEXT("Layers", wxString(option.label)) :

Is this break intentional? This method has been introduced in 3.1. It has been introduced in commit 1a474ea2820776e1a1510fc494ed8508a59d6944

Most helpful comment

Yes, compiles perfectly now. Thanks @vojtechkral!

All 4 comments

@sebastianha I have the same issue. (Running Arch Linux).

I haven't installed wxWidgets 3.1 yet since that package for Arch Linux has not been provided. For it to work, I would need to install the development branch of wxWidgets, which I am a bit hesitant about.

Yes, I thought this would happen but didn't fix yet. I'll have a look.

Works now, thank you very much!

Yes, compiles perfectly now. Thanks @vojtechkral!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frakman1 picture frakman1  Â·  4Comments

DROBORD picture DROBORD  Â·  3Comments

Bubolz picture Bubolz  Â·  3Comments

Tirpitz93 picture Tirpitz93  Â·  3Comments

jon-cpu picture jon-cpu  Â·  3Comments