AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

compiling

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
amdrunner



Joined: 25 Nov 2009
Posts: 2
Location: Fairbanks, AK

PostPosted: Wed Nov 25, 2009 1:19 am    Post subject: compiling Reply with quote

Everytime i try to compile the script, it says: Error: Error opening destination file

..i thought it was a vista thing, so i tried it on XP and it did the exact same thing.
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Nov 25, 2009 2:06 am    Post subject: Reply with quote

close the running program before compiling
or move the script to another directory to compile Arrow
Back to top
Elesar



Joined: 28 Jun 2007
Posts: 622
Location: Somewhere around 35 12N 101 49W

PostPosted: Wed Nov 25, 2009 2:13 am    Post subject: Reply with quote

I also get this on Vista, 7, and XP, but it is due to AVG Free, I can compile just fine with AVG disabled or on a system without real time virus protection.

Having the script running while trying to compile it will sometimes result in this, but I get it 100% of the time with AVG running and NO ahk scripts running.
Back to top
View user's profile Send private message
rtcvb32



Joined: 17 Feb 2008
Posts: 289

PostPosted: Wed Nov 25, 2009 2:20 am    Post subject: Reply with quote

Also I've had trouble before where i tried to replace a EXE file and kept having trouble. To fix that, close the ahk2exe and manually delete the unwanted EXE before trying again. Though more often than not it was due to AVG of some kind. Sometimes it will work better if you remove UPX from the compiling directory, as that will just keep it from being compressed and will not effect the final executable.
Back to top
View user's profile Send private message Yahoo Messenger
amdrunner



Joined: 25 Nov 2009
Posts: 2
Location: Fairbanks, AK

PostPosted: Wed Nov 25, 2009 2:42 am    Post subject: Reply with quote

thanks, i disabled avg and it worked. ..is it necessary to compile before running btw?
Back to top
View user's profile Send private message
Elesar



Joined: 28 Jun 2007
Posts: 622
Location: Somewhere around 35 12N 101 49W

PostPosted: Wed Nov 25, 2009 2:45 am    Post subject: Reply with quote

It is only required if you wish to run the script on a system that does not have AHK installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group