Skip to main content
gamedev.net
🔒 Locked

Visual C++ .NET

Started by BradDaBug Sep 25, 2002 at 1:23 PM 26 replies 1.7k views
Original Post
BradDaBug
BradDaBug
I was about to order Visual C++ .NET when I noticed the system requirments, and the only version of Windows it runs on is NT 4, 2000, and XP. So it won't run on Windows 98?! What am I supposed to do now?! I'm not going to buy a new OS just to run an IDE! Perhaps Codeweaver or Borland. How good are they for game development? EDIT: Wups, meant Codewarrior. [edited by - BradDaBug on September 25, 2002 2:25:01 PM]
I like the DARK layout!
smart_idiot
smart_idiot
Dev-C++ 5 Beta is mostly usable now.
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
BradDaBug
BradDaBug
Just looked at Codewarrior, and its definatly too expensive for me.

I''ve tried Dev-C++ before, but i didn''t like it too much. I missed stuff from Visual C++ where tooltips would show me the type of variable, paramater lists, stuff like that. I also miss being able to right click on a variable or function and going to it''s declaration or definition.
I like the DARK layout!
pan narrans
pan narrans
YOU WILL BOW DOWN TO THE WILL OF MICRO$OFT... YOU HAVE NO MIND OF YOUR OWN. PURCHASE WIN XP NOW.

I have a theory that MICRO$OFT''s ultimate goal is to develop an OS that links hardware directly to the brain, this would have brilliant uses, unfortunately MICRO$OFT would also require you to sign over to them the rights for your thoughts, brainwaves, dreams...


pan narrans
Study + Hard Work + Loud Profanity = Good Code
Minister of Propaganda : leighstringer.com : Nobody likes the man who brings bad news - Sophocles (496 BC - 406 BC), Antigone
smart_idiot
smart_idiot
quote:
Original post by BradDaBug
Just looked at Codewarrior, and its definatly too expensive for me.

I''ve tried Dev-C++ before, but i didn''t like it too much. I missed stuff from Visual C++ where tooltips would show me the type of variable, paramater lists, stuff like that. I also miss being able to right click on a variable or function and going to it''s declaration or definition.


You can do that. Hold control and click on the variable.

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
BradDaBug
BradDaBug
Hey, it does seem improved since the last time I tried it.

But I still can''t use my wheel mouse, and I can''t right click on an #include <somefile.h> and have it open somefile.h.
I like the DARK layout!
smart_idiot
smart_idiot
Yes you can. Same way as with the variables.
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
BradDaBug
BradDaBug
Dev-C++ is looking better and better.

Is there a way to compile a single file, instead of my whole project?
I like the DARK layout!
Arion
Arion
Sorry to intrude on this thread, but it seems on topic.

This thread encouraged me to try Dev-C++.
Looks like a decent compiler.
No help whatsoever though.

However, I''m getting an error:
undefined reference to ''IID_IDirectInput8A''

The 3D side of things links very well. Just input problems. So far anyway.

And yes, I was going to buy Visual C++.NET too until I saw this thread. I hope I can pick up an older version somewhere.





Guy
smart_idiot
smart_idiot
I imagine that you need to add -ldinput8 to the linker options and include dinput.h, although I haven''t used Direct Input with Dev-C++ so I could be wrong.
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
intrest86
intrest86
I just have a few things to say

1) The main reason that Visual Studio .Net is only abailable on the NT Kernel is because the entire thing uses UniCode, and the developers thought that it would be a better use of resources to work on other things than converting all of the Unicode.

2) The IDE is a dream. It might take a week at most to get used to, but it makes your life much easier. I have also heard that the unmanaged VC7 compiler creates smaller and faster exectubales than VC6, but I don''t have any first hand knowledge ot this.

3) The real reason that VS.Net is only on the NT kernael is because Microsoft figured most developers were smart enough to use a development platform that didn''t crash in the middle of a compile.
Turring Machines are better than C++ any day ^_~
BradDaBug
BradDaBug
Back to Dev-C++...

