我为 Java 开发人员使用 Eclipse Juno,我想向它添加 C/C++ 功能。我下载了 Windows SDK 并尝试创建 Hello World C++ 项目。但似乎 Eclipse 没有看到 Windows SDK,所以我无法编译我的项目。
1 回答
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.