error: SDKDDKVer.h: No such file or directory

Hi all,
I am new to Linux based C++ compiling.
I have a c++ code that works fine in MS VS 2010 in windows. But once I tried to run it in Linux, I got this error:
fatal error: stdafx.h: No such file or directory
compilation terminated.

Then I coppied stdafx.h file to the linux running directory and this issue was resolved; but a new error came:
fatal error: stdafx.h: No such file or directory
compilation terminated.

I got resolved this by similarly copying the stdafx.h to the Linux working directory. But another new error came:

targetver.h:8:23: fatal error: SDKDDKVer.h: No such file or directory
compilation terminated.

But this time, I was unable to resolve this by copying sdkddkver.h from the windows to Linux directory.

Can somebody help me in resolving this?

Thanks,
Chami
That file came only with Windows Sdk which can be downloaded from Microsoft website.

You better remove any references to that file from your project, assuming your code does not contain anything windows specific.
Topic archived. No new replies allowed.