undefined reference to `WinMain@16'
Posted 22 September 2007 - 04:15 PM
I get an error when compiling the games i try to make with devc++
the error is undefined reference to `WinMain@16'
can anyone help me??
Posted 22 September 2007 - 04:21 PM
int main(int argc, char *argv)
It is important that you use that exact line of code for defining main because SDL has to convert the main function into WinMain.
In DevC++ the linker section of the project options under the project menu read something like this:
Posted 22 September 2007 - 04:26 PM
but can you say the second part in pure english?? I dont undersand it...
Posted 22 September 2007 - 04:29 PM
Posted 24 September 2007 - 04:38 PM
(I hope this works, I'm typing this at school. I don't have DevC++ right here and am typing these instruction from memory.)
Posted 24 September 2007 - 08:05 PM
Can you tell me which compiler do you use?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users