Questions tagged [eclipse-cdt]

Eclipse CDT (C/C++ Development Tooling).

The CDT Project provides a fully functional C and C++ Integrated Development Environment based on the Eclipse platform. Features include: support for project creation and managed build for various toolchains, standard make build, source navigation, various source knowledge tools, such as type hierarchy, call graph, include browser, macro definition browser, code editor with syntax highlighting, folding and hyperlink navigation, source code refactoring and code generation, visual debugging tools, including memory, registers, and disassembly viewers.

47 questions
12
votes
1 answer

How to make Eclipse CDT's Linux GCC toolchain resolve C++ standard library headers?

In Ubuntu 12.04 LTS I installed the Eclipse CDT plugin and opened the new hello world project to just test everything out. When I was creating the project, I chose the only toolchain: "Linux GCC" When the project is created, however, it says…
11
votes
3 answers

Why is Eclipse Luna dark theme ugly?

Eclipse luna ships with an integrated dark theme, I downloaded Eclipse CDT and deleted my workspace to reset Eclipse configuration. I switched to the dark theme and restarted Eclipse; the UI doesn't look like expected: I also have checked for…
9
votes
4 answers

Writing a "Hello World" Device Driver for kernel 2.6 using Eclipse

Goal I am trying to write a simple device driver on Ubuntu. I want to do this using Eclipse (or a better IDE that is suitable for driver programming). Here is the code: #include static int __init hello_world( void ) { printk(…
Isaac
  • 193
7
votes
3 answers

How to run an executable from a mounted drive?

I have created an Eclipse Workspace on a mounted partition of my hard drive. I am able to successfully build the hello world program but when I try to execute the runnable I get the following error message: Error starting process. Exec_tty…
bubble
  • 399
5
votes
2 answers

Eclipse installation : unable-to-locate-companion-shared-library

I install Eclipse Mars on Ubuntu 15.10 following this post: How to install Eclipse using its installer and lunch it after installation. I install in /opt folder with sudo ./eclipse-inst Than I create start Icon, following post, and after that when I…
ddt
  • 51
5
votes
2 answers

eclipse-cdt Problems

I have got a weird problem. I installed eclipse for c/c++ Development using the following: sudo apt-get install eclipse eclipse-cdt g++ after i opened eclipse, i tried to make a new project, but i didn't get an option to choose between types of…
Bary12
  • 183
4
votes
4 answers

Eclipse can't find index libraries of GCC or G++

The instalation of CDT Tools on Eclipse can't find on index libraries of GCC or G++, but the file is running. Ex: include stdio.h (The comment doesn't accept <> and #) The are a yellow line description: Unresolved inclusion. If I try to acess the…
Luca
  • 51
4
votes
2 answers

Install Eclipse CDT on ubuntu 12.04

I'm trying to add the CDT to an existing Eclipse JDT installation. I'm following the process below: Open Eclipse Help->Install New Software I click the Add button I enter CDT as name and the link http://download.eclipse.org/tools/cdt/releases/juno…
Matteo
  • 2,357
4
votes
1 answer

How to add EXTRA_CFLAGS to indigo eclipse cdt?

I used the instructions here to install eclipse and the here to create an eclipse project but I suspect the instructions were written for an older version of eclipse. Specifically, there is no Build (Incremental Build): build install…
jacknad
  • 305
4
votes
2 answers

How to install Eclipse C/C++ in Ubuntu 18.04

To clean install Eclipse for C/C++ on Ubuntu 18.04 I tried sudo apt install eclipse eclipse-cdt. It's showing an error, see the log file.... log file..... !SESSION Fri Aug 16 14:39:20 IST 2019 ------------------------------------------ !ENTRY…
2
votes
1 answer

How to install Eclipse CDT Oxygen on Ubuntu 16.04

What is the correct way to install Eclipse CDT Oxygen.0 on Ubuntu 16.04? I want to install Eclipse CDT from scratch, i.e. I do not yet have Eclipse installed on my system at all. I have downloaded the latest version of the Eclipse package (which, at…
Alex
  • 123
2
votes
1 answer

How to install Eclipse latest version (Neon) on Ubuntu (CDT) and run NOT as superuser

I am trying to upgrade eclipse to the latest version, neon. I have downloaded the tar.gz and untarred it. I open the directory and there is a file eclipse-inst. If I don't run it as sudo it fails to install. If I do run it as sudo it tries to set…
CashCow
  • 231
2
votes
0 answers

Problem with eclipse on 14.04 when not root

I downloaded eclipse IDE (for C/C++ developers) to my Linux box running 14.04 LTS. I downloaded 64 bit version of JRE and 64 bit version of eclipse. I can run fine as root (sudo), but when I try to run from my user account, I get this log file…
2
votes
2 answers

Bad symbols on my eclipse C++ installation

https://stackoverflow.com/questions/9131763/eclipse-cdt-c11-c0x-support I come from that website. I have a C++ project that compiles with g++-4.8 without problems. I just wanted to use std::int8_t from the cstdint file. Problem is the eclipse…
2
votes
1 answer

undefined reference to `GDALAllRegister'

I have problem with gdal. I am currently working on Ubuntu and the IDE is Eclipse CDT i have given my code below and i have also installed the gdal package but it gives build errors #include #include #include…
1
2 3 4