Jump to content
  • Advertisement
Sign in to follow this  
Padschild

Installing Allegro on DJGPP

This topic is 4841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey all, Well.. Not really programmed much lately, so I thought, let's try out something like Allegro.. I normally used Visual C++, but it seemed that Allegro was largely covered for DJGPP, so Installed that, and DJGPP is working But when I now go to the allegro directory and type make, I get this: C:\DJGPP\allegro>make Compiling Allegro for djgpp, optimised. Please wait... gcc -DALLEGRO_SRC -Wall -Wno-unused -mcpu=pentium -O2 -funroll-loops -ffast-math -fomit-frame-pointer -I. -I./include -o obj/djgpp/alleg/fli.o -c src/fli.c `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. src/fli.c: In function 'do_fli_256_color': src/fli.c:319: error: invalid lvalue in increment src/fli.c:324: error: invalid lvalue in increment src/fli.c:325: error: invalid lvalue in increment src/fli.c:333: error: invalid lvalue in assignment src/fli.c:340: error: invalid lvalue in increment src/fli.c:341: error: invalid lvalue in increment src/fli.c:342: error: invalid lvalue in increment src/fli.c: In function 'do_fli_delta': src/fli.c:364: error: invalid lvalue in increment src/fli.c:369: error: invalid lvalue in increment src/fli.c:379: error: invalid lvalue in increment src/fli.c:392: error: invalid lvalue in increment src/fli.c:393: error: invalid lvalue in increment src/fli.c:399: error: invalid lvalue in assignment src/fli.c:409: error: invalid lvalue in assignment src/fli.c:411: error: invalid lvalue in increment src/fli.c: In function 'do_fli_color': src/fli.c:435: error: invalid lvalue in increment src/fli.c:440: error: invalid lvalue in increment src/fli.c:441: error: invalid lvalue in increment src/fli.c:449: error: invalid lvalue in assignment src/fli.c:456: error: invalid lvalue in increment src/fli.c:457: error: invalid lvalue in increment src/fli.c:458: error: invalid lvalue in increment src/fli.c: In function 'do_fli_lc': src/fli.c:479: error: invalid lvalue in increment src/fli.c:480: error: invalid lvalue in increment src/fli.c:493: error: invalid lvalue in increment src/fli.c:499: error: invalid lvalue in increment src/fli.c:500: error: invalid lvalue in increment src/fli.c:506: error: invalid lvalue in assignment src/fli.c:516: error: invalid lvalue in assignment src/fli.c:518: error: invalid lvalue in increment src/fli.c: In function 'do_fli_brun': src/fli.c:559: error: invalid lvalue in increment src/fli.c:568: error: invalid lvalue in increment src/fli.c:575: error: invalid lvalue in assignment src/fli.c:584: error: invalid lvalue in assignment src/fli.c:586: error: invalid lvalue in increment src/fli.c:596: error: invalid lvalue in increment src/fli.c:603: error: invalid lvalue in assignment src/fli.c:612: error: invalid lvalue in assignment src/fli.c:614: error: invalid lvalue in increment src/fli.c: In function '_fli_read_header': src/fli.c:653: error: invalid lvalue in increment src/fli.c:654: error: invalid lvalue in increment src/fli.c:655: error: invalid lvalue in increment src/fli.c:656: error: invalid lvalue in increment src/fli.c:657: error: invalid lvalue in increment src/fli.c:658: error: invalid lvalue in increment src/fli.c:659: error: invalid lvalue in increment src/fli.c:660: error: invalid lvalue in increment src/fli.c:661: error: invalid lvalue in increment src/fli.c:662: error: invalid lvalue in increment src/fli.c: In function '_fli_read_frame': src/fli.c:679: error: invalid lvalue in increment src/fli.c:680: error: invalid lvalue in increment src/fli.c:681: error: invalid lvalue in increment src/fli.c: In function '_fli_parse_chunk': src/fli.c:696: error: invalid lvalue in increment src/fli.c:697: error: invalid lvalue in increment make.exe: *** [obj/djgpp/alleg/fli.o] Error 1 I can't find anything about this on the allegro site or on google :( Anyone know how to fix this? Or do I just need to stick to VC++ :P

Share this post


Link to post
Share on other sites
Advertisement
DJGPP is a dos compiler. If you would use a windows compiler your life would be much easier.
I suggest mingw. You can download it separately or with devcpp.

Share this post


Link to post
Share on other sites
Yeah, normally I wouldn't make a "Stop using DJGPP" comment if it's what you want to use, but if you installed it just to use Allegro, I highly suggest a Windows compiler like MinGW.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!