Installing C++ plugin in eclipse luna 4.4.1 - c++

I've tried to install C++ plugin with "Install new software" in Eclipse Lina 4.4.1
I am running ubuntu 14.04
The error i get while installing is:
An error occurred while installing the items
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> >>>[R]org.eclipse.cdt.autotools.core.source 1.4.0.201409172108, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.AddSourceBundleAction).
org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils
org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils
How can i solve this? I would really like to install this C++ plugin in my eclipse :(

I would just go with CDT. It doesn't look like that's what you're installing from the error you posted.

Related

apache netbeans 11.3 C++ plugin timeout, unable to install

Im moving to Apache Netbeans 11.3 and trying to install the C++ plugin on Windows 10, got the follow repos
http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz
http://bits.netbeans.org/dev/nbms-and-javadoc/lastSuccessfulBuild/artifact/nbbuild/nbms/updates.xml.gz
but everytime it hits the 99% it simply give me a timeout error when unpacking org-netbeans-modules-cnd-dwarfdiscovery.nbm
The Plugin Installer found problem timeout of loading C/C++ Repository[org.netbeans.modules.cnd.repository/1.32.6.1] while install the following plugins:
already try versions 10, 11.1, 11.2, 11.3, got the same issue, i even got rid of the windows firewall to no avail.
Check the Java version
For me, I have Java version 14
So this version has no program
unpack200.exe
Problem was solved by copying the unpack200.exe file from Java version 1.8 to the bin folder in java 14
copy and paste pack200, unpack200 and unpack.dil from bin of jdk13 into the bin of jdk14. This worked for me and I assure you that it will work for you. I did this with openjdk.

How to re-install GCC 4.9.2 after installation

I am setting up Eclipse CDT for C++ and I installed the GCC compiler from equation.com. I installed it and the code wasn't updating so i decided to re-install. I deleted the MinGW folder and tried to run the installer again and now getting an error from the installer "System cannot find the file specified".
Also any help on uninstalling Code::Blocks as they are the same category of packages without magic uninstalling would be great.

Error starting process. Cannot create pty - Eclipse on Mac

I am trying to run a simple C++ program on Eclipse in mac. But it is not working. I have Xcode installed and I did try setting all the Eclipse settings that people suggested online, but still I am getting no where.
The error message:
Make sure you update to the Oxygen.1 version of the C/C++ IDE (CDT version 9.2.2). It contains a fix for this.
If you are using Eclipse Neon, update to CDT version 9.3.X by adding repo:
http://download.eclipse.org/tools/cdt/releases/9.3
and rebuild the project before running it.
I encounter the same problem when I updated my macOS 10.12 to 10.13 in Eclipse Oxygen.1A.
By upgrading the CDT plugin I solved the problem.

How Visual Studio Code formatting works out of the box on OSX

I am running vscode on osx and have installed the C/C++ plugin, which brought with it the ClangFormat package:
Installing package 'C/C++ language components (OS X)'
Installing package 'ClangFormat (OS X)'
Installing package 'Mono Framework Assemblies'
Installing package 'Mono Runtime (OS X)'
Installing package 'LLDB 3.8.0 (OS X)'
I am able to format C++ code and even changed the clang-format style successfully:
"C_Cpp.clang_format_style": "google"`
The thing is that I don't have clang-format installed on my system and the path in vscode settings is not set either:
"C_Cpp.clang_format_path": null
How is the formatting actually done here? What is this ClangFormat package that vscode installed? From where and where is it? It's not a plugin.
Does it use some package manager other than homebrew to install a distribution of clang-format in a custom location that is not in the path?
In my Linux Mint indeed it's installed together with the C/C++ extension of Microsoft, alas it's installed locally within the module. It can be found here:
~/.vscode/extensions/ms-vscode.cpptools-0.12.3/LLVM/bin/
In Windows, similarly it can be found here:
%USERPROFILE%\.vscode\extensions\ms-vscode.cpptools-0.12.3\LLVM\bin\
In OSX is here:
~/.vscode/extensions/ms-vscode.cpptools-0.12.3/LLVM/bin/
Not sure what could be wrong with Arch.

I don't see CDT in eclipse-cdt

I don't see the File -> New -> C Project after I installed eclipse-cdt under ubuntu apt-get install eclipse-cdt
I've been using eclipse-cdt for couple of years, I upgraded my ubuntu and when I open eclipse the menus don't have C/C++ options in it [ as if you installed eclipse not eclipse-cdt] so I went to install new software and downloaded cdt and it says eclipse cdt is upto date yet I dont see : http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fgetting_started%2Fcdt_w_existing_code.htm [ you have to go down the page or search for Creating a project and click that link ]
did it disable during precise-pelagon installation or something went wrong.
thx.
First off, get a Real Disto ;-P
Then, check:
Window --> Open Perspective
or
Window --> Show View
If in neither, check:
Window --> Customize Perspective --> Command Groups Availability
Just an FYI -- Eclipse is Eclipse. CDT is just an addon plugin. You can download plain vanilla Eclipse and then go to Help --> Eclipse Marketplace and search for CDT and install the plugin. A lot of people prefer to NOT use the bundled distro Eclipse because they usually tweak and bloat it. I used to use the Fedora Eclipse for years until I got fed up with weird and strange things happening, which usually boiled down to me using the built in one from my package manager.
For example, the Fedora Eclipse does not include the Eclipse Marketplace by default (WHY!?!), you have to go get the plugin and install it into your Eclipse just to get the normal Eclipse features that should have been there all along. There's plenty of other examples...
ubunut upgrade screwed eclipse [ it uninstalled my old and installed new from ubuntu repo which is not CDT!! ]
resolution : install only from : http://eclipse.org/downloads/