build - Importing a makefile inside Eclipse - symbols could not be resolved -
i'm trying import existing project eclipse. did following steps: - downloaded source repository. - ran ./autogen.sh - ran ./configure - selected makefile project existing code eclipse file menu
the class files grouped type (.h , .cpp) , can reach .cpp .h pressing ctrl+tab , vice versa. when press build, building starts , works fine. if put syntax errors inside file make returns error.
however eclipse's intellisense reports many error "function snprintf not resolved", , "symbol 'null' not resolved". how can hide/resolve these errors? import procedure incomplete?
you should add /usr/include
path (see http://help.eclipse.org/juno/topic/org.eclipse.cdt.doc.user/tasks/cdt_t_proj_paths.htm) or tune discovery options (http://help.eclipse.org/juno/topic/org.eclipse.cdt.doc.user/reference/cdt_u_newproj_discovery_options.htm?cp=11_4_6_8_2_2)
Comments
Post a Comment