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

updated build scripts for macOS and Linus and fix for mainframe.cpp #4363

Open
wants to merge 11 commits into
base: nightly_dev
Choose a base branch
from

Conversation

wschadow
Copy link

@wschadow wschadow commented Jul 8, 2024

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

@wschadow
Copy link
Author

wschadow commented Jul 8, 2024

only the last three commits from today are relevant for this request

@supermerill supermerill force-pushed the nightly_dev branch 3 times, most recently from a752dff to efc778a Compare August 1, 2024 14:48
@supermerill
Copy link
Owner

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
c0b65fd
a681c41
c4f91f6
to recreate this pull request?

@wschadow
Copy link
Author

wschadow commented Aug 1, 2024

yes, aou take take these.

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