Frustrated at IGAD Tutorial part 1 (help)
#1
Posted 24 March 2011 - 02:14 PM
The error says: "Unable to start program 'C:\my_projects\part1\Debug\part1.exe'. The system cannot find the file specified.
Basically, there is a file missing or something. I've looked in the debug folder, and there is indeed no "part1.exe" there. I don't even know how or when the file should get there, but I'm 100% sure I havent deleted or messed up anything. As I said, I followed the tutorial precisely, and quadruple-checked everything.
I'm about to lose my nerves because of this. I've tried hours to get this to work, but no success.
#2
Posted 24 March 2011 - 02:30 PM
Stein1992 said:
The error says: "Unable to start program 'C:\my_projects\part1\Debug\part1.exe'. The system cannot find the file specified.
Basically, there is a file missing or something. I've looked in the debug folder, and there is indeed no "part1.exe" there. I don't even know how or when the file should get there, but I'm 100% sure I havent deleted or messed up anything. As I said, I followed the tutorial precisely, and quadruple-checked everything.
I'm about to lose my nerves because of this. I've tried hours to get this to work, but no success.
Slow down, "part1.exe" is probably the name of the executable that is generated from your code and will be executed. The error indicates successful compilation, but some trouble with your executing environment. Why don't you give us a bit more details.
#3
Posted 24 March 2011 - 02:33 PM
Mihail121 said:
Okay.. what details? And what do you mean by executing environment? I know little to nothing about programming.. =\
#4
Posted 24 March 2011 - 02:42 PM
Stein1992 said:
OK, we can see that. The compiler is translating the source code you are writing (given in the tutorial) to an executable program (test1.exe). The computer can execute "test1.exe" if it existed. If it does not exist there was some error during the compilation. Is this the only message the compiler is giving you? Were there some errors, some warnings? Do you have permissions to create files in the Debug directory?
#5
Posted 24 March 2011 - 02:46 PM
Mihail121 said:
There is some text in the "output" box:
1>------ Build started: Project: part1, Configuration: Debug Win32 ------
1>Compiling manifest to resources...
1>Project : error PRJ0003 : Error spawning 'rc.exe'.
1>Build log was saved at "file://c:\my_projects\part1\part1\Debug\BuildLog.htm"
1>part1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#6
Posted 24 March 2011 - 02:53 PM
Oh, and don't be frustrated if you have no idea what you are even doing. You'll learn eventually.
#7
Posted 24 March 2011 - 02:58 PM
Mihail121 said:
Oh, and don't be frustrated if you have no idea what you are even doing. You'll learn eventually.
Well, thanks for the help! I'll try to reinstall Visual Studio. The weird thing though, is that I didn't get any errors when installing. Anyway, I'll try my best to learn, but the thing I don't like with these tutorials is that they only tell you what to do, and don't explain what you are doing. So in a way I'm only following instructions without actually knowing what I'm doing. Oh well, thanks again.
#8
Posted 24 March 2011 - 03:03 PM
#9
Posted 24 March 2011 - 04:13 PM
Mihail121 said:
I tried reinstalling Visual Studio, and this time I didn't get any errors in the installation, but I'm still getting the same error (where it can't find "part1.exe") when I try to run the code. Did you say the part1 file gets created when I compile the code? Because it's still missing, and "rc.exe" is also still missing. Doesn't seem logical to me, because my last installation went without errors. I don't know what's wrong now.. =\
#10
Posted 24 March 2011 - 04:46 PM
#11
Posted 24 March 2011 - 05:13 PM
Kenneth Gorking said:
Nope, still the same error.
#12
Posted 24 March 2011 - 05:59 PM
#13
Posted 24 March 2011 - 06:05 PM
Mihail121 said:
I'm using Windows XP SP3. I didn't have these errors earlier on this computer, but I formatted it a few weeks ago. I have all the latest windows updates, .net framework, and so on. I'll try searching around for a solution, though.
#14
Posted 24 March 2011 - 06:06 PM
#15
Posted 24 March 2011 - 06:10 PM
Mihail121 said:
It worked! Thanks alot!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












