How can I configure code assistance when I cannot build the project?

Configuring code assistance is most efficient when you built your code with debugging information (the best is
-g3 -gdwarf-2
for GNU and just {-g} for the Oracle Solaris Studio (aka Sun Studio) compiler collection.

When your project is not built or does not contain debugging information, the Configure Code Assistance wizard has a special mode "Search file system for C/C++ header files". In this mode, the NetBeans IDE tries to resolve failed include directives by searching the file system for headers. For this purpose the wizard will ask you to enter a path to search for headers. By default the path is a project source root.

Applies to: 6.0 and later
Platforms: all

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo