How to add Windows SDK to Eclipse C tools?(如何将 Windows SDK 添加到 Eclipse C 工具?)
问题描述
我为 Java 开发人员使用 Eclipse Juno,我想向它添加 C/C++ 功能.我下载了 Windows SDK 并尝试创建 Hello World C++ 项目.但似乎 Eclipse 没有看到 Windows SDK,所以我无法编译我的项目.
编译&用微软编译器构建一个 C++ 项目是件苦差事.但是如果你已经安装了一些版本的 windows sdk,那么工作就完成了将近一半......
好吧,我认为您不需要设置 MS 开发环境,这已经在您的路径中.
我可以用 eclipse neon 版本向你展示这个过程.我还假设您已经通过市场安装了 eclipse cdt.
您应该做的一件事是安装Visaul studio C++"设置.
运行日食,打开帮助菜单上的安装新软件...".
输入网址
然后选中复选框名称,C/C++ Visual C++ Support.
然后,为自己制作 C++ 项目.奔跑并享受它
我希望这不是一个太晚的答案......
如果您没有任何环境变量.你可以有你必须设置你的环境的主要变量.
在开始菜单上打开 windows SDK shell.
您可以依次运行命令 set lib、set include、set path 来检查.
I use Eclipse Juno for Java developers and I want to add C/C++ functionality to it. I downloaded Windows SDK and tried to create Hello World C++ project. But it seems that Eclipse doens'nt see Windows SDK so I cannot compile my project.
Compile & build a C++ project with microsoft compiler is some chore work.But if you already installed some version of windows sdk, nearly a half of job done...
Well, I think you don't need to set up MS development environment, which is already in your path.
I can show you this process with eclipse neon version. I also assume you have eclipse cdt installed through the market place.
One thing you should do is installing the 'Visaul studio C++' setup.
Run eclipse, Open the "Install New Software..." on the help menu.
Type the url http://download.eclipse.org/releases/neon, if you don't have any name with available site on it. Then Ok, you see the all available list from the site.
And you check the check box name, C/C++ Visual C++ Support.
Then, Make C++ project for yourself. Run and enjoy it
I hope it is not a too late answer...
In case you don't have any environmental variables. you can have main variables you have to set your env.
Open the windown SDK shell on start menu.
you can check that by running commands set lib, set include, set path in turn.
这篇关于如何将 Windows SDK 添加到 Eclipse C 工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将 Windows SDK 添加到 Eclipse C 工具?
- 使用 __stdcall & 调用 DLLVS2013 中的 GetProcAddress() 2021-01-01
- XML Schema 到 C++ 类 2022-01-01
- 将函数的返回值分配给引用 C++? 2022-01-01
- 将 hdc 内容复制到位图 2022-09-04
- 从父 CMakeLists.txt 覆盖 CMake 中的默认选项(...)值 2021-01-01
- OpenGL 对象的 RAII 包装器 2021-01-01
- 哪个更快:if (bool) 或 if(int)? 2022-01-01
- DoEvents 等效于 C++? 2021-01-01
- 如何提取 __VA_ARGS__? 2022-01-01
- GDB 不显示函数名 2022-01-01