Archived

This topic is now archived and is closed to further replies.

More Allegro woes

This topic is 6389 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

OK Allegro is really giving me a headache now. Is there somewhere where all the Allegro stuff is compiled? I have to use this make.exe program and it''s a nightmare. I know my DJGPP stuff is installed properly, but now I have to download all new junk just to compile Allegro??? Well I went to the DOS prompt, ran the make.exe, and it starts compiling...then I get a nice set of scrolling errors..it compiles some more, some more errors, etc. Then it''s done and nothing is compiled at all. I run it again and get a whole new set of errors. But before I even got make.exe running I had to download the thing, which was no easy task to even KNOW I needed it. Then I had to download something else, not even knowing if these 2 versions would work together. Why isn''t this stuff easier to use? I mean...the language is a lot easier than getting the compilers to work. I don''t understand how people can program so well to where they can make these great libs but can''t make a compiler that''s not a headache to get running. so would anyone on the planet help me out and get me the Allegro compiled stuff? I know all my DJGPP stuff is installed correctly, and the autoexec.bat is configured as well. if I ever get this running im gonna make a website and upload all these folders of stuff so people like me who are idiots will be able to get this stuff working easy.

Share this post


Link to post
Share on other sites
Dear Slapzilla!

You didn''t mention the problem exact enough, so I have to guess what error(s) you mean...
I had problems compiling the Allegro library too, but without any reason (at least I know none ) suddenly it worked...

Well, you have to check that your "DJGPP" environment variable is set properly (it should point to the "DJGPP.ENV" file, wherever it is...)
If that didn''t help, please write down which errormessages are displayed...maybe I can help you...

Yours,

Indeterminatus

--consuetudo est quasi altera natura hominum...

Share this post


Link to post
Share on other sites
Hello again!

Sorry for the last reply, I think I skipped one paragraph ...

Are you sure you have downloaded everything of DJGPP needed? Just because the "MAKE.EXE" file should be in the package of the DJGPP zip files...
Maybe your version of "MAKE.EXE" collides with the Allegro library (or you have the "MAKE.EXE" by Microsoft, which might not work on Allegro...)

Yours,

Indeterminatus

--consuetudo est quasi altera natura hominum...

Share this post


Link to post
Share on other sites
I think it is much more likely that the person is in error and not the comiler as I never had a problem with DJGPP or Allegro.......did you bother to read the readme.txt that came with DJGPP and Allegro.......you need to read the one that came with DJGPP first....and set the environment variables in your system file.....like the readme says.......then read the Allegro readme file......
And you can''t just say.........this thing has errors when I try to compile Allegro, what is wrong ? .......that is not enough info......for all we know you dont have your computer turned on (that would be one reason why it doesn''t compile).......


"Now go away or I shall taunt you a second time"
- Monty Python and the Holy Grail
themGames Productions

Share this post


Link to post
Share on other sites
Here''s the error I get....

src/cpu.c:276: Invalid ''asm'' statement:
src/cpu.c:276: fixed or forbidden register 0 (ax) was spilled for class AREG.

it gives me a bunch of those...5. then is stops. the 276 changes with each set of errors. The numberss I get are 276, 155, 124, 64, and 155.

I read every single readme several times and did absolutely everything they said. I didn''t get errors with anything until I started using that make.exe program (downloaded off the Allegro mirror FTP).

Share this post


Link to post
Share on other sites
DOS programs will always be a bitch to set up. It's a fact of life. If they don't work, they will just spit out lots of error messages that won't make any sense to you.

What I urge you to do:
1. Get a copy of MS Visual C++ and the DirectX SDK.
2. If you already know C/C++, goto 3. Else learn C++.
3. Learn DirectX instead of Allegro.
4. Make some games


/. Muzzafarath
Mad House Software

Edited by - Muzzafarath on June 17, 2000 12:20:55 PM

Share this post


Link to post
Share on other sites
You need to make sure you have the LATEST version of Allegro. In fact, I would go with the WIP (work in progress) version. The reason is, it sounds like you have the latest version of DJDPP. There was a compatiblity problem with older asm code and the latest release of DJGPP. The current version of Allegro is fixed for that.

Share this post


Link to post
Share on other sites
I do have the latest version of Allegro. I downloaded the latest versions of everything they required.

I just don''t see why no one ever uploaded the Allegro stuff compiled already

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Geez, some these ppl are sure giving u a hard time. It took me weeks to figure out how to compile allegro. If you need a compiled version (3.11 i think) send me your e-mail address to

infestedfurby@hotmail.com

also check out infestedfurby.cjb.net ( my webpage)

ok, there''s my bit of advertizing

bye

Share this post


Link to post
Share on other sites
Hmmm. Allegro''s never given me a problem compiling under any platform. In fact, I found it really really easy. It really sounds as though there''s a problem with your DJGPP installation.

There are three reasons to compile Allegro under DOS. The first is that the library will then be optimised for your particular system, rather than a stadard 386 config. Yes, it does make a difference. Secondly, if you want to modify the library in any way, it''s better to have the source. Lastly, the source version of the library is much much smaller than the compiled version.

OK, so you''ve got a properly working DJGPP installation. I find this hard to believe, because you had to download make. Why? It''s there in the DJGPP package. Go to the Zip Picker at www.delorie.com/djgpp and tell it that you want to use C and Assembler and that you don''t want to use Allegro (it''s best to get the WIP version from www.sunsite.dk/allegro/).

Extract the Allegro file (all3932.zip is the latest) to a directory, enter that directory in the DOS prompt, type "make" and hit enter. That''s it.

If you''re still having problems, try typing in "SET ALLEGRO_USE_C=1" at the DOS prompt before you type "make". Otherwise visit the Allegro site and ask the mailing list.

HTH


=> Arfa <=

Share this post


Link to post
Share on other sites
For DOS Borland, I don''t think so. I think Allegro has to be 32-bits or more.

For Windows Borland C++, I think some people have had success with the MSVC precompiled .dll, but I''m not sure if anyone''s actually got it to compile yet.

Yes, there are precompiled libs for the Windows platform (well, MSVC at least).

=> Arfa <=

Share this post


Link to post
Share on other sites