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

Undefined reference to 'SDL_main' #1

Open
Zac610 opened this issue Apr 30, 2021 · 0 comments
Open

Undefined reference to 'SDL_main' #1

Zac610 opened this issue Apr 30, 2021 · 0 comments

Comments

@Zac610
Copy link

Zac610 commented Apr 30, 2021

I had to modify main signature with this:

int main(int argv, char** args)

in order to avoid the Undefined reference to 'SDL_main' error.

I am under windows platform.

reference here.

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