• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Compiling on Linux
#3
(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
  Reply


Messages In This Thread
Compiling on Linux - by Smyle - 2021-03-10, 09:37 PM
RE: Compiling on Linux - by Y_Less - 2021-03-11, 11:15 PM
RE: Compiling on Linux - by Smyle - 2021-03-12, 02:05 PM
RE: Compiling on Linux - by Y_Less - 2021-03-13, 02:19 PM
RE: Compiling on Linux - by Smyle - 2021-03-13, 11:35 PM
RE: Compiling on Linux - by Y_Less - 2021-03-14, 02:09 AM

Forum Jump: