Forum > Windows (32/64)

Can't found the exe file when run the file

(1/1)

dung11112003:
when i tried to run the file it said that cannot find unit1.exe file plz help me

Handoko:
I am not sure why you got that error, but here are the things you may try:

- Make sure your system is virus free
- Try to temporary disable any antivirus before running the unit1.exe
- Check if the file exists: "c:\fpc\3.0.2\file\*.*"
- Restart your Windows to safe mode and run that unit1.exe
- Test the program again but using other version of Lazarus (maybe 1.6.2)

RAW:
Can't find it too...  :o

sky_khan:
Let me guess. You messed up unit and project file names. Follow this:

File-Save All
Project-Save Project As... and give it a new name like "myfirstgame".
Try running it again

Thaddy:

--- Quote from: SkyKhan on June 05, 2017, 07:07:19 pm ---Let me guess. You messed up unit and project file names. Follow this:

File-Save All
Project-Save Project As... and give it a new name like "myfirstgame".
Try running it again

--- End quote ---
All versions compile by default to the user's temp directory. If you do not change that and you have your system setup to delete temp on shutdown or restart, you will loose the executable.
Rightly so. :'(

Navigation

[0] Message Index

Go to full version