Skip to content

Lib Not Found #674

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

Closed
NicFolk opened this issue Mar 2, 2022 · 5 comments
Closed

Lib Not Found #674

NicFolk opened this issue Mar 2, 2022 · 5 comments

Comments

@NicFolk
Copy link

NicFolk commented Mar 2, 2022

Mysteriously, my Xcode project said it can't find a certain library. It says "library not found for -lsdl2", which is very weird considering the fact that it was working perfectly just yesterday, and I hadn't touched it between then and when it stopped working. This error seems fairly common, but I found sites like Stack Overflow pretty unhelpful. this is my first attempted Xcode project. Does anyone have some advice?

@NicFolk
Copy link
Author

NicFolk commented Mar 9, 2022

Note: I managed to get rid of this by removing the ".a" at the end of many of my Xcode libraries in the "Link Binary with Libraries" section. Unfortunately, eventually, this opens up around 100 different Xcode errors.

@misl6
Copy link
Member

misl6 commented Mar 9, 2022

What is the library that you removed?
library not found for -lsdl2 means that can't find libsdl2.a (or there's something wrong).

@NicFolk
Copy link
Author

NicFolk commented Mar 11, 2022

I simply removed the ".a" at the of the end file name under build settings

@NicFolk
Copy link
Author

NicFolk commented Mar 11, 2022

Screen Shot 2022-03-10 at 6 21 37 PM

Copy link

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants