Hi, If you’re running NB 12.6, on a Mac, try its default C++ pull-down menu found in ‘Preferences’. Have Homebrew repo install either CCLS or ClangD LSP client and configure C++ Project next. To compile your code, goto ‘Project Properties - Build' Pick and choose compiler toggles from the following article: https://bytes.usc.edu/cs104/wiki/gcc/ <https://bytes.usc.edu/cs104/wiki/gcc/>
I find Editor compile command toggles and Build ‘clean’ and ‘run’ config academic, since I’m learning C++ from CLI. You should find the NB 12.6 Debugger useful in troubleshooting. Newbie > On Jan 25, 2022, at 1:39 AM, Jonathan Bergh <bergh.jonat...@gmail.com> wrote: > > hi David, > > Unfortunately I dont do much work at all with the C++ debugger so there's > very little chance I am going to be able to help. In fact <bashful admission> > i've never used it. > > Maybe one of the other folks would be able to be of more assistance? > > Cheers > Jon > ᐧ > > On Tue, Jan 25, 2022 at 12:39 AM David Gradwell <da...@gradwell.com > <mailto:da...@gradwell.com>> wrote: > Hi, > > > > I too am trying to get C++ to work. I’ve just raised > https://issues.apache.org/jira/browse/NETBEANS-6413 > <https://issues.apache.org/jira/browse/NETBEANS-6413> because although I can > install C++ and get a C++ test program to run, the debugger fails. Watching > the install it looks as though it installs gdb. > > > > I’ve attached my writeup of the exact steps taken and am happy to update this > with input from others to see if we can get C++ to work repeatably. I’ve > read a lot, e.g. > > > > https://netbeans.apache.org//kb/docs/cnd/quickstart.html > <https://netbeans.apache.org/kb/docs/cnd/quickstart.html> > > > https://www.shayanderson.com/application/setup-netbeans-for-c-and-c-compilers.htm > > <https://www.shayanderson.com/application/setup-netbeans-for-c-and-c-compilers.htm> > > > https://tutsmaster.org/how-to-install-c-c-on-netbeans-ide/ > <https://tutsmaster.org/how-to-install-c-c-on-netbeans-ide/> > > > and Bradley Wilcott’s email of 18th Jan 2022. > > > > In summary, I can get the compiler to work in NetBeans on both Mac OS and > Windows 10 but can’t get the debugger to work. Perhaps we can work together > to crack this ? > > > > David Gradwell > > > > > > From: Jonathan Bergh <bergh.jonat...@gmail.com > <mailto:bergh.jonat...@gmail.com>> > Date: Monday, 24 January 2022 at 10:07 > To: Michael Bien <mbie...@gmail.com <mailto:mbie...@gmail.com>> > Cc: NetBeans Mailing List <users@netbeans.apache.org > <mailto:users@netbeans.apache.org>> > Subject: Re: Installing C/C++ 8.2 in NB 12.6 > > > > Ah great, thanks Michael, thats fantastic. I recently changed to JDK 17 (for > Gradle) so good to know you can install and then change back up again. > > > > Thanks a lot, appreciate that :thumbsup > > Jonathan > > ᐧ > > > > On Mon, Jan 24, 2022 at 11:04 PM Michael Bien <mbie...@gmail.com > <mailto:mbie...@gmail.com>> wrote: > > you should be able to install old plugins if you start NB on JDK 8 or 11 > since they still have pack200 support. > > > > after its installed you can start on JDK 17 again. > > > > you can change the path to the JDK in etc/netbeans.conf > > > > -mbien > > > > On 24.01.22 10:58, Jonathan Bergh wrote: > > hi, > > > > I was wondering whether anyone had any tips on how to solve the following - I > saw on the mailing list that someone (cant remember who) was using the old NB > 8.2 C/C++ plugin with one of the new Apache NB releases. > > > > I would like to do the same. > > > > I have configured the 8.2 plugin repo and clicked install on the C/C++ > module, which downloads, and partially installs, but then fails when trying > to "validate" the modules. There is an option to locate Unpack200 manually, > otherwise clicking OK appears to hang the install. > > > > Does anyone have any tips on how to get this plugin installed? > > Thanks a lot in advance > > ᐧ > > >