[英]How to install Eclipse for C++ for OS X Yosemite?
I have a macbook and i'm studying C++ myself. 我有一台Macbook,我自己也在学习C ++。 I cant practice it because i don't know how to get eclipse working.
我不能练习它,因为我不知道如何使月食起作用。 Can someone show me exact steps to install eclipse on mac(preferred pictures with notes).
有人可以告诉我在Mac上安装eclipse的确切步骤(带注释的首选图片)。 Thanks
谢谢
Download Eclipse CDT , unzip it, then "double click" on the "Eclipse" icon in the unzipped folder. 下载Eclipse CDT ,解压缩,然后双击解压缩文件夹中的“ Eclipse”图标。 This should do it.
这应该做。 If you want the debugger to work, that's a different story, you have to use
g++
with gdb
(Eclipse doesn't work with lldb
), so you need to install g++
and gdb
and code-sign the latter. 如果您想让调试器正常工作,那就是另一
lldb
,您必须将g++
与gdb
一起使用(Eclipse不适用于lldb
),因此您需要安装g++
和gdb
并对它们进行代码签名 。 Easiest way to install them is via macports . 安装它们的最简单方法是通过macports 。
PS: to get Eclipse working you need a Java virtual machine, see here how to install it for Yosemite. PS:要使Eclipse正常运行,您需要一台Java虚拟机,请参见此处如何为Yosemite安装它。
BTW: check out the CLion IDE from JetBrains, I find it quite nice. 顺便说一句:从JetBrains中检查CLion IDE,我发现它非常不错。 Or, if you want to stick to clang++ use XCode.
或者,如果您想坚持使用clang ++,请使用XCode。 The only downside in that case is the IDE (I'm not super excited about XCode) and clang++'s lack of OpenMP (which for me was extremely important).
在这种情况下,唯一的缺点是IDE(我对XCode并不感到兴奋)和clang ++缺乏OpenMP(这对我来说非常重要)。 You can make OpenMP work with clang++, but it is a pain.
您可以使OpenMP与clang ++一起使用,但这很痛苦。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.