Dev-C++ is an ide, MINGW32 is a compiler.
Dev-C++ uses MINGW32 to compile the programs you write with Dev-C++ so download the tutorials ported to MINGW32, but you need allegro for most of them. it''s not the newest version of allegro, but it''s the one you gotta use. i still haven''t tried it yet.
MINGW32 ports: http://sites.netscape.net/zaqhaq/
Allegro: http://sourceforge.net/projects/alleg/
make sure you get Allegro version 3.9.32, not the newest one
Dev C++ user needs help
November 19, 2000 03:58 PM
The version of allegro does not matter since you are supposed to compile the tutorials.
I use Dev-C++, and I have had a few problems too, but I have found ways around them. When using opengl, you need to go to the project options, not compiler options, and the top thing where you can put in input, type "-lopengl32 -lglu32 -lglaux". The code needs some changes, too. I usually add
"#ifndef CDS_FULLSCREEN"
"#define CDS_FULLSCREEN 0"
"#endif".
you need to define it like this so that it will not die with compilers that do have it defined. I tried several values for it, but 0 was the only one that didn''t permenantly change the display. (It''s hard to use windows at a resolution of 320x240)
I also had a problem with programs that used math.h, so add
"#ifndef M_PI"
"#define M_PI 3.14159265359"
"#endif".
In the compiler options, the far right tab, check "compile for windows", and "include debug information" is helpfull too, and back in the project options check "no concole", and "compile c++" usually needs to be checked for programs that use the "BOOL" type.
When I use glaux.h, my programs report a missing "glaux.dll". I found one on the internet that worked.
I think that is it. Good luck. You can email me if it still doesn''t work. You''re the first person that I have heard of using dev-c++ other than me.
"#ifndef CDS_FULLSCREEN"
"#define CDS_FULLSCREEN 0"
"#endif".
you need to define it like this so that it will not die with compilers that do have it defined. I tried several values for it, but 0 was the only one that didn''t permenantly change the display. (It''s hard to use windows at a resolution of 320x240)
I also had a problem with programs that used math.h, so add
"#ifndef M_PI"
"#define M_PI 3.14159265359"
"#endif".
In the compiler options, the far right tab, check "compile for windows", and "include debug information" is helpfull too, and back in the project options check "no concole", and "compile c++" usually needs to be checked for programs that use the "BOOL" type.
When I use glaux.h, my programs report a missing "glaux.dll". I found one on the internet that worked.
I think that is it. Good luck. You can email me if it still doesn''t work. You''re the first person that I have heard of using dev-c++ other than me.
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
You are not alone smart_idiot ! I have both MSDEV and Dev C++ on my machine, and altough I mostly use MSDEV, I also use Dev C++ from time to time. Mostly for simple projects. I like its simplicity, templates, code completion, etc. There are some annoying things but it''s open-sourced freeware ! So I cant really complain.
www.bloodshed.net
Here you can find Dev-C++ and Dev-Pascal for anyone interested.
Tip download the Insight debugger because you can use it with Dev-C++, there is a link to it buried deep within the blooshed site but it is there.
WHO DO THEY
THINK THEY''RE
FOOLING : YOU ?
www.bloodshed.net
Here you can find Dev-C++ and Dev-Pascal for anyone interested.
Tip download the Insight debugger because you can use it with Dev-C++, there is a link to it buried deep within the blooshed site but it is there.
WHO DO THEY
THINK THEY''RE
FOOLING : YOU ?
WHO DO THEYTHINK THEY'REFOOLING : YOU ?
So now there''s 3 of us?
Yay! Dev-C++ rock!
I do use the insight debugger. The best part is that if you don''t like it, it comes with a windows version of the old dos one. Same thing. It just crashes more. I love that it can show your program in assembly. Every one that watches me thinks that I am a genuis. Ha Ha Ha. If they only know the truth.
Yay! Dev-C++ rock!
I do use the insight debugger. The best part is that if you don''t like it, it comes with a windows version of the old dos one. Same thing. It just crashes more. I love that it can show your program in assembly. Every one that watches me thinks that I am a genuis. Ha Ha Ha. If they only know the truth.
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
November 20, 2000 11:50 AM
The correct value for CDS_FULLSCREEN is 4 as mentioned earlier.
If you have a link to a fully working DLL version of Microsofts version of glaux so please post it here.
I guess that I will never get used to how the name "Dev-C++" is used... :-)
If you have a link to a fully working DLL version of Microsofts version of glaux so please post it here.
I guess that I will never get used to how the name "Dev-C++" is used... :-)
Thanks guys I will now work on some sorta conversion I recently got the CD and I use Dev C++ because it is free. Thanks Guys I will tell you if and when I convert them all will anyone help my e-mail is below
mailto:peadar_coyle@ic24.net
Apocalypse Now! Software
Games so good we''ll go to hell for it
mailto:peadar_coyle@ic24.net
Apocalypse Now! Software
Games so good we''ll go to hell for it
mailto:peadar@coylelj.fsnet.co.uk
update:
I found some more header files that were not automatically loaded in Dev-C++.
For the use of malloc() and free() you need to include stdlib.h and for playsound() you need to include mmsystem.h and link winmm.lib.
It may be just me, but the dev-c++ exes look smaller than vc exes. It''s probably the way people compile them, though. (I''m comparing the NeHe halloween contest exes to the exes my compiler made then I compiled them.) I did optimize and turn off debugging. Did you? (Don''t answer that! Just do it.)
I found some more header files that were not automatically loaded in Dev-C++.
For the use of malloc() and free() you need to include stdlib.h and for playsound() you need to include mmsystem.h and link winmm.lib.
It may be just me, but the dev-c++ exes look smaller than vc exes. It''s probably the way people compile them, though. (I''m comparing the NeHe halloween contest exes to the exes my compiler made then I compiled them.) I did optimize and turn off debugging. Did you? (Don''t answer that! Just do it.)
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
November 27, 2000 10:30 AM
You would get the same result with the headers on any other compiler with the same headers.
The small exe size is because the C library is in a dll. I think that the version of Mingw that comes with Dev-C++ is using the same library as VC.
If you are building a program with VC can you also link to a static C library. A program built with VC that is using the multithreaded dynamic lib would be very much the same as the Mingw generated.
The small exe size is because the C library is in a dll. I think that the version of Mingw that comes with Dev-C++ is using the same library as VC.
If you are building a program with VC can you also link to a static C library. A program built with VC that is using the multithreaded dynamic lib would be very much the same as the Mingw generated.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement