Eclipse с для линукс

Изучение C++ в Linux. Установка Eclipse CDT.

Сегодня я хотел написать статью о том как установить и настроить IDE в Linux (конкретно я работаю в Ubuntu 12.10, следовательно все примеры ориентированы для данной версии).

Установка Java

Для начала надо установить в системе Open Java SDK:

Через интерфейс:

Идем в «Центр приложений Ubuntu», вводим в поиск Java и ставим там OpenJDK Java 6 Runtime, потом ищем icedtea-6-plugin и устанавливаем его.

Через терминал:

Установка Eclipse

Следующий этап, это установка самого Eclipse и CDT для работы с C/C++. На данном шаге нам доступны несколько вариантов установки:

Из репозитория

Из репозитория удобно устанавливать потому что сама программа будет доступна в меню приложений.

Через интерфейс:

Через интерфейс: Идем в «Центр приложений Ubuntu», вводим в поиск Eclipse и устанавливаем его, потом вводим в поиск eclipse-cdt и так же ставим его.

Через терминал:

2. Скачать с сайта

Беря Eclipse с сайта, вы сразу получаете самую последнюю версию продукта. Для того что бы скачать Eclipse, идем по ссылке http://www.eclipse.org/downloads/ и качаем нужную нам версию продукта ( не забываем учитывать операционную систему и архитектуру). Скаченную версию с сайта устанавливать не надо, достаточно просто разархивировать и запустить бинарный фаил. Если у вас правильно установлена Java, то программа сразу запустится.

Тут тоже есть несколько вариантов установки.

1. Классическа версия: Качаем Eclipse Classic 4.2.2 ( версия может отличаться ), распаковываем и запускаем фаил «eclipse». Потом через инструмент установки новых компонентов ( Help → Install New Software), нужно установить из раздела Programming Languages пакеты C/C++ Development tools и C/C++ Development tools SDK ( в чем разница между ними мне пока не совсем понятна, возможно вы подскажите в комментариях ).

2. Скачать готовую сборку, Eclipse IDE for C/C++ Developers, в которую уже включено все необходимое для работы.

Выбор вкладки C/C++

Так как Eclipse рассчитан на большое количество языков программирования, то существует система вкладок, которая переключает интерфейсы программы. Переключение закладок находиться на верхней панели, справа, возле быстрого поиска.

Читайте также:  Как закрыть сокет windows

Нажмите кнопку Open Perspective, и выберите C/C++.

Русификация

Для русификации продукта используйте статью, которую я писал ранее. Как русифицировать Eclipse

Настройка компиляции.

У меня был случай когда программа писала «binary not found». Для того что бы не было этой ошибки, проверьте установлен ли у вас компилятор:

Потом идем в настройки:

Window → Preferences → C/C++ → New CDT Project Wizard → Makefile Project, и устанавливаем там галочку на против Elf Parser (если у вас Linux), PE Windows Parser (для Windows), Cygwin PE Parser (если у вас MAC).

Создаем тестовый проект.

File → New → C++ Project → Hello World C++ Project

Компилируем Ctrl+F11, если нет ни каких ошибок, значит мы настроили IDE для работы с C++ в операционной системе Linux.

Источник

Eclipse с для линукс

Community

Participate

Eclipse IDE

Eclipse IDE for C/C++ Developers

Package Description

An IDE for C/C++ developers with Mylyn integration.

This package includes:

  • C/C++ Development Tools
  • Eclipse Git Team Provider
  • Mylyn Task List
  • Remote System Explorer
  • org.eclipse.cvs
  • org.eclipse.equinox.p2.user.ui
  • org.eclipse.help
  • org.eclipse.platform
  • org.eclipse.rcp
  • org.eclipse.cdt
  • org.eclipse.cdt.debug.ui.memory
  • org.eclipse.cdt.msw
  • org.eclipse.cdt.build.crossgcc
  • org.eclipse.cdt.launch.remote
  • org.eclipse.cdt.autotools
  • org.eclipse.cdt.mylyn
  • org.eclipse.mylyn_feature
  • org.eclipse.mylyn.context_feature
  • org.eclipse.mylyn.team_feature
  • org.eclipse.mylyn.ide_feature
  • org.eclipse.mylyn.bugzilla_feature
  • org.eclipse.mylyn.wikitext_feature
  • org.eclipse.rse
  • org.eclipse.egit
  • org.eclipse.egit.import
  • org.eclipse.epp.package.common.feature

Maintained by: Eclipse Packaging Project

Bugzilla

