I can't touch my program without causing errors
I'm messing with the DX8a sdk. and I can open the .dsw fine, and compile it fine. but if I alter anything, even if I just add a single space where it shouldn't matter then there are suddenly 102 errors and 3 warnings. I can't find any way to fix it, and I'm using MS VC++ 6. has anyone had this problem and/or can help. because this is really annoying.
Clean the project and rebuild everything (without modifying anything). Then, see if it works better. If, after cleaning, there are errors, then there is a problem with your project (for instance, a library include path become outdated) which you must correct before going on.
Your first problem is that you're using MS VC++ 6 :)
Seriously, it sounds like a bug in the project or software. Try creating a new workspace, if that doesn't work, try reinstalling VC. If that doesn't work, get a compiler that doesn't suck (Visual Studio .NET 2005 Express is free)
Good luck with that!
Seriously, it sounds like a bug in the project or software. Try creating a new workspace, if that doesn't work, try reinstalling VC. If that doesn't work, get a compiler that doesn't suck (Visual Studio .NET 2005 Express is free)
Good luck with that!
what do you mean "clean the project"? I haven't heard of it.
and I'm at school so I'm sort of stuck with this compiler. but at home on my families good computer I do use the VS.NET 2005 express edition. our not so good computer doesn't have enough memory and it's hard drive is almost full so I use codeblocks. so is there anything I can do here at school or am I going to have to find a work around/convince the teacher to let me install a new compiler?
and I'm at school so I'm sort of stuck with this compiler. but at home on my families good computer I do use the VS.NET 2005 express edition. our not so good computer doesn't have enough memory and it's hard drive is almost full so I use codeblocks. so is there anything I can do here at school or am I going to have to find a work around/convince the teacher to let me install a new compiler?
Look for the "clean" option in one of the menus (it should be in the same menu as the "build" option).
the clean gives me 104 errors.
I think I found another important detail. the source in the SDK sample I'm looking at has ddutil.h in quotes, which if I remember right means that it will look in the same folder as the code. earlier I had changed those quotes to <> (I can't remember what their called) and put ddutil.h into the include file of the compiler and it worked. but the computers here have something called deepfreeze which resets everything outside a partitioned area to a specific image. so ddutil.h disapeared from the include folder. so I tried putting it in the project folder since that was in the area that wouldn't get deleted. then the errors came up (yes I did change them back to quotes) so I'm putting it back to how I did it last time to see if that fixes it.
I think I found another important detail. the source in the SDK sample I'm looking at has ddutil.h in quotes, which if I remember right means that it will look in the same folder as the code. earlier I had changed those quotes to <> (I can't remember what their called) and put ddutil.h into the include file of the compiler and it worked. but the computers here have something called deepfreeze which resets everything outside a partitioned area to a specific image. so ddutil.h disapeared from the include folder. so I tried putting it in the project folder since that was in the area that wouldn't get deleted. then the errors came up (yes I did change them back to quotes) so I'm putting it back to how I did it last time to see if that fixes it.
*bump*
I need help with this. I can't go on until I can compile something that uses directDraw.
I need help with this. I can't go on until I can compile something that uses directDraw.
heh, deepfreeze is awesome
[if setup without much thought it should be trivial to find the deep freeze password(s)... but I will not ramble more about that]
why is the project you're messing with on the "drive" that will get reset?
you can set the include path in the project properties, for the directX sdk this should be done in the environment variables for the user or the system.
[if setup without much thought it should be trivial to find the deep freeze password(s)... but I will not ramble more about that]
why is the project you're messing with on the "drive" that will get reset?
you can set the include path in the project properties, for the directX sdk this should be done in the environment variables for the user or the system.
well I don't know the deepfreeze password and if I did it would be a matter of minutes before the password got changed if I got caught.
my project is in the thawspace. but I can't get it to compile at all after I touch anything. if I re-copy from the SDK that works. but after I do anything it won't.
my project is in the thawspace. but I can't get it to compile at all after I touch anything. if I re-copy from the SDK that works. but after I do anything it won't.
Quote:Original post by escudo825Well, that's partly right. It will first look in the current directory, and then it will look in the include paths.
I think I found another important detail. the source in the SDK sample I'm looking at has ddutil.h in quotes, which if I remember right means that it will look in the same folder as the code.
Why don't you just ask a sysadmin what your possibilities are for keeping your include files. You might also ask them about the possibility of upgrading VC++.
jfl.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement