Sam Crow <samuraileumas yahoo.com> writes:
Are you aware of the fact that SDL defines a macro to wrap the main function?
It expects int main(argc, *argv) as its arguments (with the possible
of using different variable names for the passed parameters). If you try int
main() or int main(void) or void main() or anything that doesn’t include the
arguments passed from the command line, it won’t work.
Sorry, thats int main(int argc, char *argv) not int main(argc, *argv) .