www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/08/16:10:45

From: dragonballz444 AT aol DOT com (Plethora)
Newsgroups: comp.os.msdos.djgpp
Subject: one last bit o' help...
Date: 8 Feb 2003 11:28:20 -0800
Organization: http://groups.google.com/
Lines: 31
Message-ID: <4c32c9dd.0302081128.272fa5a7@posting.google.com>
NNTP-Posting-Host: 67.242.221.62
X-Trace: posting.google.com 1044732500 26771 127.0.0.1 (8 Feb 2003 19:28:20 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 8 Feb 2003 19:28:20 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019