From: <var...@co...> - 1999-12-30 05:06:12
|
At 05:49 PM 12/29/99 -0800, you wrote: > DJGPP/RSXNTDJ etc. I recommend you replace RSXNT with MingW32 if you want to use Allegro: at least it's still supported. >My problem is baffling to someone like myself, and I know this probably >won't explain too much. > >On the one hand, this program compiles just fine and causes the screen to >black out until a key is pressed (I have included the wrapper.h that comes >with winallegro; pmain is my main function): wrapper.h ? Oh, you're using the original winallegro ! Get the latest WIP (=work-in-progress, 3.9.30 is the latest). It's even better than winalleg 8 or allegro 3.12 (for DOS and Windows): more stable and has more features. >#define __DJGPP__ You don't need the above if your compiling with something else that DJGPP, and DJGPP already defines DJGPP: get rid of that line: it'll cause more trouble than good. >#include <wrapper.h> Like I said, get the WIP, this version is terribly outdated. You should in any case include "allegro.h" > install_keyboard(); >// putpixel(screen, 50, 50, makecol24(240, 100, 10)); > while (!keypressed()){ What command line do you use to link your program ? My guess is you forgot to use "-lalleg". - Robert J Ohannessian (ex-GodOfWar....until I find a better nick) There is always one more bug. |