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

Problems with iOS #760

Closed
paulocoutinhox opened this issue Sep 5, 2022 · 2 comments
Closed

Problems with iOS #760

paulocoutinhox opened this issue Sep 5, 2022 · 2 comments

Comments

@paulocoutinhox
Copy link
Contributor

paulocoutinhox commented Sep 5, 2022

Hi,

I have some problems with openal on iOS related to lib atomic:

Log:
https://github.com/axys1/axys/runs/8181514696?check_suite_focus=true#step:4:1885

Our CMakeLists is the same of yours:
https://github.com/paulocoutinhox/axys/blob/support-tvos/thirdparty/openal/CMakeLists.txt

Error:
ld: library not found for -latomic

Can you help me?

@kcat
Copy link
Owner

kcat commented Sep 5, 2022

That's odd. It passed the check for libatomic during configuration, so it found it while cmake was testing it, but fails to find it during linking, Where is libatomic that it was found at one point and not the other?

@paulocoutinhox
Copy link
Contributor Author

Fixed. The problem is with ios.toolchain.cmake that has a flag ENABLE_STRICT_TRY_COMPILE = OFF. When i set to ON it works.

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

No branches or pull requests

2 participants