View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-22-2022 , 23:13   Re: [Editor] AMXXPawn for Visual Studio Code
Reply With Quote #186

Quote:
Originally Posted by WHOOHOO View Post
How should I indicate compiler path on Linux?
I'm currently using this

But it can't retrieve the include files, and thus, will throw a bunch of errors related to that.
You have to configure the include file directories in addition to the compiler itself. This is my compiler/includes configuration:

PHP Code:
    "amxxpawn.compiler.executablePath""/home/fysiks/games/amxx190/addons/amxmodx/scripting/amxxpc",
    
"amxxpawn.compiler.includePaths": [
    
        
"${fileDirname}/include",
        
"/home/fysiks/games/amxx190/addons/amxmodx/scripting/include"
    
], 
I have this set up for my git repo structure where a plugin that I have on GitHub can have it's own custom include files so it will be able to grab those in addition to the default ones that come with AMX Mod X.
__________________
fysiks is offline