August 14, 2013
setting eclipse cdt
I have try to open opencv example in the eclipse. When I opened the editor, I get many of error from eclipse editor. I use ubuntu 12.04. You can modified the path location with your OS. This is steps how to this error.
- Symbol ‘iostream’ could not be resolved. The simple method is using locate command from konsole to get this file location. The Ubuntu 12.04 path location for this file is at “/usr/include/c++/4.6”. Right click at your eclipse project->Properties->C/C++ General->Paths and Symbols->GNU C++. add that file path to this setting window. This method will remove all error about : Symbol ‘iostream’ could not be resolved and Symbol ‘std’ could not be resolved.
- Symbol ‘vector’ could not be resolved, Symbol ‘cout’ could not be resolved, Symbol ‘endl’ could not be resolved. Using the first method, add this path : “
/usr/include/c++/4.6/x86_64-linux-gnu
“. This method will remove all error related with Symbol ‘vector’ could not be resolved, Symbol ‘cout’ could not be resolved, Symbol ‘endl’ could not be resolved.