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

Build for Linux Mint Cinnamon 21.1 #53

Closed
WZ9V opened this issue Dec 24, 2022 · 1 comment
Closed

Build for Linux Mint Cinnamon 21.1 #53

WZ9V opened this issue Dec 24, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@WZ9V
Copy link

WZ9V commented Dec 24, 2022

For those having build issues, here is what worked for me on Linux Mint 21.1 Cinnamon. All of this is mostly summarized from prior posts but I thought it might be nice to have it in one post. Needs 32GB of RAM in machine.

Here are the prerequisites (must install first)

#install cmake
sudo apt-get install cmake

#install git
sudo apt-get install git

#install g++
sudo apt-get install g++

#install opengl
sudo apt-get install build-essential libgl1-mesa-dev

#install m4
sudo apt-get install m4

#install wayland
sudo apt install libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules

#install pkgconf
sudo apt-get install pkgconf

#install glu
sudo apt-get install libglu1-mesa-dev

##install cairo
sudo apt-get install libcairo2-dev

##install gtk-3-dev
sudo apt-get install libgtk-3-dev

##install libsoup
sudo apt-get install libsoup2.4-dev

##install webkit
sudo apt-get install libwebkit2gtk-4.0-dev

##install gstreamer
sudo apt-get install libgstreamer1.0-dev
sudo apt-get install libgstreamer-plugins-good1.0-dev
sudo apt-get install libgstreamer-plugins-base1.0-dev

#osmesa
sudo apt-get install libosmesa6-dev

Get the code

git clone https://github.com/SoftFever/BambuStudio-SoftFever.git

To fix the build plate not showing issue

Edit /BambuStudio-SoftFever/deps/wxWidgets/wxWidgets.cmake to add a new line after line 51: -DwxUSE_GLCANVAS_EGL=OFF

image
Get the code

Build the code

cd BambuStudio
./BuildLinux.sh -u #only needed once
./BuildLinux.sh -dsi

Test that it works
cd build
./BambuStudio_ubu64.AppImage

Move to a more permanent location
sudo mv BambuStudio_ubu64.AppImage /opt
add /opt/BambuStudio_ubu64.AppImage into the menus

I've found that attempting a second build requires removal of the directories and a new clone or it fails.

@WZ9V WZ9V added the bug Something isn't working label Dec 24, 2022
@WZ9V WZ9V closed this as completed Dec 24, 2022
@WZ9V
Copy link
Author

WZ9V commented Dec 24, 2022

Mislabeled as bug. More of a set of instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant