I was able to compile it with no errors, thanks for that!
I'm also trying to merge Stigma's work: Lua Function - [TFS 1.3] Item abilities via Lua (https://otland.net/threads/tfs-1-3-item-abilities-via-lua.260156/)
in to this code. SPECIAL_SKILL seems to have been removed in item.cpp compared to TFS 1.3 for higher versions, is there any workaround for this problem?
Did you put all libraries in Visual Studio?