How to install Compiler/Debugger for NetBeans 8.2 via cygwin? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to install Compiler/Debugger for NetBeans 8.2 via cygwin?

I need to install: Cygwin C compiler, Cygwin C++ compiler, cygwin GNU debugger, Cygwin make utility. Can you give me instructions? Cuz internet didn't give me clear instructions.

24th Apr 2017, 5:49 PM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
10 Answers
+ 1
Run the Cygwin installer and select only the packages you need: https://cygwin.com/install.html Add the Cygwin lib and bin folders to your system environment variables: https://www.java.com/en/download/help/path.xml Finally, I found this for NB 7.3 - it should be a similar process: https://netbeans.org/community/releases/73/cpp-setup-instructions.html#compilers It's not a step-by-step but it should get you there.
25th Apr 2017, 5:58 AM
Mason Krei
Mason Krei - avatar
0
The problem is that I can't find the compiler I need into cygwin
25th Apr 2017, 11:23 AM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
0
When you run Cygwin you should see radio options for installing the compilers you need. They are gcc (C) and g++ (C++). https://netbeans.org/community/releases/80/cpp-setup-instructions.html
25th Apr 2017, 2:27 PM
Mason Krei
Mason Krei - avatar
0
How goes it? Did you resolve this?
28th Apr 2017, 6:11 PM
Mason Krei
Mason Krei - avatar
0
Yes and no. I installed it but when I want to run an algorithm it shows me an error
28th Apr 2017, 6:18 PM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
0
What shows is: Error: Unable to validate C:\cygwin\bin Error: No mount point for root (/) is defined
28th Apr 2017, 6:22 PM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
0
Alright, almost there then. I believe you just need to add that path to your system environment variable. Make sure that the folder exists at the location and follow the link I gave you earlier about adding to your environment variables. You will need to restart NetBeans in order to reload the environment variables (it's done only once on startup). If that doesn't work, reboot your machine and try again. Let me know what happens.
28th Apr 2017, 6:39 PM
Mason Krei
Mason Krei - avatar
0
I added a path before.. But I will try it to see if it's anything wrong.
28th Apr 2017, 6:49 PM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
0
The problem is that the last cygwin version supported by Win XP is 2.5.2 and I can't find it anywhere. (I want the 32-bit version)
5th May 2017, 11:57 AM
Γιάννης Δημητριάδης
Γιάννης Δημητριάδης - avatar
0
Simple, just download and install this file below. https://mega.nz/#!Mwom0IRJ!h--j5lxjHH20EMVl1qg9N4ueUin01E0bOxKbRxnR7u0
13th Nov 2018, 6:10 AM
Wasula Benjamin
Wasula Benjamin - avatar