AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Compiler not compiling (https://forums.alliedmods.net/showthread.php?t=232831)

PartyCow 01-05-2014 12:50

Compiler not compiling
 
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..?

tommie113 01-05-2014 13:15

Re: Compiler not compiling
 
You need to remove old version from your compiled folder before compiling it again.
It will not overwrite it.

Powerlord 01-05-2014 14:25

Re: Compiler not compiling
 
Quote:

Originally Posted by tommie113 (Post 2081575)
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.

Groger 01-06-2014 04:07

Re: Compiler not compiling
 
You probably need to run the cmd with admin privileges, or the file you try to overwrite is somehow read only?

Marcus_Brown001 01-06-2014 05:31

Re: Compiler not compiling
 
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.

PartyCow 01-06-2014 09:25

Re: Compiler not compiling
 
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.

tommie113 01-06-2014 11:04

Re: Compiler not compiling
 
i always used compile.exe and that requires to delete old compiled version.


All times are GMT -4. The time now is 13:37.

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