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

issues compiling in XCode on macos m1 #131

Open
aaronroussel opened this issue Sep 16, 2021 · 0 comments
Open

issues compiling in XCode on macos m1 #131

aaronroussel opened this issue Sep 16, 2021 · 0 comments

Comments

@aaronroussel
Copy link

aaronroussel commented Sep 16, 2021

i'm having issues compiling the example triangle code in XCode. I'm new to XCode and MacOS.

when trying to run the project i get these errors:

Undefined symbols for architecture arm64: "_S2D_CreateWindow", referenced from: _main in main.o "_S2D_DrawTriangle", referenced from: _render in main.o "_S2D_Show", referenced from: _main in main.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

and I'm also getting a significant number of semantic errors within the header file claiming This declaration is not a prototype

tried compiling with simple2d build main.c and its returns error stating it could not find the header file.

any help would be greatly appreciated.

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

1 participant