Basetsd.h
by Bucko · in Torque Game Builder · 06/20/2006 (12:26 pm) · 4 replies
I am trying to build RC 3 with VC Express Edition and have come upon a snag.
Compiler complains about a missing basetsd.h but when I add the file (again) the file is removed in the prebuild step and the next time the complaints start again. If I lock the file, prebuild nags about not being able to remove it.
Should there be a basetsd.h in GameBuilder\engine\lib\directx8 or not?
Compiler complains about a missing basetsd.h but when I add the file (again) the file is removed in the prebuild step and the next time the complaints start again. If I lock the file, prebuild nags about not being able to remove it.
Should there be a basetsd.h in GameBuilder\engine\lib\directx8 or not?
About the author
#2
"Performing Pre-Build Event..."
"k:\GameDev\GameBuilder\engine\Lib\directx8\basetsd.h"
06/20/2006 (12:48 pm)
VC complains that it cannot find the file that was removed."Performing Pre-Build Event..."
"k:\GameDev\GameBuilder\engine\Lib\directx8\basetsd.h"
#3
BTW Adam, thanks for the extremely swift response.
06/20/2006 (2:01 pm)
No matter, I just turn off the prebuild event that tries to remove the evil basetsd.h and everything works all right (aside from some POINTER_64 problem, complains about missing ; which is a bit odd but I'll handle that myself).BTW Adam, thanks for the extremely swift response.
#4
Small Note: The basetsd.h thing is relevant to all versions of VS2005, not just Express. Just wanted to clarify that since VS2005 is technically still VS.NET. It's VS2003 and below that dont care about it, but arguably it shouldnt be needed by those either since it's a platform SDK header.
T.
06/20/2006 (2:03 pm)
The VS2005 projects have a custom build step that deletes it. You can eithe rjust ignore the message or remove the custom build step.Small Note: The basetsd.h thing is relevant to all versions of VS2005, not just Express. Just wanted to clarify that since VS2005 is technically still VS.NET. It's VS2003 and below that dont care about it, but arguably it shouldnt be needed by those either since it's a platform SDK header.
T.
Torque Owner Adam Larson
Not sure why the compiler would complain about needing basetsd.h. I've been using VC Express with TGB for several months without issue. What exactly is the error message you get when building the engine?