-
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
error: building sdl2:x64-osx failed with: BUILD_FAILED #12
Comments
Related: microsoft/vcpkg#35839. Modifications needed here, not in vcpkg. |
Hi @Sn4k3R94. I've updated the repo to use the latest vcpkg tagged release as of now (2023.12.12), and updated the cmake files as per comments in microsoft/vcpkg#35839. Would you mind trying again? |
Thank you very much for all your help friend, apparently the code compiled, with a few warnings, however, the bin folder is empty and the compilation did not generate any executables. Any ideas what it might be? |
The |
The build directory has two folders, linux and vcpkg.macosx, but neither of them has any executable file. |
I don't have a macos machine to test this on, but the CI/CD pipeline shows the macos build going there: https://github.com/GPSnoopy/BelgianChocolateDuke3D/actions/runs/7315458589/job/19929130463 Maybe compare your build logs against this action log? |
At the end of the process this error occurs, comparing with the log you sent me: clang: error: linker command failed with exit code 1 (use -v to see invocation) |
There should be a few lines before that describe what the actual error is. I suspect it could be a missing dev library or tool that is otherwise installed by default on the GitHub action mac images. Be aware that the scripts in the repository are for macos x64. Apple M1 & co did not exist when I wrote these files; so I have no idea what would happen on a modern Apple machine (in theory, it should still work, but... but... but... ). |
Here is the entire log, from the beginning, I hope it can help because I really want to use your port.
|
I'm trying to compile the code but I'm getting this error at the end of the process, I'm on macOS Sonoma:
error: building sdl2:x64-osx failed with: BUILD_FAILED
Please ensure you're using the latest port files with
git pull
andvcpkg update
.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sdl2
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[sdl2]+Build+error
Include '[sdl2] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
vcpkg-scripts version: 14e7bb4ae 2022-05-10 (1 year, 7 months ago)
What could be?
The text was updated successfully, but these errors were encountered: