![]() |
|
-- Dev-C++ users, READ THIS! -- |
Bob
Free Market Evangelist
September 2000
![]() |
That file should have plenty of files inside of it. The ".." means the parent directory, and the "." means the current directory. In essence, the file is completely empty. So either it wasn't downloaded correctly, or whatever program you use to un-tar-gz it is unable to correctly do so. -- |
Specter Phoenix
Member #1,425
July 2001
![]() |
Thanks Bob my computer actually compiled Allegro (well my fiancees computer did). But I've still got a few minor problems. I followed your instructions to a T and it still gave me a few minor problems. When I type "make install" and press enter I recieve the following:
|
Specter Phoenix
Member #1,425
July 2001
![]() |
Nevermind about the .DLL part of my previous question. I stumbled upon the fact that I had to put the .DLL file in with the directories that had .exe files so they would run right. Unfortunately my first part of my question still stands about the "make install" part --Clayton Weaver
|
snake eyes
Member #933
January 2001
|
I usually put the dlls in c:\windows\system... that way it doesn't have to be copied and put into many folders where .exe files are :-). |
Specter Phoenix
Member #1,425
July 2001
![]() |
Thanks I put the .DLL file in C:\Windows\System and it worked perfectly. Now I just have to get Allegro to install and I hope that Bob or someone can help with answering the error I posted earlier...3 posts up
|
Bob
Free Market Evangelist
September 2000
![]() |
vgdes2000: You had the DLL problem because make install failed. Now, are you sure you got the correct version of make? Type make -v and see if it shows 3.79.1, built for mingw. Finally, can you try compiling as so: -- |
DanielH
Member #934
January 2001
![]() |
Actually the error was about 12 pages of blank lines with an occasional message like |
23yrold3yrold
Member #1,134
March 2001
![]() |
Quote: That file should have plenty of files inside of it. The ".." means the parent directory, and the "." means the current directory. In essence, the file is completely empty. So either it wasn't downloaded correctly, or whatever program you use to un-tar-gz it is unable to correctly do so. I downloade the one you posted, and unzipped it with WinRAR. Should I try that Power Archiver thingie? Might that work? I know I had this problem with winapi before ...... -- |
Bob
Free Market Evangelist
September 2000
![]() |
In my experience, WinRAR is good for one thing: RARs. It has trouble with aeverything else. I'm using v2.71, so it may have improved since. -- |
DanielH
Member #934
January 2001
![]() |
I just downloaded all the files at home (28.8k slow). gcc -v Now when I ran make, it got to the same point (dibsound) and it tried to access my drive a. There isn't anything in drive a so I got the |
DanielH
Member #934
January 2001
![]() |
I just deleted everything and reinstalled it. I get the same error. Those two files compile fine. It's when it runs |
Bob
Free Market Evangelist
September 2000
![]() |
DanialH: What happens if you temporarily disable Norton Utilities, and try compiling and running programs. What I Something else I want you to try. If you run windres without any paraters, it will display a GCC command line, then hang until you press Ctrl+C. Can you post the command line? -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Wow! Got all the way to step 10! Buuuuut .... I push the green check mark and: Could not open the Bin directory Is there a menu where I can adjust this or something? I haven't deleted the path from Autoexec.bat (if that matters (though for DJGPP's sake, I will)). -- |
Matthew Leverton
Supreme Loser
January 1999
![]() |
Quote: Tell me, does the executable run without that DLL? I don't want to introduce unexpected dependencies. Bob> I assume you were talking to be about the DLL I was missing. After compiling the project, I renamed the DLL and it still ran - so it doesn't look like the compiled program is dependent on it. |
Bob
Free Market Evangelist
September 2000
![]() |
matthew: Yes, that's what I was refering to. Thanks! 23y: Go in Options/Compiler Options and make sure all the directories are correct. -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
I'll be f*cked. It worked. Of course, "Hello World" don't impress me none Also, does my now using DirectX (through Allegro, if I'm not mistaken) mean the game might run faster? Just curious .... -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Also, I can now remove the MinGW stuff from my Autoexec.bat, correct? -- |
Zaphos
Member #1,468
August 2001
|
Well, you do need the END_OF_MAIN();, you don't really need acquire and release bitmap. They may or may not help you. You don't need to use #if junk ... it will work with end_of_main(); even if you dos compile (I think that the dos compiled allegro examples have end_of_main(); in them.)
|
DanielH
Member #934
January 2001
![]() |
I ran windres by itself and it tried to acces the a drive and gave me the same I had to press f twice. and then Ctrl+c to exit the program. |
Specter Phoenix
Member #1,425
July 2001
![]() |
I haven't messed with any of the makefiles in the allegro directory. I just typed the "SET PATH" and "SET MINGDIR" paths like you showed. I entered them into the autoexec.bat file using the notepad. I entered them under @Echo Off on their own separate lines. I can't figure out what is going wrong because I have the right version of the file you told me to check on. What else could it be? I'm wanting to use it with Dev-C++, but I don't know what other options I have to make it install appropriately. Please help me figure this out
|
Bob
Free Market Evangelist
September 2000
![]() |
vgdes2000: you placed the two lines at the end of the autoexec.bat? Did you reboot? -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
Zaphos: Yes, but what I understand is that if you make the acquire/release_bitmap calls yourself, it's faster. That way the individual draw_sprite calls don't have to do it themselves. I'm a little iffy on what acquire and release really do, anyway ..... -- |
Specter Phoenix
Member #1,425
July 2001
![]() |
I just did some second time checks and found an interesting problem. I entered everything like you said Bob and I rebooted, but I typed "PATH" in the MS-DOS prompt after changing directory to C:\Dev-Cpp\allegro and it gave the reply of PATH=C:\DEV-CPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND Then I typed "MINGDIR" and it replied with:
|
amarillion
Member #940
January 2001
![]() |
quote: quote: I used to have problems with this, because I use 3 different compilers at the same time, and they were having a conflict because all of them have a different kind of "make". Here is my solution: and my djgpp.bat looks like this: -- |
23yrold3yrold
Member #1,134
March 2001
![]() |
I no longer seem to need multiple paths; DJGPP sets paths in Autoexec.bat, and Dev-C++ doesn't need it. Anyway, my several-thousand line DJGPP code compiled nicely in MinGW; I had to redeclare M_PI (Dev's math.h doesn't have it), change my srandom's and random's to srand's and rand's, and add END_OF_MAIN(). Portable source! Wheeeee! And I swear the Windows version runs a little faster than the DOS one .... I still don't like the whole must-recompile-every-bloody-file bit, but I guess I can write it in DJGPP and then make a Win version whenever I like. Thanks for this, Bob! -- |
|
|