I am brand new to Pascal programming (or any programming for that matter). I have downloaded the program in the subject line.
I have bought a book and an following closely, however when I select compile nothing appear to happen and I see a message saying Icon file not found. What do I do, and why can't I compile my (very) basic programs?
Please help me if you can, as I said I am new, just started today infact!
>Person in Distress1<
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2002-09-16
Hi nobody,
Can you copy/paste a copy of your program (or send it direct to me).
I am a newbie to this list, been using Dev-Pascal for a year, and programming for 20. Might have some ideas.
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had this same problem and copied the file Mainico.ico from the Icons folder into the Bin folder. It now works but I keep having the following problems.
On compiling:
"cannot open output file f:\icp-try2.exe: Permission denied"
then
"5 / 1 icptry2.pas Error: Error while linking"
then
"ICP-try2 compiled successfully".
So it compiles... but then I get a runtime error 103
when I try and run it.
PLEEEASE can anyone help, I have been going round in circles now and it's very dispiriting :~(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't use Pascal but just from reading the errors you report it looks like this:
1. your source file has compiled successfully as it reports (it still needs to be linked into an executable).
2. The linker produced an error when trying to link your compiled program into its f:\icp-try2.exe file.
3. The f:\icp-try2.exe file cannot be opened for output, which is surely your problem. In most cases when using Dev-C++ this means that the program is already running and the .exe file is locked while during that time. If this is the same thing in Dev-Pascal then just terminate the version that is still running and try again.
qWake
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This seems to be a resource problem.
Check your resource file {rsrc.rc} and make sure that the icon specified exists, if not remove it or change it to one that does exist
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In my experience with Dev-Pascal you shouldn't have your programs in a folder more then one level deep. That is, place your programs in a folder like: C:\Pascal.
Here are the steps I always use whenever I create a new Pascal Program.
1) Create the project in the folder C:\Pascal
2) Add the source code to that folder.
3) Copy the icon 'MAINICON.ICO' into the folder C:\Pascal
4) Select <Project><Project options> and <Load icon> and select C:\Pascal\MAINICON.ICO
also set resource file to C:\Pascal\rsrc.rc
5) Select <Project><Edit resource file> and change the resource to: "C:/Pascal/MAINICON.ICO"
6) Compile and run the program.
Hope that this helps
See Ya
Butch
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am brand new to Pascal programming (or any programming for that matter). I have downloaded the program in the subject line.
I have bought a book and an following closely, however when I select compile nothing appear to happen and I see a message saying Icon file not found. What do I do, and why can't I compile my (very) basic programs?
Please help me if you can, as I said I am new, just started today infact!
>Person in Distress1<
Hi nobody,
Can you copy/paste a copy of your program (or send it direct to me).
I am a newbie to this list, been using Dev-Pascal for a year, and programming for 20. Might have some ideas.
David
I had this same problem and copied the file Mainico.ico from the Icons folder into the Bin folder. It now works but I keep having the following problems.
On compiling:
"cannot open output file f:\icp-try2.exe: Permission denied"
then
"5 / 1 icptry2.pas Error: Error while linking"
then
"ICP-try2 compiled successfully".
So it compiles... but then I get a runtime error 103
when I try and run it.
PLEEEASE can anyone help, I have been going round in circles now and it's very dispiriting :~(
I don't use Pascal but just from reading the errors you report it looks like this:
1. your source file has compiled successfully as it reports (it still needs to be linked into an executable).
2. The linker produced an error when trying to link your compiled program into its f:\icp-try2.exe file.
3. The f:\icp-try2.exe file cannot be opened for output, which is surely your problem. In most cases when using Dev-C++ this means that the program is already running and the .exe file is locked while during that time. If this is the same thing in Dev-Pascal then just terminate the version that is still running and try again.
qWake
Hi,
This seems to be a resource problem.
Check your resource file {rsrc.rc} and make sure that the icon specified exists, if not remove it or change it to one that does exist
Hi Everyone:
In my experience with Dev-Pascal you shouldn't have your programs in a folder more then one level deep. That is, place your programs in a folder like: C:\Pascal.
Here are the steps I always use whenever I create a new Pascal Program.
1) Create the project in the folder C:\Pascal
2) Add the source code to that folder.
3) Copy the icon 'MAINICON.ICO' into the folder C:\Pascal
4) Select <Project><Project options> and <Load icon> and select C:\Pascal\MAINICON.ICO
also set resource file to C:\Pascal\rsrc.rc
5) Select <Project><Edit resource file> and change the resource to: "C:/Pascal/MAINICON.ICO"
6) Compile and run the program.
Hope that this helps
See Ya
Butch