I''m having trouble compiling my game. Its got lots and lots of source files, and when it gets time to link them I get an error saying something like "bad filename or request" and I''m pretty sure thats the same thing DOS says if you put in a command that''s too long, so that''s what I''m assuming is going on.

Is that what''s going on? Why is it telling me bad filename when it''s just using g++, which was used many times right above that part?

I like Dev-C++ as an IDE, but the compile process ain''t working too hot.
I like the DARK layout!
Arion
Arion
Apparantly you have to careful setting project, compiler settings to look for stuff. I don't know if that's the problem or not but it's worth checking out. I have posted a thread in the Dev-C++ forums. You might consider doing the same.

[EDIT] I see you already posted a thread . [/EDIT]

Guy

[edited by - Arion on September 28, 2002 1:02:45 PM]
smart_idiot
smart_idiot
I compiled Allegro without problems and there were a few huge commands like this:

dllwrap --target i386-mingw32 --def lib/mingw32/allegro.def -o lib/mingw32/alleg40.dll obj/mingw32/alleg/allegro.o obj/mingw32/alleg/blit.o obj/mingw32/alleg/bmp.o obj/mingw32/alleg/clip3d.o obj/mingw32/alleg/clip3df.o obj/mingw32/alleg/colblend.o obj/mingw32/alleg/color.o obj/mingw32/alleg/config.o obj/mingw32/alleg/datafile.o obj/mingw32/alleg/dataregi.o obj/mingw32/alleg/digmid.o obj/mingw32/alleg/dither.o obj/mingw32/alleg/dispsw.o obj/mingw32/alleg/drvlist.o obj/mingw32/alleg/file.o obj/mingw32/alleg/fli.o obj/mingw32/alleg/flood.o obj/mingw32/alleg/font.o obj/mingw32/alleg/fsel.o obj/mingw32/alleg/gfx.o obj/mingw32/alleg/glyph.o obj/mingw32/alleg/graphics.o obj/mingw32/alleg/gsprite.o obj/mingw32/alleg/gui.o obj/mingw32/alleg/guiproc.o obj/mingw32/alleg/inline.o obj/mingw32/alleg/joystick.o obj/mingw32/alleg/keyboard.o obj/mingw32/alleg/lbm.o obj/mingw32/alleg/libc.o obj/mingw32/alleg/math.o obj/mingw32/alleg/math3d.o obj/mingw32/alleg/midi.o obj/mingw32/alleg/mixer.o obj/mingw32/alleg/modesel.o obj/mingw32/alleg/mouse.o obj/mingw32/alleg/pcx.o obj/mingw32/alleg/poly3d.o obj/mingw32/alleg/polygon.o obj/mingw32/alleg/quantize.o obj/mingw32/alleg/quat.o obj/mingw32/alleg/readbmp.o obj/mingw32/alleg/rle.o obj/mingw32/alleg/rotate.o obj/mingw32/alleg/scene3d.o obj/mingw32/alleg/sound.o obj/mingw32/alleg/spline.o obj/mingw32/alleg/stream.o obj/mingw32/alleg/text.o obj/mingw32/alleg/tga.o obj/mingw32/alleg/timer.o obj/mingw32/alleg/unicode.o obj/mingw32/alleg/vtable.o obj/mingw32/alleg/vtable15.o obj/mingw32/alleg/vtable16.o obj/mingw32/alleg/vtable24.o obj/mingw32/alleg/vtable32.o obj/mingw32/alleg/vtable8.o obj/mingw32/alleg/iblit16.o obj/mingw32/alleg/iblit24.o obj/mingw32/alleg/iblit32.o obj/mingw32/alleg/iblit8.o obj/mingw32/alleg/icpu.o obj/mingw32/alleg/icpus.o obj/mingw32/alleg/icsprite.o obj/mingw32/alleg/igfx15.o obj/mingw32/alleg/igfx16.o obj/mingw32/alleg/igfx24.o obj/mingw32/alleg/igfx32.o obj/mingw32/alleg/igfx8.o obj/mingw32/alleg/imisc.o obj/mingw32/alleg/iscan.o obj/mingw32/alleg/iscanmmx.o obj/mingw32/alleg/ispr15.o obj/mingw32/alleg/ispr16.o obj/mingw32/alleg/ispr24.o obj/mingw32/alleg/ispr32.o obj/mingw32/alleg/ispr8.o obj/mingw32/alleg/istretch.o obj/mingw32/alleg/izbuf.o obj/mingw32/alleg/asmlock.o obj/mingw32/alleg/dllver.o obj/mingw32/alleg/gdi.o obj/mingw32/alleg/wddaccel.o obj/mingw32/alleg/wddbmp.o obj/mingw32/alleg/wddbmpl.o obj/mingw32/alleg/wddraw.o obj/mingw32/alleg/wddfull.o obj/mingw32/alleg/wddlock.o obj/mingw32/alleg/wddmode.o obj/mingw32/alleg/wddovl.o obj/mingw32/alleg/wddwin.o obj/mingw32/alleg/wdsinput.o obj/mingw32/alleg/wdsndmix.o obj/mingw32/alleg/wdsound.o obj/mingw32/alleg/wsndwo.o obj/mingw32/alleg/wdxver.o obj/mingw32/alleg/wdispsw.o obj/mingw32/alleg/wfile.o obj/mingw32/alleg/wgdi.o obj/mingw32/alleg/wgfxdrv.o obj/mingw32/alleg/wjoydrv.o obj/mingw32/alleg/wjoyw32.o obj/mingw32/alleg/wkeybd.o obj/mingw32/alleg/wmidi.o obj/mingw32/alleg/wmouse.o obj/mingw32/alleg/wsnddrv.o obj/mingw32/alleg/wsystem.o obj/mingw32/alleg/wthread.o obj/mingw32/alleg/wtimer.o obj/mingw32/alleg/wwnd.o obj/mingw32/alleg/colconv.o obj/mingw32/alleg/icolconv.o obj/mingw32/alleg/pckeys.o -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound --output-lib lib/mingw32/liballeg.a
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
BradDaBug
BradDaBug
I have done some more investigating, and I found that when I use the same makefile that Dev-C++ is using with Cygwin that there were some .o files that it couldn''t find. Apparently Dev-C++ doesn''t report those errors or something.

The real error message ("Cannot find yohoho.o!") would be more useful than the one it gives ("Bad command or filename") at the VERY end of the compile.
I like the DARK layout!
jdhardy
jdhardy
Dev-C++ 5 has a *very* annoying bug -- you cannot put spaces in the project name or .dev filename. Take any spaces out of the project & file name, and delete any resource (*.rc & *.res) and makefiles. Then try. Might not be your problem, but worth a shot.
lunarss
lunarss
I upgraded to win 2000 just for .Net, and I'm SO glad I did. Its so much nicer than 98, and I haven't had it crash yet (running over 6 months). As others have said, VC.Net is worth it. The feature that I think is the coolest is the link-time optimization. That means that the compiler can do program wide optimizations instead of only function wide. Pretty cool huh.

[edited by - lunarss on September 28, 2002 6:20:49 PM]
bbutler200
bbutler200
quote:
Original post by lunarss
I upgraded to win 2000 just for .Net, and I''m SO glad I did. Its so much nicer than 98, and I haven''t had it crash yet (running over 6 months). As others have said, VC.Net is worth it. The feature that I think is the coolest is the link-time optimization. That means that the compiler can do program wide optimizations instead of only function wide. Pretty cool huh.

[edited by - lunarss on September 28, 2002 6:20:49 PM]


I have the .net compiler (standard edition) but it says the compiler can not do optimizations. Is there a reason for this?

____________________________________________________________________________________________________________________
The weather is cool, and there are grey clouds covering the sky. Or at least I wish the weather was like that.
____________________The weather is cool, and there are grey clouds covering the sky. Or at least I wish the weather was like that.
Martee
Martee
The optimizing compiler is only available in the Professional edition.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.