System parameters lost after installing PlatformSDK

Asked by reko

Everything was OK till building directshow related sln's.
Studio ask for streams.h and I realized that DirectShow SDK was replaced by some WinSDK..
After installing that SDK, $(PlatformName) variable is lost. I repleaced this variable with "Win32" in related vsproj files and able
open.

Since I am a beginner in Visual Studio, how can I define this system variable and also $(WindowsSDKDir). I tried to define them in environment variables but no result..

Thank you in advance..

Question information

Language:
English Edit question
Status:
Answered
For:
OAH Build Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Haakon Sporsheim (ieei) said :
#1

DirectShow stuff are based on the so called BaseClasses in the Windows SDK. IIRC you'll have to add the header directory and library output directory to your global settings in visual studio. (Tools->Options...->Projects and solutions->VC++ Directories)

$(PlatformName) is set by VisualStudio when building. If you replace it with Win32 you'll only be able to build for this platform. Well.. anyway, probably not a problem for you.

Can you help with this problem?

Provide an answer of your own, or ask reko for more information if necessary.

To post a message you must log in.