No indexer option in Eclipse c++ - c++

I have installed Eclipse c++ helion on my windows 10 machine. Apart from this i have installed Egit plugin to import my git-tracked project. I can see that under window->preferences->c/c++->indexer the indexer is enabled. However, when I right click y project there is no index option. Does anybody know how to fix this? I've stucked here.

Related

How do I set up C/C++ on Eclipse in Windows?

I just did the default Java (8) installation of Eclipse on my Windows (8, yikes) laptop, and it seems to work just fine. However, I'm not as good at Java as I am with C and C++, and for some work it's more expeditious to use C/C++ than Java.
Unfortunately, the Eclipse installer for Windows doesn't make it very easy to set up Eclipse for C/C++. It looks like I'd be fine with Linux or BSD, but then I'd have to scrounge up another laptop (because I need the mobility) and install Linux or BSD on it. Yes, I need to leave Windows on this machine, so Windows hate isn't going to help me.
My lazy web search turned up this article: "Install Eclipse for C++ Development on Windows 7 64-bit". Is there a better installation guide than that, or does anyone care to describe the process in more detail?
Even though you have CDT features installed, you need to install a GCC compiler for windows such as MinGW or Cygwin. Once you install them, add the 'bin' folder in the installed path to the environment variables and then restart eclipse. You should now see MinGW compiler when you select "Create new C Project". After this step, proceed with your C programs and this should resolve your problems.
You will have to install a GCC compiler in your PC and then link it to the project each time you create a project. This can be done while you create a new project, or even after you have done so. You can download MinGW compiler through the following link
https://sourceforge.net/projects/mingw/files/latest/download?source=files
Once you have downloaded the compiler and installed it, it can be linked through the following steps:
i. While creating a new project, choose MinGW GCC compiler in the tool chains.
ii. Once you have finished creating a project, go to Project->Properties.
iii. Look for Run/Debug Settings in the left panel.
iv. Click on the New tab and select C/C++ Application.
v. Look for Environment option.
vi. Click on the New tab.
vii. Type "PATH" in the Name bar and fill the Value bar with the path of the compiler. For me, its C:\MinGW\bin.
vii. Click on OK and you are done!
The instructions you link to have you install Eclipse IDE for C/C++ developers which will work fine to get a C/C++ development environment up.
If you would instead like to use your EXISTING installation of Eclipse and add C++ Development Tooling (CDT) you can launch Eclipse and then use Install New Software to install the C/C++ Development Tools

Breakpoints do not work on CDT 8.4.0 for Eclipse Luna for Linux

I had good times debugging Java applications on Eclipse, but recently that I'm working on a C/C++ on Ubuntu 12.04 using Eclipse CDT, it ignores the breakpoints when debugging! I've tried two versions of Eclipse CDT, CDT 8.4.0 for Eclipse Luna, but doesn't work either. Can somebody help with that?
NOTE: I know there are some other similar questions, but I was thinking it is better to ask this question which specifically addresses CDT 8.4.0 for Eclipse Luna.
The eclipse-cdt is shipped only with the required tools for building c/c++ applications. It does not ship with gdb. You need to install that separately
How do I use GDB in Eclipse for C/C++ Debugging?
From link above these are the steps to follow.
1. Go to Help > Install New Software.
2. Add the CDT repository http://download.eclipse.org/tools/cdt/releases/8.4 to the list of repositories.
3. Select the CDT Repository. Now you need to install the CDT plugin along with GDB support from the list of available plugins (Select the CDT Main Features as well as CDT GNU Toolchain Debug support).
I updated the CDT repository path to correspond to your release (Luna).
It also happens for me in ReadHat 64
Seems like if the CDT breakpoints are not suitable for the current debug session, in the breakpoint window, when enabling "Show breakpoints Supported by selected target" all my breakpoints disapears from the list.
In my case, my ELF have debug info and all the breakpoints that I place are in the main ELF.
My debug settings worked fine with the former Eclipse version.
I rolled back to eclipse Juno, and my debug session with same elfs worked out of the box.
Experiencing the same problem here.. I am working around it by manually setting breakpoints after starting debug session. Console -> gdb, then type "break xxxx".
If you're using MinGW gdb, check that C:\MinGW\bin is in your path (set in System Properties). Made all the difference for me.
I once had Skip All Breakpoints accidentally checked, and was wondering what was going on.
I have the same problem with my eclipse Photon, I figured it out by unchecking the
"stop on startup at: main" in Debug Configuration-->Debugger.
I know this in Rikard Söderström's response to you.

Netbeans Code Assistance C++

I'd like to activate the Netbeans Code Assistance but for C++, I just installed Netbeans 8.0 and followed all the steps in Netbeans site for installing Cygwing compiler. I am now able to compile C++ code; however the facility of Code Assistance doesn't appear. I don't know how to activate it.
Code assistance should be active by default. Make sure your project properties aren't screwed up:
Also you might need to add include directories in the Netbeans global options, which are in the "Tools" submenu for my Netbeans version:

Import Eclipse workspace to netbeans (not regular Eclipse workspace)

I downloaded NetBeans IDE 7.3.1 and want to port my C++ projects from Eclipse IDE for C/C++ Developers Version 2.0.0 (it's my first installation of both IDEs, so there were no earlier versions on my PC - Win 7 32Bit)
As I tried the steps from Netbeans Support
I set up my Eclipse Workspace at E:\path. If I enter this path, according to
step 3:
In the Workspace Location page of the wizard, select the Import Projects from Workspace radio button and specify the workspace location. Click Next.
I am not able to go on importing because of the Error-Message:
*"E:\path" does not contain a regular Eclipse workspace.*
Does anyone have a clue of what's going on and / or know how to fix this? I stored all my Eclipse cpp projects in this folder by shifting them to subfolders like E:\path\Basics (Eclipse still recognizes the projects)
I would guess that you missed the import of the first sentence in your NetBeans support link. Here's the relevant portion with added emphasis...
An enhanced support for importing Eclipse projects is available in the
NetBeans IDE. The Import Eclipse Project wizard enables you to use
NetBeans to work on Java desktop and web application projects
that were created in Eclipse and MyEclipse.
You are trying to work on a C++ project and the wizard does not appear to be intended for that use.

Eclipse doesn't show any C++ project selection after I install CDT

I have had a problem, I installed CDT in eclipse, the installation was successful. However, when I tried a project in C++, there is no selection for C++ Project in Menu File -> New. I have tried to find it everywhere but It doesn't show up. I also reinstalled it several times, It still didn't work.
My Eclipse is JUNO
here is the link I add to "Install new software" in help : http://download.eclipse.org/tools/cdt/releases/juno
Go to File -> New -> Other and find C/C++ projects. Unless you have the C/C++ Perspective view on I don't think C++ projects are offered at the first level under new. Once you actually, start a C++ project, Eclipse will ask if you want to switch to the CDT persepective.