eclipse-cdt

Install CDT Plug-In On Eclipse Ganymede

半城伤御伤魂 提交于 2019-12-21 21:16:27
问题 How i can install the CDT plug-in (that you can develop in C++ under Eclipse) in my Eclipse Ganymede, remember that I use Windows Vista. Thanks! 回答1: Use this official guide: http://wiki.eclipse.org/Getting_started_with_CDT_development 回答2: http://wiki.eclipse.org/CDT/User/FAQ#Are_there_complete_HowTos_for_setting_up_the_CDT.3F 回答3: I personally use Pulse for this kind of stuff. It manages all plugin dependencies and so far has worked very well for me 来源: https://stackoverflow.com/questions

Setting up eclipse for windows driver development

岁酱吖の 提交于 2019-12-21 20:01:33
问题 I am trying to write a user-mode windows(XP, Vista & 7) virtual printer driver using WDK 7.1.0 . I plan to use eclipse IDE for development, so wanted to know if I can set it up for the same. I am looking to do following:- 1) Eclipse to recognize win32 apis (C and C++) and hence provide features like autocompletion for its function names 2) Eclipse to use compiler provided with WDK 3) Debug the code through eclipse (Not sure if this is possible or not) OR would you suggest some other

Error Launching external scanner info generator - gcc link problem on MingGW

会有一股神秘感。 提交于 2019-12-21 19:43:09
问题 Error Launching external scanner info generator - gcc link problem on MingGW Error launching external scanner info generator (sh -c 'g++ -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp ') Error launching external scanner info generator (sh -c 'gcc -E -P -v -dD C:/Documents and Settings/user1/workspace123/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c ') this problem occuring in eclipse-SDK-3.2.2-win32 -cdt can any one

Eclipse CDT: Disable red underlining

风格不统一 提交于 2019-12-21 17:17:17
问题 I use eclipse cdt and I included some files. Unfortunalty I cannot add the include path to my eclipse project since then eclipse will always crash when it starts indexing the newly added includes. Therefore I would like to turn off the feature that highlights errors. Where can I do this? 回答1: This is probably not the answer to your problem, but it's actually the answer to your question (which I was looking for and now found out myself): How to disable the red underlining, which can be pretty

How to hide/disable CDT launchbar?

血红的双手。 提交于 2019-12-21 10:42:26
问题 I've updated my Eclipse IDE recently and a new launchbar appeared after the CDT update. I really don't like it, which is why I'm trying to get rid of it. I haven't yet found a way to hide or disable it... Do you know how I could do this ? Here's a snapshot of the launchbar : https://wiki.eclipse.org/images/1/15/CDTLaunchBar.png 回答1: I'm not sure how you got it. The LaunchBar isn't part of the CDT. Only the new Arduino CDT uses it. To remove it, find the org.eclipse.launchbar feature and

How to hide/disable CDT launchbar?

人走茶凉 提交于 2019-12-21 10:40:42
问题 I've updated my Eclipse IDE recently and a new launchbar appeared after the CDT update. I really don't like it, which is why I'm trying to get rid of it. I haven't yet found a way to hide or disable it... Do you know how I could do this ? Here's a snapshot of the launchbar : https://wiki.eclipse.org/images/1/15/CDTLaunchBar.png 回答1: I'm not sure how you got it. The LaunchBar isn't part of the CDT. Only the new Arduino CDT uses it. To remove it, find the org.eclipse.launchbar feature and

Eclipse complains: “Invalid overload of 'endl'” - but code does compile

好久不见. 提交于 2019-12-21 07:07:04
问题 I've written an operator<< for my templated class: template<class T> std::ostream& operator<<(std::ostream &strm, const MyClass<T> &obj) and when I write cout << myClassInstance << endl; this compiles and runs, but my Eclipse CDT says: Invalid overload of 'endl' Why does it tell me that? (I use Eclipse CDT Kepler on Win7 64bit with Cygwin gcc) 回答1: This is indeed a bug with Eclipse CDT (more specifically Eclipse's Code Analysis tool CODAN). There is bug report and it has been fixed and should

Eclipse CDT Build Console output not displaying entire compiler output

一笑奈何 提交于 2019-12-21 05:49:10
问题 When building and debugging a large C++ program, the output to the console is so large that the console cuts off the start of the output. This is particularly annoying as the first error outputted by the compiler is often the most important for debugging purposes. EDIT: So the question is: How do I view the entire console output? 回答1: There are two ways to get around this: Change how many lines the console is limited to. Go to Window -> Preferences -> C/C++ -> Build -> Console, then change

Eclipse CDT Indexer does not fully recognize c++11

孤街醉人 提交于 2019-12-21 05:28:12
问题 First of all, I know about the -std=c++11 flag to enable c++11 support and where to place it. I've appended -std=c++11 to Project -> Properties -> C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flags and compiling just works fine. But the indexer doesn't get along, for example if I want to use the emplace function of std::map (c++11), it will not find the emplace function. #include <map> int main() { std::map<int, int> data; data.emplace(5,5); I've also

How to attach source to the libraries on Eclipse CDT

家住魔仙堡 提交于 2019-12-21 04:53:22
问题 On Eclipse CDT, does someone know how to have the external libraries attached by their source codes? What I want to do is to click the element (e.g. function, variable) names so that Eclipse opens the corresponding part of its source file (or open header file initially, then open source with another click in header). It's possible in Eclipse' Java mode. Thanks. 回答1: Create a library project. Add external library into it. Open library project Properties, link sources folders via C/C++ General