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

'widen' is not a member of 'boost::nowide' #13241

Open
2 tasks
adelton opened this issue Aug 12, 2024 · 0 comments · May be fixed by #13242
Open
2 tasks

'widen' is not a member of 'boost::nowide' #13241

adelton opened this issue Aug 12, 2024 · 0 comments · May be fixed by #13242

Comments

@adelton
Copy link

adelton commented Aug 12, 2024

Description of the bug

When building PrusaSlicer on Fedora 40, I get

/builddir/build/BUILD/PrusaSlicer-version_2.8.0/src/slic3r/GUI/UserAccountCommunication.cpp: In function ‘bool Slic3r::GUI::{anonymous}::save_secret(const std::string&, const std::string&, const std::string&)’:
/builddir/build/BUILD/PrusaSlicer-version_2.8.0/src/slic3r/GUI/UserAccountCommunication.cpp:97:46: error: ‘widen’ is not a member of ‘boost::nowide’
   97 |     const wxString username = boost::nowide::widen(usr);
      |                                              ^~~~~
/builddir/build/BUILD/PrusaSlicer-version_2.8.0/src/slic3r/GUI/UserAccountCommunication.cpp:98:49: error: ‘widen’ is not a member of ‘boost::nowide’
   98 |     const wxSecretValue password(boost::nowide::widen(psswd));
      |                                                 ^~~~~
gmake[2]: *** [src/slic3r/CMakeFiles/libslic3r_gui.dir/build.make:121: src/slic3r/CMakeFiles/libslic3r_gui.dir/GUI/UserAccountCommunication.cpp.o] Error 1
gmake[2]: Leaving directory '/builddir/build/BUILD/PrusaSlicer-version_2.8.0/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:1273: src/slic3r/CMakeFiles/libslic3r_gui.dir/all] Error 2

Project file & How to reproduce

Bump Version in https://src.fedoraproject.org/rpms/prusa-slicer/blob/f40/f/prusa-slicer.spec to 2.8.0 and try to build, for example with

fedpkg --release f40 scratch-build --srpm

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

version_2.8.0

Operating system

Fedora 40

Printer model

N/A

@adelton adelton linked a pull request Aug 12, 2024 that will close this issue
@adelton adelton changed the title ‘widen’ is not a member of ‘boost::nowide’ widen is not a member of boost::nowide Aug 12, 2024
@adelton adelton changed the title widen is not a member of boost::nowide 'widen' is not a member of 'boost::nowide' Aug 12, 2024
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

Successfully merging a pull request may close this issue.

1 participant