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

error while running make all : 'system' is unavailable: not available on iOS #87

Closed
omkarpg-maai opened this issue Sep 2, 2024 · 2 comments

Comments

@omkarpg-maai
Copy link

full error while running make all :

resim.mm:56:15: error: 'system' is unavailable: not available on iOS
        int status = system(cmd);
                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk/usr/include/stdlib.h:184:6: note: 'system' has been explicitly marked unavailable here
int      system(const char *) __DARWIN_ALIAS_C(system);
         ^
1 error generated.
make[1]: *** [build] Error 1
make: *** [all] Error 2

has anyone faced this issue before ?

@PoomSmart
Copy link
Collaborator

It's as if it's being compiled for iOS. That's not right as it is specifically for macOS.

@PoomSmart
Copy link
Collaborator

Ensure that you are not compiling for iOS. Running make all should already work.

@PoomSmart PoomSmart closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2024
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