-
Notifications
You must be signed in to change notification settings - Fork 9
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 instructions don't work #31
Comments
@dietmarkuehl , please check latest main after #29 . |
Feedback gathered from Dietmar: Status: validated on RPI Linux with gcc-13 and clang-18. Failed for gcc-12. Need to lower cmake version to
|
I don't think the additional complexity of supporting that is worth it. CMake alone is fine as a build system for C++ projects IMO. |
@camio , agree with you. I think latest main README.md made progress in simplifing the build proccess of the project. We can put more defaults params in the CMakeLists.txt and maybe we can even simplify more. But we need to know if we want to invest or not time in this direction. @camio , please also check https://discourse.bemanproject.org/t/possible-high-priority-topic-short-long-term-approach-for-build-interface/153 (linked issue there) - I think we should keep #31 to track docs for what we have on main as a build system and the discourse for eventually changing an approach. |
I spend a lot of time on support for building packages, and cmake workflow is a constant problem. Presets are an initial attempt to provide better workflow support, but suffer from combinatoric explosion issues if you need more than one path through the entire build. I suggested Requiring so many commands to do common actions, and in the right order, is a failure in ergonomics, and "your IDE will fix it" is not much better. "You just have to remember" is an admission that people won't and you will blame them for it. Note: I really am assuming good will on everyone's part here! The common state for C++ projects is awful, and that's not the worst problem most C++ projects have, so we live with it and work around it. re: tool versions - It's too bad there isn't an existing CppPI, but we might considering leveraging PyPi. We probably will need to anyway for linting tools? PyPI has cmake, ninja [w/jobserver patch], clang-format, clang-tidy, as well as cmakelint, cmake-format, and others. The big advantage is that by installing in a virtual env the project doesn't have to rely on OS provided tools or require local installs that have cross-project impact. I'll make some notes on the linked discourse, too. Getting a better Out-Of-Box experience should be the goal here. |
I'm not disagreeing, assuming the cmake works. It may still be cute to effectively pretend (although I'd try to forward various arguments like --prefix to cmake): $ cat configure $ cat Makefile install: |
The build instructions of the
README.md
don't work. At least, it is required to get the submodules (as is done by the Makefile):Also, for the tests I get a message like (I'm building on a Raspberry PI with manually build gcc-14):
The text was updated successfully, but these errors were encountered: