PDA

View Full Version : C++ Compiling issue



Ultimatefry
September 16th, 2013, 10:45 PM
OK, so I got bored on Sunday after morning service was over, so I returned to messing around with C++ with the little knowledge I have and started making a text-based adventure game (the last two words being used lightly), and followed a guide I found online1 to install the compiler. When I got to the third line in the compiling guide, it gave me an error saying that the file could not be found. Trying to start the needed program outside of Notepad++ resulted in this:

http://i44.tinypic.com/2ntvb10.jpg

What do?

monkeybrain20122
September 16th, 2013, 10:52 PM
This is WIndows??

Ultimatefry
September 16th, 2013, 10:58 PM
Yeah, this is the faster computer.

oldos2er
September 17th, 2013, 08:16 PM
Moved to Programming Talk.

r-senior
September 17th, 2013, 08:57 PM
You need the right compiler binary for your version of Windows. The error message is not helping much but your first step should be to work out whether you are running 32-bit or 64-bit:

http://pcsupport.about.com/od/windowsvista/ht/windows-vista-32-bit-64-bit.htm

I'm assuming Vista. It stirs my hazy memory of what Vista looked like before I uninstalled it.

dwhitney67
September 18th, 2013, 01:02 AM
You need the right compiler binary for your version of Windows. The error message is not helping much but your first step should be to work out whether you are running 32-bit or 64-bit:


On Windows, one can use Visual Studio YYYY Express Edition (where YYYY is some release year), which is basically the free edition. It only compiles 32-bit libraries and apps, but these are usable on a 64-bit system.

To compile 64-bit libraries and apps, one must upgrade to Visual Studio YYYY Standard or Professional Edition. This costs a good load of money, and it baffles me why anyone in their right mind would ever go this route.

Just use Linux, and the tools are free... thanks to some generous people out there in the World.

As for the OP, it seems he is using MinGW, Notepad++, and god knows what else.

Ultimatefry
September 18th, 2013, 08:49 PM
You need the right compiler binary for your version of Windows. The error message is not helping much but your first step should be to work out whether you are running 32-bit or 64-bit:

http://pcsupport.about.com/od/windowsvista/ht/windows-vista-32-bit-64-bit.htm

I'm assuming Vista. It stirs my hazy memory of what Vista looked like before I uninstalled it.

Windows 7 Ultimate
Service Pack 1
32-bit Operating System