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.
2 posts • Page 1 of 1
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