CAndCPlusPlusFAQ
NetBeans C/C++ Plugin FAQ and HOW-TOs
New Features
General
- C/C++ Application Learning Trail
- What is the NetBeans C/C++ Plugin?
- What's the distinction between the NetBeans IDE with the C/C++ Plugin and the Oracle Solaris Studio (aka Sun Studio) IDE?
- On which platforms can I run the NetBeans C/C++ Plugin?
- Which compilers does the NetBeans C/C++ Plugin support?
- Where can I find a good tutorial to get started using Java Native Interface (JNI) other than "Beginning JNI with NetBeans C/C++ Pack 5.5, Part I"
- How can I configure the NetBeans IDE for C and Fortran development using MinGW?
- How can I configure the NetBeans IDE to work correctly with localized tools?
- How can I get Qt4 working together with NetBeans IDE?
Projects, Building and Running your code
- How do I go about moving my existing C++ project from Eclipse or GNU and bringing it into the NetBeans project system?
- I can't successfully run the g++ compiler to configure the built-in source file parser. What can I do?
- Is it possible to use MinGW in C/C++ Development?
- I've changed compiler collections in Tools > Options but my project is still using my old compiler collection. Why didn't it use the new one?
- How do I add a new set of compilers to the list of compiler collections?
- Is there a GNU make on the Solaris OS?
- How can I change the default extension for C/C++ source or header files?
- Build fails with error in file something.o.d. What can I do?
- How can I create and add resource files into projects?
- How can I configure the NetBeans IDE to work correctly with localized tools?
Debugging
- Is the NetBeans C/C++ plugin tightly integrated with a C/C++ debugger?
- The debugger doesn't work. What's the first thing I should do?
- What version of gdb should I use?
- When I try debugging on a Mac OS X machine the debugger fails. What's going on?
- Breakpoints in some of my C++ constructors are ignored. Is this a known problem?
- How can I enter external parameter (main args) like it's possible in mode "Run"?
- How to debug embedded applications?
Code assistance
- Does the NetBeans C/C++ Plugin support refactoring?
- Does a hyperlink go to the function definition or to its declaration?
- For a declaration that is declared via macros, how can I see the "real" declaration name?
- How can I find all definitions of my namespace?
- How can I create a project from existing code and set up code assistance?
- How can I configure code assistance when I cannot build the project?
- My project has a question mark in the Projects window - what does it mean? And what should I do?
- My #include directive is underlined red - what should I do?
- How can I edit user include paths and macros?
- How can I detect that the project has the wrong configuration?
- Is it possible to configure an already existing project from existing code?
- Is it possible to have different platform/device dependent configurations in one project?
Remote Development (Introduced in NetBeans IDE 6.5)
- When I try to add a remote development host I get a SocketException saying "Reply from SOCKS server has bad version". What can I do about it?
- When I try to add a remote development host no tool collections are found on the remote server although I have compilers installed there. What can I do about it?
- When I try to add a remote development host it is stuck on initializing screen. What can I do about it?
Run Monitor profiling tools (Introduced in NetBeans IDE 6.7)
- My program runs fine outside the IDE and in Debug mode in NetBeans IDE, but fails in Run mode. What can I do?
- My program runs slowly in the IDE, but faster outside the IDE and when debugging in the IDE. Why, and how can I fix it?
- Why does the IDE says it is "looking for thread lock problems" but does not show anything?
- What additional privileges are needed for the Memory tool?
- How can I use the Profiling tools on Linux?
- On Solaris I have Dtrace and Sun Studio. Which Data Provider should I choose?
Qt Support (Introduced in NetBeans IDE 6.7)
- I want to use Qt feature FOO but there is no corresponding checkbox in project properties. What can I do?
- How can I tell NetBeans to use Qt installed in /usr/local/Trolltech/Qt-4.5?