Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
147 stars 23 forks source link

Compiling not working (linux) #277

Closed HerrMagiic closed 1 year ago

HerrMagiic commented 1 year ago

Basic informations

Further Information

Hey i have a problem with compiling .sp files on my linux system. Maybe my settings are wrong but i can figure out what causes the problem

My settings.json

{
    "sourcepawn.MainPath": "/home/orizon_surf/serverfiles/csgo/addons/sourcemod/scripting/",
    "sourcepawn.outputDirectoryPath": "/home/orizon_surf/serverfiles/csgo/addons/sourcemod/scripting/compiled/",
    "sourcepawn.SourcemodHome": "/home/orizon_surf/serverfiles/csgo/addons/sourcemod/scripting/include",
    "sourcepawn.SpcompPath": "/home/orizon_surf/serverfiles/csgo/addons/sourcemod/scripting/include/spcomp",
    "sourcepawn.availableAPIs": [

        {
            "name": "",
            "SMHomePath": "",
            "compilerPath": ""
        }
    ],
    "sourcepawn.MainPathCompilation": false,
    "sourcepawn.compilerOptions": [

        "-O2",
        "-v2"
    ],
    "sourcepawn.linterCompilerOptions": [

    ]
}

here is what happens when i click compile file:

image

Expected behaviour

That it will compile the selected file

End

Thanks for helping

HerrMagiic commented 1 year ago

spcomp needed execute permissions

Sarrus1 commented 1 year ago

Hello, glad you managed to fix the issue!

I think I know why the extension was not putputting any error message.

HerrMagiic commented 1 year ago

would be cool to add a permission missing message or something