Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-01

fp ide error "Can't open executable MYPROG.EXE"

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jean-Pierre PLANAS

Hello

I use fpc 1.0.4 for win32.
I try fp.exe, the ide editor.
When i compile an empty program (begin end.) i have the following error message :
"Can't open executable MYPROG.EXE"

JP

Reply by email

Daniel Kinnaer
to Jean-Pierre PLANAS

Trying to compile a program that is already running, produces such an error. So, I suppose that your program (MYPROG.EXE) still is running in the background. You can check this with the taskmanager.

best regards,
Daniel

Reply by email

Jean-Pierre PLANAS
to Daniel Kinnaer
you wrote
Trying to compile a program that is already running, produces such an error. So, I suppose that your program (MYPROG.EXE) still is running in the background. You can check this with the taskmanager.

No.I don't have any process of my program running. I have the same message ("Can't open executable") even if it's the first time i compile it.

For information , i work on w2k...

JP

Reply by email

Daniel Kinnaer
to Jean-Pierre PLANAS

I've recreated your program (like below) but do not run into any trouble (Win98, WinNT). As I don't have W2K, I can't repeat that error-message. This leaves your question still open, though. Sorry if I wasn't of any help to you...

program t;
begin
end.

best regards,
Daniel

Earlier message 16 lines
-----Original Message----- From: Behalf Of Jean-Pierre PLANAS Sent: zondag 7 januari 2001 11:31 To: Subject: RE: [fpc-pascal]fp ide error "Can't open executable MYPROG.EXE" No.I don't have any process of my program running. I have the same message ("Can't open executable") even if it's the first time i compile it. For information , i work on w2k... JP

Reply by email

Carlo Kok
to Jean-Pierre PLANAS: No.I don't have any process of my program running. I have the same message ("Can't open…

Do you have all access to the files, and directory you are using? Does the exe file already exists (if so, delete it)?

Earlier message 26 lines
----- Original Message ----- From: "Jean-Pierre PLANAS" To: Sent: Sunday, January 07, 2001 11:30 AM Subject: RE: [fpc-pascal]fp ide error "Can't open executable MYPROG.EXE" > At 16:43 06/01/2001 +0100, you wrote: > >Trying to compile a program that is already running, produces such an error. > >So, I suppose that your program (MYPROG.EXE) still is running in the > >background. You can check this with the taskmanager. > > No.I don't have any process of my program running. > I have the same message ("Can't open executable") even if it's the first > time i compile it. > > For information , i work on w2k... > > JP > > > _______________________________________________ > fpc-pascal maillist - > http://lists.freepascal.org/mailman/listinfo/fpc-pascal >

Reply by email

Jean-Pierre PLANAS
to Carlo Kok
you wrote
Do you have all access to the files, and directory you are using? Does the exe file already exists (if so, delete it)?

Yes, i have access to all files and directories.
If exe exist or does not exist, same problem.
With fp ide, i never succed to compile my prog. But i succed all times with ppc386 ...

I am ready to make all tests you want...

Reply by email

Pierre Muller
to Jean-Pierre PLANAS

At 19:58 07/01/01 , vous avez écrit:

Show quoted text 10 lines
At 18:30 07/01/2001 +0100, you wrote: >Do you have all access to the files, and directory you are using? Does the >exe file already exists (if so, delete it)? Yes, i have access to all files and directories. If exe exist or does not exist, same problem. With fp ide, i never succed to compile my prog. But i succed all times with ppc386 ... I am ready to make all tests you want...

Could you please try two things:

1) In Options|Linker
Check the 'Call Linker After' box and try again to compile your source.

2) (Uncheck the box again if it works with the box checked) The go to 'Options|Compiler|Verbose' and check the 'All' box Try again to compiler your program.
If the compilation fails the Compiler dialog box should contain a lot of info, use 'File|Save as' to export all this to a Text file and send the file to

Reply by email