-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Script error when building on GNU/Linux #772
Comments
I second that, same issue on MBP Mojave 10.14.4
|
The reason the build breaks is due to the logic in `cmake/Version. I can confirm the issue on Mojave. I cheated and succeeded in compiling by hard coding
Another and better way to fix is to create a local branch named for instance |
yeah the versioning is utterly broken at this point 🤕 |
@xor-gate put at least a short remark into the CMakeList near the line 124 on how to solve the problem until it's properly fixed. Because the error is anything but intuitive to solve |
Steps to reproduce a similar error : git clone https://github.com/texane/stlink.git --no-tags
cd ./stlink
make release |
make Version.cmake more error-resistant (Fixes #772)
Hello @vanfanel. Can you check the develop branch if this issue is gone? |
@tuffstudio @alf @flux242: Can one of you verify this? |
@slyshykO: vanfanel, tuffstudio, alf and flux242 all have no fork of this project anymore... (so I don't expect any reply here) |
I can reproduce the problem in v1.5.1, but not in v1.6.0 (working). So in fact it was already fixed in the latter release. I conclude that your PR #872 was helpful, but did not fix this, as it had been fixed before. Never mind, I'll add the relevant PR from before and then close this as resolved & verified. |
Duplicate of #563. |
Hi there,
I'm trying to build on GNU/Linux (Debian-based distro, Lubuntu) but I get an error when trying. All dependencies are met. Yet there seems to be a script problem:
In CmakeLists.txt there's this:
So, any idea on what's going on here?
Thanks!
The text was updated successfully, but these errors were encountered: