From: Andrew Cottrell Newsgroups: comp.os.msdos.djgpp Subject: Re: djgpp and allegro and windows XP problems Date: Fri, 07 Feb 2003 17:19:07 +1100 Organization: ECLiPSE Lines: 18 Message-ID: References: <4c32c9dd DOT 0302061459 DOT 4197df25 AT posting DOT google DOT com> NNTP-Posting-Host: p48-max16.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1044598749 8637 203.173.154.176 (7 Feb 2003 06:19:09 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Fri, 7 Feb 2003 06:19:09 +0000 (UTC) X-Newsreader: Forte Agent 1.92/32.572 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >Allegro initializes just fine, but then when I try to compile I get >this error: > >error C2065: 'GFX_VGA' : undeclared identifier The source works fine, so it looks like you have not setup Allegro correctly or are not building your app correctly. Have you built Allegro library? Check that the demos run. Did you install the allegro library? You need to do this after you build it. Did you link int eh Allegro library? You need to do this. Read the readme and other docs that come with allegro as to how to build apps which include Allegro. Andrew