GCC C++ linking error : Undefined reference to ‘WinMain@16’ [duplicate]
This question already has answers here: How do I use SDL2 in my programs correctly? (3 answers) Closed 3 years ago. I’m have linking issue’s on codelite when I try to build my project. I get the error ‘undefined reference to ‘WinMain@16’. #include <stdio.h> #include <SDL2/SDL.h> int main() { SDL_Init(SDL_INIT_EVERYTHING); SDL_Quit(); return 0; } This […]