www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/06/18:00:04

From: dragonballz444 AT aol DOT com (Plethora)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: djgpp and allegro and windows XP problems
Date: 6 Feb 2003 14:59:27 -0800
Organization: http://groups.google.com/
Lines: 38
Message-ID: <4c32c9dd.0302061459.4197df25@posting.google.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1030205085402 DOT 15128M-100000 AT is>
NNTP-Posting-Host: 67.241.224.25
X-Trace: posting.google.com 1044572367 8775 127.0.0.1 (6 Feb 2003 22:59:27 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 6 Feb 2003 22:59:27 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message news:<Pine DOT SUN DOT 3 DOT 91 DOT 1030205085402 DOT 15128M-100000 AT is>...

> Please at least tell what did you type at the DOS window's prompt, that 
> caused it to freeze.  We cannot possibly guess that, can we?

Ok, I solved some of the problem, but am now having others.  Sorry for
some of the vaguery in the earlier message, but I am very new at this
overall.  It turned out to be a problem with the .env file.  I did
what it said in the readme, but I guess I didn't do it right, because
it worked ok when I redid it.  My problem now is with Allegro.  Once
again I apologize, I should be able to find answers to these in the
documentation, but try as I might I can't find anything.  I got a
simple allegro test program that looks like this:

#include <allegro.h>

int main()
{
 allegro_init();
 install_keyboard();
 set_gfx_mode(GFX_VGA,320,200,0,0);
 textout_centre(screen,font,"Ready. Beep.",160,100,255);
 readkey();
 return 0;
}

Allegro initializes just fine, but then when I try to compile I get
this error:

error C2065: 'GFX_VGA' : undeclared identifier

All this means to me is perhaps that GFX_VGA isn't included in the
allegro library, but that doesn't really make sense to me, as this
test program came from an allegro tutorial.  So my question is simply,
are there any common problems like this with install allegro that
people know about.  I followed the installation step by step, and
everything works fine except for that little bit of code.  So yeah,
any help would be appreciated.

- Raw text -


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