From: Elias P. <el...@us...> - 2005-05-23 20:31:49
|
On Mon, 2005-05-23 at 18:56 +0200, du....@we... wrote: > hi, >=20 > ich bekomme bei folgendem quellcode .... >=20 >=20 >=20 > #include <allegro.h> >=20 > int main(int argc, char **argv)=20 > { =20 > allegro_init(); > allegro_message("Hallo Welt!"); >=20 > } END_OF_MAIN(); >=20 >=20 >=20 > folgende fehlermeldung.... >=20 >=20 >=20 > LIBCD.lib(crt0.obj) : error LNK2019: Nicht aufgel=F6stes externes Symbol = '_main', verwiesen in Funktion '_mainCRTStartup' >=20 >=20 >=20 > woran liegt das???? Translation: What causes this? [the above error message] Du musst in den Linker Einstellungen "multithreaded DLL" ausw=E4hlen, bzw. die -MT Option angeben (bin mir nicht ganz sicher, war es -MD? sollte auf jeden Fall in der Dokumentation zu finden sein). Translation of my reply: Use "multithreaded DLL" in the linker options, or the -MT switch (or was it -MD? Should be in the docs.). --=20 Elias Pschernig |