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

2.8.0 issues with building #12884

Open
2 tasks
fordfrog opened this issue Jun 22, 2024 · 3 comments · May be fixed by #13080
Open
2 tasks

2.8.0 issues with building #12884

fordfrog opened this issue Jun 22, 2024 · 3 comments · May be fixed by #13080

Comments

@fordfrog
Copy link

Description of the bug

on gentoo linux (with boost-1.85.0) there are some missing includes that prevent compilation. we also had problem with linking prusaslicer because of missing libcrypto. here are the two patches that we use to evade those issues (i'm not sure they're correct though):
https://github.com/gentoo/gentoo/blob/master/media-gfx/prusaslicer/files/prusaslicer-2.8.0-missing-includes.patch
https://github.com/gentoo/gentoo/blob/master/media-gfx/prusaslicer/files/prusaslicer-2.8.0-fixed-linking.patch

Project file & How to reproduce

not related

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

2.8.0 beta1

Operating system

gentoo linux

Printer model

not related

@fordfrog
Copy link
Author

i updated the includes for r1. the links in the original post are still valid.

@mogorman
Copy link

I had to patch the 2.8.0 release the same way for nixos

--- a/src/slic3r/CMakeLists.txt
+++ b/src/slic3r/CMakeLists.txt
@@ -376,6 +376,7 @@ set(SLIC3R_GUI_SOURCES
 )
 
 find_package(NanoSVG REQUIRED)
+find_package(OpenSSL REQUIRED)
 
 if (APPLE)
     list(APPEND SLIC3R_GUI_SOURCES
@@ -404,7 +405,7 @@ endforeach()
 
 encoding_check(libslic3r_gui)
 
-target_link_libraries(libslic3r_gui libslic3r avrdude libcereal imgui libvgcode GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES} NanoSVG::nanosvg NanoSVG::nanosvgrast)
+target_link_libraries(libslic3r_gui libslic3r avrdude libcereal imgui libvgcode GLEW::GLEW OpenGL::GL hidapi libcurl ${wxWidgets_LIBRARIES} NanoSVG::nanosvg NanoSVG::nanosvgrast OpenSSL::SSL OpenSSL::Crypto)
 
 if (MSVC)
     target_link_libraries(libslic3r_gui Setupapi.lib)

@fordfrog fordfrog changed the title 2.8.0 beta1 issues with building 2.8.0 issues with building Jun 28, 2024
@Rose-David Rose-David linked a pull request Jul 12, 2024 that will close this issue
@amatulic
Copy link

Might be related to #13037 on Windows

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.

3 participants