Advertisement

Dev C++ user needs help

Started by November 19, 2000 08:21 AM
55 comments, last by Slade 23 years, 4 months ago
I put together a little thing for future reference to put into your code(I followed them and was finally actually able to compile a tute =o):


//**************************************************************//Compile options: -lopengl32 -lglu32 -lglaux#include <stdlib.h> //For malloc() and free()//#include <mmsystem.h> //For playsound(), link to winmm.lib for this too#ifndef CDS_FULLSCREEN#define CDS_FULLSCREEN 4#endif#ifndef M_PI#define M_PI 3.14159265359#endif//**************************************************************



Also, whenever I try to run an OpenGL tute from the IDE, it opens a small blank window saying "OpenGL Example," but the prog does compile correctly, as I can open it from Explorer...does this happen to anyone else?

Edited by - cliffhawkens on December 1, 2000 3:10:24 AM
[email=erydo@gdnmail.net" style="color: #ff0000; text-decoration:none; cursor:help;](o= erydo =o)[/email]
Which moon, cliffhawkens? I''m from Epimetheus (one of Saturn''s moons). Does Earth''s moon have a name? I should name it.

I have had no problems with running the programs with the compiler. I mean IDE. I also don''t know why it is running the wrong file. The "Open GL Example" program is a DEV-C++ programming example (It should be a colourful spinning triangle unless you changed it, so why is it black?). If you used it''s DEV file to start your own, that might be the problem, because it uses the full path. If your DEV file is named the same thing, (the exes are named after the dev files) it could just be running in the wrong directory. Try changing the project options or editing the dev file in notepad (it''s save in ASCII). That''s the only thing I can think of. Good luck.

pi i e. Good for a desert. Bad for a test.
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.
Advertisement


Satellite for those of you that prefer that over moon

Edited by - smart_idiot on December 1, 2000 11:48:55 AM
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.
I think our moon is the only one in our solar system w/out a name... shame on our race =o)

The thing is, I''m not compiling a Dev file, I copied the .cpp of the tute so it wouldn''t delete the original .exe if it didn''t compile correctly, and opened that lone .cpp file and compiled... when I tried to run the prog from the IDE, the "OpenGL Example" came up, but w/out the colored rotating triangle that''s in the Dev-C++ example...it compiled correctly, because there was an .exe in my C++ folder named "Copy of Lesson 26.exe" which ran perfectly...oh well, it isn''t a problem, just annoying =o)
[email=erydo@gdnmail.net" style="color: #ff0000; text-decoration:none; cursor:help;](o= erydo =o)[/email]
Hey, I found glaux.dll! Here's a link to a page that I found that has it:
ClickMe!
There ya' are!

Edited by - cliffhawkens on December 1, 2000 8:51:52 PM
[email=erydo@gdnmail.net" style="color: #ff0000; text-decoration:none; cursor:help;](o= erydo =o)[/email]
Excellent!

Advertisement
Naturally, as you were using that word, I assume you were referring to me, thank you =o)

Does anyone have else any issues to bring up about OpenGL and Dev-C++? Hints, tips, problems, comments, etc?

Personally, as Dev-C++ the only compiler/IDE setup I use, I'm very interested in anyone elses' thoughts!

Edited by - cliffhawkens on December 2, 2000 3:24:22 AM
[email=erydo@gdnmail.net" style="color: #ff0000; text-decoration:none; cursor:help;](o= erydo =o)[/email]
Well, I guess that''s 5 or 6 now..lol

I use Dev-C++ for DirectX 8.0! It was fun getting *that* working! But I found a cool page with all the right imp libraries.

I like the way I''m developing DirectX 8.0 apps and it hasn''t cost me a penny


"You say I''m a bitch like it''s a *bad* thing..."[email=alanetcetc@hotmail.com]Mail[/email] Site
Ooooh...! I''ve never been able to compile DX progs w/Dev-C++, but that''s not for this forum...could you e-mail me?
[email=erydo@gdnmail.net" style="color: #ff0000; text-decoration:none; cursor:help;](o= erydo =o)[/email]
I hate my schools stupid internet filter. It just doesn''t work. It''s like it does the exact opposite of what it is supposed to do. I can''t download the glaux.dll file. I can''t look at the opengl solar system simulator. I can''t even go to a website on parablas, yet I can still accidently end up at porn site once a week. I talked to the schools system administrator and the principal, but they both said they had to get someone from north bay to fix it. It''s been a month and nothing has changed. I hate this school. I wish I had the internet it my house so I could download the NeHe tutorals, and play with the demos. I can''t even use a floppy disk because my computer''s 3.5 inch floppy drive broken. I can use my CD burner to get stuff from my place to the shool, but there is no #### chance that I could use the school''s CD burner. Why the hell do they have it if the students can''t use it? I have a 52k modem, but my mother wont let me have the internet. She says I don''t need it, and that it is not a healthy enviroment. I wish she would stop living in the past.

I''m sorry I just feel left out, and I am having a bad day. I won''t flood the forum like this again. I''m just envious of you people.

So. . .

Anyone know how to get past my schools internet content filter?
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.

This topic is closed to new replies.

Advertisement