![]() |
|
-- Dev-C++ users, READ THIS! -- |
Goodbytes
Member #448
June 2000
![]() |
23yrold3yrold: acquire_bitmap and release_bitmap only apply to video bitmaps, not to regular memory ones. If you're just drawing to a memory bitmap, then don't do it(it will be a waste of time). |
Bob
Free Market Evangelist
September 2000
![]() |
You -- |
DanielH
Member #934
January 2001
![]() |
Bob: |
23yrold3yrold
Member #1,134
March 2001
![]() |
set MINGDIR = (whatever directory Dev-C++ is in on your computer) -- |
Bob
Free Market Evangelist
September 2000
![]() |
DanielH: Sorry for the confusion. It's MINGDIR (no W). -- |
Specter Phoenix
Member #1,425
July 2001
![]() |
I figured out why Allegro wasn't letting me install it properly. Bob you told us to put "SET PATH=C:\Dev-Cpp\Bin;%path%" and "SET MINGDIR=C:\Dev-Cpp" into the Autoexec.bat file, but you forgot to tell us to type "set mingdir=c:\dev-cpp" before we type "make install". I typed "set mingdir=c:\dev-cpp" into the ms-dos prompt right before I typed "make install" and it completely installed the Allegro library and copied the files into the appropriate directories when it installed. I finally got Allegro up and running because it finally let me compile the small "Hello world!" example you gave at the very start of this thread. I stumbled upon this minor over site when I decided to compare your instructions with the original readme.mgw file and I noticed you didn't put to type "set mingdir=c:\dev-cpp" into the ms-dos prompt before you type "make" or "make install". I decided that worse thing that could happen if I typed it was that it would tell me that it was a "Bad command or file name" so I typed it out and sure enough my hunch was right and it let me install the Allegro library and compile the example you gave
|
Goodbytes
Member #448
June 2000
![]() |
Clay: You shouldn't have to type 'set MINGDIR=C:\Dev-Cpp' if you put that line in your autoexec.bat and restarted your computer. If you did restart your computer and you had to type it anyway, check your monitor while your computer is starting up(press ESC to leave that fancy blue Windows logo) and see if there is a message that says "Out of environment space." If so, you need to increase your environment space. |
Bob
Free Market Evangelist
September 2000
![]() |
What goodbytes said -- |
Specter Phoenix
Member #1,425
July 2001
![]() |
I'll do that, but I'm not worried about it that much anymore since Allegro finally installed itself. Thanks for all the help and like I said I'll do that to check and be on the safe side
|
Justin_W
Member #655
September 2000
![]() |
Whew ! Great job Bob. I've been using a really old version of Allegro for some time now since I didn't want to stumble my way through compiling everything again. Now I'm finally updated. Much easier. If 4.0 comes out soon, however, I hope someone just posts everything ready to go. Be about the same amount of downloading. |
DanielH
Member #934
January 2001
![]() |
Bob: |
Bob
Free Market Evangelist
September 2000
![]() |
DanielH: What could be happening is that Norton detects that a new windows executable is being installed (you just compiled it!). The only thing I can suggest is that you either uninstall Norton's installer monitoring thing, and that you e-mail Norton's custommer support about the problem. -- |
Zaphos
Member #1,468
August 2001
|
That's messed up!
|
DanielH
Member #934
January 2001
![]() |
But why did I only get the problem when I compiled allegro with ming. when I compiled the allegro (same verison) with djgpp and msvc there wasn't any problem. I emailed bloodshed and they also told me it was norton. |
Specter Phoenix
Member #1,425
July 2001
![]() |
Well by the sounds of it you will have to take that question to your anti-virus software creator and ask them. Since it's their software then they should be able to tell you what is wrong with it.
|
DanielH
Member #934
January 2001
![]() |
How come I get the feeling that I'm not being understood? |
Bob
Free Market Evangelist
September 2000
![]() |
DanielH: I don't know about you, but I see pattern. Mingw + Norton = not good. Mingw doesn't pop up messages about monitoring installations, Norton does. Mingw doesn't signal other apps about creating files, only the OS. Norton taps into this. So, for some yet to be determined reason, Norton thinks that the build process done by Mingw to create object files/execs/whatever is an installation program (which it is not). The fault lies in Norton's installer detector. If you can provide a better explanation for why it shouldn't be Norton's fault, I'd be glad to hear it, but from my perspective, there is a flaw (read: bug) in Norton. -- |
Justin_W
Member #655
September 2000
![]() |
Daniel: Are you saying that just running a program you make freaks Norton out, or compiling it? It sounds like your saying that every allegro program you create that isn't DJGPP looks like it is installing something every time you run it.... |
DanielH
Member #934
January 2001
![]() |
All the program does is monitor any installations that you do to the computer. I disabled it. |
Cage
Member #1,277
March 2001
|
Argh. I followed your instructions, bob, right to the T. And - well, I tried to run MAKE and it pumped out a load of crap. The problem is, (I think), when I type "make -v" it says it's built for "i386-pc-msdosdjgpp" and NOT for mingw32 or whatever! And yes, I DID run "fix mingw32" like 6 TIMES!!!! Please help me before i throw my computer into the bathtub Oh. Here's the exact output. C:\devcpp\allegro> NARF!!!!
----- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Why are you typing "make -v"? See step 6; you type "make" alone. -- |
DanielH
Member #934
January 2001
![]() |
I compiled a simple game in both msvc and dev-cpp, (allegro was compiled for both with mingw) and I got about the same frame rate. |
Bob
Free Market Evangelist
September 2000
![]() |
CageCode: you have DJGPP in your path. You should remove DJGPP from your path (and reboot!) before installing dev-c++. Same goes to Mingw, Cygwin or other versions of gcc. -- |
Bob
Free Market Evangelist
September 2000
![]() |
DanielH: THe difference in size is due to the options selected for compilation. Dev-C++ prolly has symbols stripped, no debug info and optimizations enabled, while the MXVC version has some debug inside. -- |
Specter Phoenix
Member #1,425
July 2001
![]() |
I've got to get used to being only able to create Allegro programs with Dev-C++ by clicking and making it a project since I can't link the allegro library to a single source file with Dev-C++ (if there is a way to link the library to a single source file without making the program a project I don't know how to do it). Other than that my Dev-C++/Allegro Game Programming Library is up and running nicely. I made and compiled the example program that you posted Bob and it worked perfectly. Right now I'm just reading the allegro.txt to learn all the different functions and routines. I've been writing them down and making short comments about them so that I have a written source to look at when I go to make a game or whatever. On a curiousity note: How long have you been programming and using Allegro, Bob? Just was wondering (mainly because I'm amazed at how much you know and how much you've been able to explain so thoroughly
|
|
|