How to find my server's "spcomp.exe" file, so I can upload c

Post Reply
WarriorDan
New to forums
New to forums
Posts: 2
Joined: Tue Jun 24, 2014 9:15 pm

How to find my server's "spcomp.exe" file, so I can upload c

Post by WarriorDan » Tue Jun 24, 2014 9:25 pm

Hi everyone! Quick question for you.

Simple enough: I'm looking to compile my own plugin, and I've never compiled one manually before, as I usually prefer to use Sourcemod's online compiler.

Unfortunately, my plugin, when uploaded there, gives the following error: "/home/groups/sourcemod/upload_tmp/phpWDaJi8.sp(7) : fatal error 120: cannot read from file: 'tf2items' Compilation aborted. 1 Error."

I read up online that in order to compile my custom plugin properly to avoid this error, I need to compile it using my "spcomp.exe" file. How do I find this file? Would appreciate any help you can give me. :)

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: How to find my server's "spcomp.exe" file, so I can uplo

Post by soja » Tue Jun 24, 2014 10:52 pm

It is included in every sourcemod snapshot. You can find it in the "scripting" folder. You plugin won't compile because it requires the "tf2items" include, which you will need to download and put in your scripting/includes folder before attempting to compile with spcomp.exe.
Not a NFO employee

Post Reply