Raised This Month: $12 Target: $400
 3% 

Compiler not compiling


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PartyCow
Junior Member
Join Date: May 2013
Old 01-05-2014 , 12:50   Compiler not compiling
Reply With Quote #1

Hello.

Whenever I try to compile with the offline compiler, I get the error;

' Unable to open "C:\....\compiled\myplugin.smx" for writing! '

It doesn't compile it, and it isn't blocked by any program.
Any idea why it does this..?
PartyCow is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 01-05-2014 , 13:15   Re: Compiler not compiling
Reply With Quote #2

You need to remove old version from your compiled folder before compiling it again.
It will not overwrite it.
__________________
No longer taking requests due to lack of time and interrest.
Only helping out with minor things through forum.
tommie113 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 01-05-2014 , 14:25   Re: Compiler not compiling
Reply With Quote #3

Quote:
Originally Posted by tommie113 View Post
You need to remove old version from your compiled folder before compiling it again.
It will not overwrite it.
Since when? I've never had an issue where it won't overwrite an old version and I've been doing SourceMod plugin development for years.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 01-06-2014 , 04:07   Re: Compiler not compiling
Reply With Quote #4

You probably need to run the cmd with admin privileges, or the file you try to overwrite is somehow read only?
Groger is offline
Marcus_Brown001
AlliedModders Donor
Join Date: Nov 2012
Location: Illinois, United States
Old 01-06-2014 , 05:31   Re: Compiler not compiling
Reply With Quote #5

Using compile.exe I believe it will error out with file is already compiled. If you use spcomp.exe it will overwrite the old file.

Last edited by Marcus_Brown001; 01-06-2014 at 05:32.
Marcus_Brown001 is offline
PartyCow
Junior Member
Join Date: May 2013
Old 01-06-2014 , 09:25   Re: Compiler not compiling
Reply With Quote #6

Fixed by using spcomp.exe instead.

I'm not sure if compile.exe needs to be run as an admin, because the file isn't read only and the compiled folder is completely empty.
PartyCow is offline
tommie113
AlliedModders Donor
Join Date: Oct 2013
Old 01-06-2014 , 11:04   Re: Compiler not compiling
Reply With Quote #7

i always used compile.exe and that requires to delete old compiled version.
__________________
No longer taking requests due to lack of time and interrest.
Only helping out with minor things through forum.
tommie113 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode