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

Building from source fails on Fedora 40 #371

Open
silvigon opened this issue Oct 3, 2024 · 1 comment
Open

Building from source fails on Fedora 40 #371

silvigon opened this issue Oct 3, 2024 · 1 comment

Comments

@silvigon
Copy link

silvigon commented Oct 3, 2024

Was able to reproduce this on the live environment of a Fedora 40 install image, where building according to the instructions produces the following error:

In file included from /home/liveuser/Ripes/external/VSRTL/external/cereal/include/cereal/archives/json.hpp:56,
                 from /home/liveuser/Ripes/external/VSRTL/graphics/vsrtl_componentgraphic.cpp:14:
/home/liveuser/Ripes/external/VSRTL/external/cereal/include/cereal/external/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’:
/home/liveuser/Ripes/external/VSRTL/external/cereal/include/cereal/external/rapidjson/document.h:319:82: error: assignment of read-only member ‘rapidjson::GenericStringRef<CharType>::length’
  319 |     GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; }
      |                                                                           ~~~~~~~^~~~~~~~~~~~
make[2]: *** [external/VSRTL/graphics/CMakeFiles/vsrtl_gfx_lib.dir/build.make:137: external/VSRTL/graphics/CMakeFiles/vsrtl_gfx_lib.dir/vsrtl_componentgraphic.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:990: external/VSRTL/graphics/CMakeFiles/vsrtl_gfx_lib.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

Edit to specify: I did try the same process on a Fedora 39 install image, where it compiled just fine. Git is available out of the box, and everything needed to build Ripes on a freshly booted Fedora live environment can be installed with the following command:

sudo dnf install qt6-qtsvg-devel qt6-qtcharts-devel
@silvigon
Copy link
Author

silvigon commented Oct 7, 2024

Perhaps a similar issue to bambulab/BambuStudio#4018 ?

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

1 participant