Lazarus

Installation => Windows (32/64) => Topic started by: dung11112003 on June 05, 2017, 06:02:37 pm

Title: Can't found the exe file when run the file
Post by: dung11112003 on June 05, 2017, 06:02:37 pm
when i tried to run the file it said that cannot find unit1.exe file plz help me
Title: Re: Can't found the exe file when run the file
Post by: Handoko on June 05, 2017, 06:38:29 pm
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)
Title: Re: Can't found the exe file when run the file
Post by: RAW on June 05, 2017, 06:39:20 pm
Can't find it too...  :o
Title: Re: Can't found the exe file when run the file
Post by: sky_khan 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
Title: Re: Can't found the exe file when run the file
Post by: Thaddy on June 05, 2017, 07:11:45 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
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. :'(
TinyPortal © 2005-2018