Where are the C++ compiler folders LIB and INCLUDE located?

一笑奈何 提交于 2020-01-05 05:49:12

问题


I'm trying to set C++ compiler for IBM DataStage ETL tool. I installed Microsoft Visual C++ 2008 Redistributable (x64) for my Windows Server 2008 R2. The DataStage guide says that

Visual Studio .NET 2008 Express Edition C++:

Set the LIB environment variable to the location of the library directory for the SDK. For example, for Microsoft Visual Studio .NET 2008 Express Edition C++, a typical location is C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib.

Set the INCLUDE environment variable to the location of the include directory for the SDK. For example, for Microsoft Visual Studio .NET 2008 Express Edition C++, a typical location is C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include.

I can find the Lib folder from

C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\

but not the Include folder. Where it is located? There is also these kind of folders under

C:\Program Files (x86)\Microsoft Visual Studio 9.0

What are the right folders for LIB and INCLUDE Environmental variables?


回答1:


There should be a link installed on your start menu to run a visual studio command prompt (probably under the visual studio express folder in the menu). If you run that it should set up a command prompt window with those already set correctly.

So you can either use that or at least look what they should be set to.



来源:https://stackoverflow.com/questions/13628917/where-are-the-c-compiler-folders-lib-and-include-located

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!