如何将 Windows SDK 添加到 Eclipse C 工具?

How to add Windows SDK to Eclipse C tools?(如何将 Windows SDK 添加到 Eclipse C 工具?)
本文介绍了如何将 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 工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

Rising edge interrupt triggering multiple times on STM32 Nucleo(在STM32 Nucleo上多次触发上升沿中断)
How to use va_list correctly in a sequence of wrapper functions calls?(如何在一系列包装函数调用中正确使用 va_list?)
OpenGL Perspective Projection Clipping Polygon with Vertex Outside Frustum = Wrong texture mapping?(OpenGL透视投影裁剪多边形,顶点在视锥外=错误的纹理映射?)
How does one properly deserialize a byte array back into an object in C++?(如何正确地将字节数组反序列化回 C++ 中的对象?)
What free tiniest flash file system could you advice for embedded system?(您可以为嵌入式系统推荐什么免费的最小闪存文件系统?)
Volatile member variables vs. volatile object?(易失性成员变量与易失性对象?)