hullo! first time posting.. hope this is in the right place.
i'm having some trouble with allegro. i decided to give it a shot, but having problems getting it to work. i downloaded the thing for MSVC (i'm using MS visual C++ 6.0) from http://galileo.spaceports.com/~springs/ . i installed it, and went to http://www.allegro.cc/docs/windows-msvc-use.html (which i found in a readme file, i think) to test it out. as far as i know, the installation went fine.. i followed the instructions carefully, and i think i set up everything up right. it compiled fine, but when i ran it, i got this:
--------------------Configuration: allegrotest - Win32 Debug--------------------
Linking...
LINK : warning LNK4098: defaultlib "MSVCRTD" conflicts with use of other libs; use /NODEFAULTLIB:library
MSVCRT.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/allegrotest.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
allegrotest.exe - 2 error(s), 1 warning(s)
i did the "statically linking" part on that page. here's the code i used..
Code:
#define ALLEGRO_STATICLINK
#define USE_CONSOLE
#include "allegro.h"
int main(void)
{
allegro_init();
allegro_message("Hello World");
return 0;
}
END_OF_MAIN();
anyone know what's wrong? i searched the forum and FAQ, but didn't find anything to solve the problem... help would be greatly appreciated.