Recent

Author Topic: Can't found the exe file when run the file  (Read 5442 times)

dung11112003

  • Guest
Can't found the exe file when run the file
« 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

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: Can't found the exe file when run the file
« Reply #1 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)
« Last Edit: June 05, 2017, 07:16:23 pm by Handoko »

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: Can't found the exe file when run the file
« Reply #2 on: June 05, 2017, 06:39:20 pm »
Can't find it too...  :o
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

sky_khan

  • Guest
Re: Can't found the exe file when run the file
« Reply #3 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

Thaddy

  • Hero Member
  • *****
  • Posts: 14204
  • Probably until I exterminate Putin.
Re: Can't found the exe file when run the file
« Reply #4 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. :'(
« Last Edit: June 05, 2017, 07:13:28 pm by Thaddy »
Specialize a type, not a var.

 

TinyPortal © 2005-2018