2021-03-12, 02:05 PM
(2021-03-11, 11:15 PM)Y_Less Wrote: You need the updated community compiler:
https://github.com/pawn-lang/compiler/
Thank you, sir. I got one more question. How can i compile it using the VSCode's tasks?
This is what i got:
PHP Code:
{
? ? "version": "2.0.0",
? ? "tasks":
? ? [
? ? ? {
? ? ? ? "label": "build",
? ? ? ? "type": "shell",
? ? ? ? "command": "${workspaceRoot}/pawno/bin/pawncc",
? ? ? ? "args": ["'${file}'", "'-D${fileDirname}'", "'-;'", "'-('", "'-d3'"],
?
? ? ? ? "group":
? ? ? ? {
? ? ? ? ? "kind": "build",
? ? ? ? ? "isDefault": true
? ? ? ? },
?
? ? ? ? "isBackground": false,
?
? ? ? ? "presentation":
? ? ? ? {
? ? ? ? ? "reveal": "always",
? ? ? ? ? "panel": "dedicated"
? ? ? ? },
? ? ? ?
? ? ? ? "problemMatcher": "$pawncc"
? ? ? }
? ? ]
? }
But actually this doesn't work at all and i get this error message:
Quote:error while loading shared libraries: libpawnc.so: cannot open shared object file: No such file or directory
I have no idea how to compile using this OS, so i just presumed it would work with something like that
Thank you again