Has anyone successfully used Eclipse CDT + Eclim + CDT4 Generator? [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
Has anyone successfully used these three together? I used CDT4 to generate my eclipse project files. With the GUI version, things work fairly well. Most features work. Although I have problems with external libraries. For some reason eclipse won't recognize the standard library strings and some of my other external library variables. I've read online that modifying "C/C++ Build" properties can help. However when I use CDT4 to generate my workspace, that option disappears in the preferences menu.
Now when I try to use eclim and vim to work on my workspaces I run into more strange issues. It seems like the completion stuff works pretty well. And Eclipse will mark problem lines with ">>" notation. However I've noticed that navigating the code is not working at all. For example hierarchical call trees and jumping to the definition of a symbol. These things work fine in the GUI.
Does anyone have any tips/tricks to help me out here? Are there any solid guides on the web that address issues like these?
Thanks!

Related

Is it possible to make an application in Visual Studio 2013 (C++) NOT requiring the VC Redistributable? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
As basic as this may sound, it seems it's actually NOT possible!
Talking about a totally "empty" application, only containing the WinMain() function and including <windows.h>. And of course, the "Use of MFC" options in the project is set to "Use Standard Windows Libraries".
Yet the application requires MSVCR120.DLL to run, as if it really uses MFC.
Looked into this similar thread, but didn't help.
Any idea?
The option can be found in the Project Properties under C/C++ -> Code Generation -> Runtime Library - set it to Multi-threaded or Multi-threaded Debug to not depend on the redistributable.

How to build this pacman project? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Hi, I want to build a PacMan game project which is on github (https://github.com/edoren/Pacman)
As i understood it needs three library naming STP, janssoon and SFML2.1 .
Can any one help me to set the required settings in in order to build and run it?
I am using win 8.1 and eclipse neon (c/C++)
please give me a step by step guide to install and setup every thing that is required (including the gcc 4.7 , SFML, STP, jansson , eclipse setting and so on.)
Why you do not use CMake like the owner of this project said?
This project was build on CMake. I think you couldn't use eclipse to do that...

Move from Gradle to CMake for C++ project [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
We have been using Gradle for our C++ project(s) for the last year now but as the complexity of the project grows and our use/creation of libraries increases I find myself dealing with situations where my knowledge of Gradle falls short.
The net is full of helpful resources for Gradle but it is extremely Java focused. Furthermore, I have not seen many C++ projects using Gradle. For these reasons, I am considering making the move to CMake since I am at point where I need to significantly edit our build scripts.
Is the move to CMake, a more battle testing and ubiquitous C/C++ build system, worth it? Or is sticking with Gradle, which recently came into the C++ game, worth the trouble?
Note: I know they are other C++ options out there but CMake seems like the one that would best replace our current solution.
My advice would be to use CMake. Many projects have already been successfully using it. CMake also has the CPack and CTest features, which are very helpful when working with projects. Additionally, many IDE projects can be generated using either Gradle or CMake.
Just to point out, CMake is not a build system but a build system generator.

Compiling and running C++ on Emacs in Windows 7 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
So, as background, at college I learned how to code python in Emacs in a Linux OS, and while I am at home I downloaded Emacs on my Windows 7, and had a more advanced programmer alter the environment path to a file which is C:\Users\Kimi
I save the .py files I write in Emacs to that Kimi folder, and then create a shell using M-x shell and then run the files using "python example.py"
THIS IS WHAT I AM USED TO SINCE I KNOW PYTHON
however, due to attempting to learn C++, every single tutorial I go to talks about "gcc" and "g++" but no matter how many times I attempt to compile they always say those two terms are not recognized. I think I need to download something, but I have no idea what important things to do in order to have a correct path and stuff because I wish to save all my C++ stuff to C:\Users\Kimi\C++, and be able to compile and run those files smoothly. On Windows 7, of course.
So I am not sure how exactly to go about this. Any kind of helpful instructions would be absolutely wonderful! I am brand spanking new to C++ so being a little detailed would be great, too.
Download and install cygwin. The world will make sense agian :)

What is your favorite eclipse plugins for c / c++ development? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Besides just the CDT what do you find essential for c development using eclipse?
If you're doing development on Linux, then Linux Tools is very useful.
These are my favourite:
cppcheck (static code analysis)
valgrind (to find memory leaks)
google test (to make unit tests very easily)
Subclipse for svn integration
Qt Eclipse Integration plugin: http://qt.nokia.com/developer/eclipse-integration
Require Qt4.5. Both the plugin and Qt are free... as in beer and freedom!
I normally use cmake to build C++ projects. Recently I have been using the Eclipse CDT4 Generator and it works quite nicely, see this link or this one.
I have tried on Linux I don't about Windows. I know this project is trying to make easier develop with C++ on windows using Eclipse but it still have pending things.