Город МОСКОВСКИЙ
00:07:43

How to Configure the NetBeans IDE for C/C++ (Cygwin Compiler) [Windows 10] [2018]

Аватар
Tech Sirenettes
Просмотры:
30
Дата загрузки:
30.11.2023 06:07
Длительность:
00:07:43
Категория:
Обучение

Описание

In this tutorial I will show you how to configure and setup the NetBeans IDE for C/C++ using the Cygwin compiler. After you watch my tutorial this will allow you to compile a C/C++ file with NetBeans.

If anyone gets an error when compiling you need to set up one additional thing. Go to "Tools" up at the top then scroll down to "Options". Next click "C/C++" up at the top. On the left under "Tool Collection:" click "Add". Now click "Browse" to the the right of base Directory and choose the folder where your "cygwin64\bin" file is located. By default the path should be "C:\cygwin64\bin" click okay, and you are good to go! If anyone wants me to make a video of this last step just let me know!

As reported by another user, if you are using Netbeans 11 please follow these steps!

VERY IMPORTANT: on NetBeans 11 you can't see the C/C++ plugin. You need to go to the settings tab when trying to find the plugin and activate NetBeans 8.2 Plugin Portal.

Common troubleshooting questions:

Q: In the tools for some reason I need to choose the directory for the "Make Command". It's the only one missing. What directory I choose for the "make Command"?

A: C:\cygwin64\bin\make.exe

Websites:

Instructions: https://netbeans.org/community/releases/80/cpp-setup-instructions.html

Cygwin: https://cygwin.com/

NetBeans: https://netbeans.apache.org/download/index.html

To find out when I release new content follow me on twitter!

Twitter: https://twitter.com/GeadsGames

Рекомендуемые видео