phoboslab / pl_mpeg

Single file C library for decoding MPEG1 Video and MP2 Audio
799 stars 58 forks source link

Made it possible to compile it in Windows when using MinGW via MSYS2 #29

Closed Zero3K closed 1 year ago

Zero3K commented 2 years ago

The compiled exe works but it is not statically linked. I used the following command to compile it:

gcc pl_mpeg_player.c -o pl_mpeg_player.exe -mconsole -lglew32 -lopengl32 -lsdl2