Skip to content

Conversation

@Nima0908
Copy link

I updated SuperSlicer to use the new apis of some of its dependencies and changed some to use the system wide ones instead of the bundled ones.

@Nima0908
Copy link
Author

I merged my changes with the new superslicer version so its up to date. Everything is working and compilling but there may be some redundand or obsolete code (i havent checked all of the files it merged into)

@supermerill
Copy link
Owner

Thanks.
Last time I tried to update something, macos-13 buidler complained (I can't upgrade it, it's the only cost-effective option to build on macos intel)
Does all the github build are okay with these changes?

@Nima0908
Copy link
Author

Thank you for pointing this out to me. The builds revealed that compilling SuperSlicer works fine on all different os`s but building the deps fails. Ill look into it

@Nima0908
Copy link
Author

Ah, i found the issue. Its because in the new version, i removed all the folders from the bundled in dependencies that i was able to outsource to use the system dependencies. The git build probaply still whants to use the build in boost so because there is non anymore it fails. This is probaply a failure from the gitbuild side (All windows, linux and mac fail with the same error in deps and on my machine locally all the deps compile fine, on linux as well as on windows). Sadly, i have no clue about yml and git builds, so i probaply whont be able to rewrite it.

@Nima0908
Copy link
Author

I confirmed it. Because i made cmake use systemlibs instead of the ones in the source, the yml git build files have to be modified for that

@supermerill
Copy link
Owner

the yml git build files have to be modified for that

you don't need to modify yml, the yml just call BuildLinux.sh or BuildMacos.sh
If you added a SLIC3R_USE_SYSTEM_LIBS option, you can add a -s flagto the scripts, and only activate this option if the flag is set, like for DEBUG

but as you deleted deps/+Boost/Boost.cmake, i'm not sure you can still build it...

note: you don't want to commit cmake/CPackConfig.cmake

@Nima0908
Copy link
Author

Ah, ok ill remove the cmake/CPackConfig.cmake then. Could you maybe verify if it builds on windows (the deps too)? It works on my machine but i still cant get it working in the github builds. The issue is not the flag that i added, but that the enviroments on github dont have the required system libs installed, and homebrew installs them without cmake support which is needed.

@Nima0908
Copy link
Author

Nima0908 commented Sep 26, 2025

I fixed the build dep issue now, but its still failing in the main phase now. Ill fix it soon hopefully

@Nima0908
Copy link
Author

Nima0908 commented Oct 4, 2025

There is a small issue with github using .a instead of .so for some dependencies, ill try to resolve it as soon as possible

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 this pull request may close these issues.

2 participants