Bug ID Title Status
496240 Opening «Help Contents» prints some warning messages about log4j NEW
496363 Cursor down at bottom of edit box only scrolls last two lines of text. NEW
490235 Where can I add the lib files of C like include stdio.h in my project? NEW
480141 C++ package should include the XML editor NEW
451930 Create a debian package for EPP CPP NEW
455050 Use Tycho 0.23.0-SNAPSHOT to leverage ability to express native dependencies NEW
506244 Include a runtime (OpenJDK 11+) in some EPPs NEW
512302 Crash on Customize Perspective NEW
534619 [Photon] [cpp] Include Tip of the Day NEW
542755 CPP and Parallel packages require Java 11 support to build NEW
534592 Error create interactive console NEW
522015 Response of: Value must be an existing directory, when using $ NEW
521784 Bug 446072 NEW
238857 Deadlock opening dialogs on EPP C++ NEW
449530 This app can’t run on your pc To find a version for your PC, please check with the software provider NEW
316452 Run and Debug time termination (eclipse-cpp-helios-RC3-win32-x86_64) NEW
319647 MCS51 family SDCC not compatible with build id 20100218-1602? NEW
316437 Error and termination while Run or Debug is executed (eclipse-cpp-helios-RC3-win32-x86_64) NEW
281052 «Binary not found» when launching application after switching perspective NEW
250367 Crashed after updating process NEW
321677 CDT Helios impossible to install new software via GUI NEW
336456 Showing the actual (int) value of an enum variable in CDT editor on hover NEW
442975 Can’t create a new Project NEW
444682 The EPP C/C++ Package «Samples» are empty on the Welcome page NEW
444683 The EPP C/C++ Package docs mix «user docs» with «developer docs» NEW
422424 Bug «Restore Defaults» on CVS Repositories NEW
375866 The CPP package content description (feature list) is outdated since Juno NEW
338462 Cannot complete the install because of a conflicting dependency. Software being installed: Eclipse Java Development Tools 3.6.2 NEW
535781 [EPP Photon RC3] java.lang.NoClassDefFoundError: org/eclipse/linuxtools/docker/core/IDockerConnection ASSIGNED

Bugs listed in italics indicate the bug has been moved to another project.

Bug ID Title Status
441906 java 1.7 not found RESOLVED
443474 Crashes in 64 bit, advises need for 1.7 in 32 bit RESOLVED
450389 cant install the download I made on my Pc RESOLVED
404686 Download and Detail Checksums Don’t Match RESOLVED
396874 Wrong Download! RESOLVED
230318 Add Mylyn support to C/C++ IDE RESOLVED
382264 The «Eclipse IDE for C/C++ Developers» builds are missing from the developer downloads page RESOLVED
460821 MARS: No ability to add Java RESOLVED
478463 Add multi-core visualizer and hardware debugging features RESOLVED
516675 Add Terminal to CPP Package RESOLVED
520285 lots of errors RESOLVED
549433 Launchbar cannot be updated with Check for Updates RESOLVED
493861 Never ever run in Dell Inspiron RESOLVED
490552 Some features are not at the top-level in the new layout RESOLVED
480536 Eclipse IDE for C++ fails to launch. Cannot find shared libraries. RESOLVED
490046 [Welcome] Adopt Solstice theme for CPP package RESOLVED
340070 Add features to CPP package RESOLVED
347860 Add egit to cpp package RESOLVED
302165 Move CDT version up to 7.0 for Helios RESOLVED
324865 GDB / MI not available in eclipse Helios RESOLVED
251315 Eclipse C++ Error /mingw/lib/libmingw32.a(main.o):main.c: undefined reference to `WinMain@16′ RESOLVED
261138 Installation of XML editor fails on eclipse linux 64 Bit c++ edition RESOLVED
250368 the Format is wrong RESOLVED
238201 sometimes can’t start package on Linux 32 RESOLVED
236699 SWT missing from CDT RC3 package for Linux64 RESOLVED
275213 New feature for C/C++ Package RESOLVED
286944 Eclipse IDE for C/C++ Developers — Mac OSX — does not include symbolic link to executable RESOLVED
278310 Can’t update with P2 (but then again, what’s new . ) RESOLVED
466568 eclipse-cpp-luna-SR2-linux-gtk-x86_64.tar.gz appears to be incomplete CLOSED
503020 New eclipse not coming up — Giving java error CLOSED
535309 EPP builds failing CLOSED
521395 Ctrl+Click Indexing doesn’t work in C++ modules CLOSED
520286 lots of errors CLOSED
304607 New feature for CPP package CLOSED
346223 Add CDT update site to discovery CLOSED
333068 Link to CDT New and Noteworthy is outdated CLOSED
345190 Cannot configure CDT Indexer for Microsoft SDK 7 CLOSED
343981 Add autotools feature CLOSED
334840 Windows->Preferences menu item missing CLOSED
379734 RFE: optionally import Linux Tools features via p2.inf rather than include them CLOSED
328546 ‘File Seach’ feature — does not work the first time you run it CLOSED
316038 new CDT logo for CPP package CLOSED
313497 Eclipse Helios M7 for Linux x64 crashes on startup on openSUSE 11.2/x86_64 CLOSED
438545 Team preferences missing CLOSED
405222 I cant open up Eclipse at all CLOSED
324522 eclipse hang by debugging inside linked librarys CLOSED
336606 Eclipse Ganymede IDE hangs in Ubuntu 10.04 CLOSED

Bugs listed in italics indicate the bug has been moved to another project.

Источник

Читайте также:  Windows 10 pro коробочная версия что это
Оцените статью