Mail Archives: djgpp/2003/02/08/16:10:45
First off, thank you all very much for helping me thus far, I feel
like I am coming off as an idiot half the time, especially since I
keep finding answers where I should have looked for them in the first
place, but didn't think to.
Anyways, I am having one last problem, and I have been through ALL the
docementation and cannot for the life of me fix.
I am running allegro with visual c++, not good I realize, but allegro
does claim to support it and has instructions for using it. Besides
all of which, RHIDE crashes my system, stupid XP and its stupid lack
of dos support. And boy does it crash, I get cpu faults when I try to
run it.
So I have gone through the msvc documentation and done the 'make'
commands and install allegro. I have linked to alleg.lib and alld.lib
in my project (which was the problem I was having last time). I have
the demo up on the screen. It compiles with no errors, but I have one
single error when it goes through linking that I can't seem to fix.
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
I am guessing I have to link something else, or perhaps disable one of
the default linked libraries (and as a matter of fact, if I disable
libcd.lib, this particular error goes away, but I get a hoard of
others). I am also guessing this is more an issue with VC++ than it
is with allegro, but I could be wrong.
If anyone has any tips or advice, I would love to hear it.
-pleth
- Raw text -