Problems building Bambu Studio on Linux

Has anyone successfully built Bambu Studio on Fedora ? (Or RHEL/CentOS)

I started off trying to build on my laptop running CentOS8. The network’s not great on that and I seemed to have random problems since the build process does some real-time Git clones. I tried again on a CentOS8 desktop and finally manage to build all the dependencies. I then fixed an issue in StateHandler.cpp where {0} was not supported in g++. Now I’m stuck with a lot of “undefined reference to `tbb::detail::r1::initialize” errors.

I’ve also tried to build on Fedora 41, which I installed on an old laptop, since BuildLinux.sh officially supports Fedora. I thought that would just work. No.
I get an error
FAILED: dep_OCCT-prefix/src/dep_OCCT-stamp/dep_OCCT-patch
deps/build/dep_OCCT-prefix/src/dep_OCCT/src/Font/Font_FTFont.cxx: No such file
I’ve tried the current release BambuStudio-01.09.07.52, the beta release BambuStudio-01.10.00.81, and the current Git master with the same result.

I’ve been building software on Linux for 30 years (which means that 90% of what I know is obsolete and wrong, which doesn’t help). BambuStudio is tantalizingly close to building - 99.99% of it works. If there’s a particular release that works with a particular Fedora version, I could try that. The build process is so complex I can’t figure out what’s wrong and fix it. E.g. I can’t find “tbb::detail::r1::initialize” in any of the files where the error message apepars, or indeed in any files at all in the entire tree.

This probably wont help, but you never know.
I installed Mint Cinnamon last month & BS is listed in the App Launcher.
I haven’t installed it because I don’t use my laptop for slicing.
So you could post the the Mint forums for some help.

I just installed it on my Linux Mint 21.3 machine I use for Octoprint. It was able to load an STL and slice no issues. I did not attach it to my printer since it was just a test to see if it Studio would run ok. It appears to be working just fine.

1 Like

Linux Compile Guide · bambulab/BambuStudio Wiki · GitHub

Problems building Bambu Studio · Issue #5171 · bambulab/BambuStudio · GitHub
https://forum.bambulab.com/tag/product-request
Fedora 41 6.11.5-300.fc41.x86_64

Yes, that’s me.
I finally got the current “official release” to build on Fedora 40 on an old laptop, using BuildLinux,sh, after patching a makefile per
issue 4689

Ideally I’d still like to get it running on CentOS8, preferably as an RPM package, but I’ll probably give up and switch to trying to actually design things to print.