Has anyone gotten the Simple DirectMedia Layer to compile and run in Dev C++? I've altered the include and lib directories to add the SDL ones, but it still acts as if the SDL headers don't exist, and tosses back an error WinMain@16 (depite the main() function having the correct header...)
-Solstice
solstice@deninet.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Has anyone gotten the Simple DirectMedia Layer to compile and run in Dev C++? I've altered the include and lib directories to add the SDL ones, but it still acts as if the SDL headers don't exist, and tosses back an error WinMain@16 (depite the main() function having the correct header...)
-Solstice
solstice@deninet.com
i got a strange problem i've never seen before ... when trying to compile any SDL test programs.
[Linker error] undefined reference to `WinMain@16'
it seems the program compiles, but can't link? any ideas?
Try using a main() function instead of WinMain().