-
-
Notifications
You must be signed in to change notification settings - Fork 525
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
updated build scripts for macOS and Linus and fix for mainframe.cpp #4363
base: nightly_dev
Are you sure you want to change the base?
updated build scripts for macOS and Linus and fix for mainframe.cpp #4363
Conversation
…t if there's none. supermerill/SuperSlicer/issues#778
only the last three commits from today are relevant for this request |
a752dff
to
efc778a
Compare
I don't advise to use the nightly_dev to submit a pull request, as I use this branch for dev, and so it can jump averywhere at anytime. Please use instead master, master_dev, master_25, master_27. These ones don't move that much. I guess I can just cherry pick your commits |
yes, aou take take these. |
5e0f604
to
787415d
Compare
787415d
to
5dc2ae8
Compare
97361d8
to
2aea702
Compare
f72d362
to
618bf81
Compare
ad52414
to
88fbaef
Compare
cf24df5
to
9a6ff34
Compare
88dcca0
to
51cb992
Compare
This updates the build scripts with some more options:
Usage: ./BuildLinux.sh [-h][-u][-w][-g][-b][-r][-d][-s][-l][-t][-i]
-h: this message
-u: only update dependency packets (optional and need sudo)
-w: wipe build directories before building
-g: force gtk2 build
-b: build in debug mode
-r: clean dependencies
-d: build deps
-s: build SuperSlicer
-l: update language .pot file
-t: build tests (in combination with -s)
-i: generate .tgz and appimage (optional)
For a first use, you want to 'sudo ./BuildLinux.sh -u'
and then './BuildLinux.sh -dsi'
It also provides a fix for mainframe.cpp:
Exception Handling: Changed catch (std::exception e) to catch (const std::exception& e) for proper exception handling. Bracing and Indentation: Ensured all case blocks and conditional sections have consistent indentation and bracing. Closing Preprocessor Directives: Ensured that the #endif directive correctly closes the conditional compilation block