* * *

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

dung11112003

  • New member
  • *
  • Posts: 6
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: 1321
  • 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

  • Sr. Member
  • ****
  • Posts: 304
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) And Windows XP Pro (x86 Sp3) - LAZARUS 1.6.4 FPC 3.0.2

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: 3956
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 »
"Logically, no number of positive outcomes at the level of experimental testing can confirm a scientific theory, but a single counterexample is logically decisive."

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus