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 - Cannot Find Macro Include - Broken Codecompletion
Summary: Cannot Find Macro Include - Broken Codecompletion
Status: RESOLVED INVALID
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-10 18:01 UTC by aerialx
Modified: 2008-10-13 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.