This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 134808

Summary: Cannot Find Macro Include - Broken Codecompletion
Product: cnd Reporter: aerialx <aerialx>
Component: -- Other --Assignee: issues@cnd <issues>
Status: RESOLVED INVALID    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description aerialx 2008-05-10 18:01:13 UTC
The freetype library uses macros for its include files (to get around short filename constraints and have more
descriptive headers). I don't know if other libraries do this, but NetBeans just claims that it 'Cannot find include
file ""'

For example, I have this:
#include <ft2build.h>
#include FT_FREETYPE_H

And while it references the ft2build.h file, which defines all the header macros, NetBeans cannot find the second
include file, even though through the preprocessor the compiler can. This breaks essential codecompletion features when
using these libraries without changing the includes back to their traditional names.
Comment 1 soldatov 2008-05-10 21:05:45 UTC
you need to add '/usr/include/freetype2' path into 'Include Directories' text field in 'Project Properties' window. In
this case IDE can to recognise '#include FT_FREETYPE_H' line
Comment 2 Alexey Vladykin 2008-10-13 09:25:23 UTC
Issue is caused by project misconfiguration. Closing as invalid.