Missing: strsafe.h??
by Markus Nuebel · in Torque Game Engine Advanced · 06/03/2004 (12:51 pm) · 11 replies
When trying to compile TSE I get the error:
fatal error C1083: Cannot open include file: 'strsafe.h': No such file or directory
I have updated to the summer sdk and downloaded all the tse stuff, but there is no strsafe.h.
I even searched my whole disk, to check, if it is part of some othere sdk or the VC includes, but without success.
What's wrong here?
fatal error C1083: Cannot open include file: 'strsafe.h': No such file or directory
I have updated to the summer sdk and downloaded all the tse stuff, but there is no strsafe.h.
I even searched my whole disk, to check, if it is part of some othere sdk or the VC includes, but without success.
What's wrong here?
About the author
#2
06/03/2004 (8:45 pm)
Strsafe.h is included in the Platform SDK. You will probably need to download it from Microsoft. The core isn't too big.
#3
Thanks, Ken.
The needed .lib and .h are in the Microsoft Platform SDK, the full SDK is around 300MB, so maybe it is a good idea, to add the strsafe.lib/.h to the CVS, or at least make the Platform SDK a requirement for TSE?
(There is a partial download, but you cannot tell, which package contains the Core SDK :( )
06/03/2004 (10:47 pm)
I am using VC++ .net 2002 (guess it's 7.0).Thanks, Ken.
The needed .lib and .h are in the Microsoft Platform SDK, the full SDK is around 300MB, so maybe it is a good idea, to add the strsafe.lib/.h to the CVS, or at least make the Platform SDK a requirement for TSE?
(There is a partial download, but you cannot tell, which package contains the Core SDK :( )
#4
On the left side, you can choose Core SDK. It's around 200MB, but you can unselect the docs and samples and 64-bit, so it's more reasonable.
I don't believe you can redistribute parts of the Platform SDK.
These files should be part of the next DirectX update though, which will help.
06/03/2004 (11:12 pm)
Http://www.microsoft.com/msdownload/platformsdk/sdkupdate/default.htm?p=/msdownload/platformsdk/sdkupdate/home.htmOn the left side, you can choose Core SDK. It's around 200MB, but you can unselect the docs and samples and 64-bit, so it's more reasonable.
I don't believe you can redistribute parts of the Platform SDK.
These files should be part of the next DirectX update though, which will help.
#5
06/04/2004 (12:37 am)
The platform SDK is included with visual studio so you should be able to install it from your visual studio setup. By default the win32sdk and other platform sdks are not selected when you install so you probably just missed it.
#6
Must have missed this. Will check my installation today evening.
Since I always use "Custom Setup" and strip my installations down to what I need, this my be the case.
Thanks Peter.
06/04/2004 (12:47 am)
Oh.Must have missed this. Will check my installation today evening.
Since I always use "Custom Setup" and strip my installations down to what I need, this my be the case.
Thanks Peter.
#7
VS2002 does not install strsafe.h :oP or the core sdk.
06/04/2004 (5:38 am)
Ok had a chance to check and the core sdk is only installed as standard with VS 2003.VS2002 does not install strsafe.h :oP or the core sdk.
#8
06/04/2004 (9:39 am)
Whoops! :)
#9
06/07/2004 (8:34 am)
I ran into this same problem earlier I have posted a workaround in a different thread for us VS .NET 2002 users
#10
(EDIT)
Nevermind I was clicking right past it in the options menu.
09/11/2005 (11:00 am)
I've downloaded the platform sdk and have the strsafe.h file on my system but it still throws the error? How do I include it in the includes for the project? (I am using VS 2002)(EDIT)
Nevermind I was clicking right past it in the options menu.
#11
09/11/2005 (6:41 pm)
VS2002 is not really supported. You should consider updating at some point.
Torque Owner Brian Ramage
Black Jacket Games