• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Complete noob!

When I try to compile it shows: Cannot run program "C:\Users\Public\Desktop\Cygwin" (in directory "C:\Users\Paul\Documents\NetBeansProjects\CppApplication_1"): CreateProcess error=2, The system cannot find the file specified



COMPILE FILE FAILED (exit value -2, total time: 390ms)

What file is it missing though? That's different to what I'm getting. However in both cases it's Netbeans failing to make and compile C++ programs. I'm not a developer, I just like to tinker with this stuff very occasionally.

You could try Visual Studio with C++? ;) ...it's free I believe.
 
What file is it missing though? That's different to what I'm getting. However in both cases it's Netbeans failing to make and compile C++ programs. I'm not a developer, I just like to tinker with this stuff very occasionally.

You could try Visual Studio with C++? ;) ...it's free I believe.

I'll look into that ;)
 
No, I haven't had that error yet. Could I get Kdevelop on windows 7 64 bit?

I don't know. It's a KDE application, I ran it on Linux Mint. It uses GNU make and build tools, like GCC. You could try using Linux in Virtual Box. This is the first time I've ever tried Netbeans. I've used Kdevelop and Geany recently, but they're both on Linux and both work.

I don't even have Windows, I have a Linux laptop and a Macbook. :)
 
I don't know. It's a KDE application, I ran it on Linux Mint. It uses GNU make and build tools, like GCC. You could try using Linux in Virtual Box. This is the first time I've ever tried Netbeans. I've used Kdevelop and Geany recently, but they're both on Linux and both work.

I don't even have Windows, I have a Linux laptop and a Macbook. :)

Downloaded Virtual Studio. I'll try it out when I wake up in the morning. Thanks for all your help, I really appreciate it! :)
 
Good night...talk tomorrow OK.. :)

Just a thought...

The file you got missing, it's not the actual C++ compiler is it? Presumably it's using GCC, that's why Netbeans uses Cygwin. You haven't got to install it separately or something?
 
Good night...talk tomorrow OK.. :)

Just a thought...

The file you got missing, it's not the actual C++ compiler is it? Presumably it's using GCC, that's why Netbeans uses Cygwin. You haven't got to install it separately or something?
When I installed Code::Blocks it came with the C++ compiler but never installed correctly so I used cygwin on it and it compiled but never displayed the message. Should I just delete cygwin? I downloaded it a while ago when I was trying to make a ROM but never use it anymore.
 
14 hours to install Visual Studio? Is it one of those things where you're just installing a stub, not the whole thing, and then it has to go on-line to download the rest of it?

I'm pretty sure that's one option. The others are the DVD install and I think there's an offline install.
 
14 hours to install Visual Studio? Is it one of those things where you're just installing a stub, not the whole thing, and then it has to go on-line to download the rest of it?

All I know is that I clicked on the vs_ultimate_download.exe and it prompted me to start the installation which needed 10 gigs worth of space. I just tried to run the code and its supposed to pop up in a command prompt looking thing but it just flashes and disappears, any ideas?

EDIT: I figured it out. I was using the wrong project type in visual studio. Thank you guys so much, now I get to start learning :party:
 
Back
Top Bottom