Quantcast
Channel: User HolyBlackCat - Stack Overflow
Viewing all articles
Browse latest Browse all 1313

Comment by HolyBlackCat on SDL compiling error using g++ undefined reference to "class::funciton"

$
0
0
@Someprogrammerdude You do need -lmingw32 for SDL2. (It has something to do with linking order, IIRC because -lSDL2main provides its own main or WinMain, and -lmingw32 doesn't find it with default link order.)

Viewing all articles
Browse latest Browse all 1313

Trending Articles