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 199855 - Mac OS X Sub Frameworks are not supported
Summary: Mac OS X Sub Frameworks are not supported
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.0
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
: 167160 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-02 08:20 UTC by art_d_os
Modified: 2016-10-31 10:08 UTC (History)
1 user (show)

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 art_d_os 2011-07-02 08:20:54 UTC
I was trying to compile the basstest C example from the Bass library and the IDE was not able to find sub frameworks in the Carbon framework.

Carbon is located in "/System/Library/Frameworks/Carbon.framework" and is found correctly but on the #include <Carbon/Carbon.h> line there is a notification that "HIToolbox.h" cannot be found.

This header is located under "/System/Library/Frameworks/Carbon.framework/Frameworks/HIToolbox.framework" (that's why I call it a sub framework)

I have added following directory in the Code Assistance tab just below "/System/Library/Frameworks":
  "/System/Library/Frameworks/Carbon.framework/Frameworks"
  
the error notification is now on another header file.

I had to add
  "/System/Library/Frameworks/Carbon.framework/Frameworks"
  "/System/Library/Frameworks/ApplicationServices.framework/Frameworks"
  "/System/Library/Frameworks/CoreServices.framework/Frameworks"
to make the IDE fully happy.

So what understand is that sub frameworks are not added automatically.

Do you think it is possible to add automatically and recursively all sub frameworks of all found frameworks  or even better to be able to select a specific framework to add to a project (the same way we can add a library to link with) so that
  - "-framework my_framework" is automatically added to the compiler/linker command line
  - dependencies with other frameworks and sub-frameworks are shown
  - the Code Assistance list of include directories is updated with the associated set of directories

BR, Art d'Os
Comment 1 nnnnnk 2011-09-29 15:45:54 UTC
*** Bug 167160 has been marked as a duplicate of this bug. ***