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: NNTP-Posting-Host: 67.241.224.25 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 wrote in message news:... > 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 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.