- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I create a library using Visual Studio 2008 on Windows 7 with 64bit.
After Build Solution, I have the following message:
Project : warning PRJ0018 : The following environment variables were not found:
1>$(WindowsSdkDir)
How to solve this problem?
Thanks a lot.
Mike
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The environment variable WindowsSdkDir is supposed to be defined by Visual Studio when you build a project. I have seen some cases where it is not. It not being defined might make it difficult to link applications - do you otherwise link successfully?
If you look at Tools > Options > Intel Visual Fortran > Compilers > x64 > Library Files, you'll see that one of the lines there starts with $(WindowsSdkDir). This is telling the linker where to find the Windows SDK library files. You could delete this line, but I'd expect applications not to link with it missing or not working.
If you look at Tools > Options > Intel Visual Fortran > Compilers > x64 > Library Files, you'll see that one of the lines there starts with $(WindowsSdkDir). This is telling the linker where to find the Windows SDK library files. You could delete this line, but I'd expect applications not to link with it missing or not working.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page