[Pawn] Compiling on Linux - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] Compiling on Linux (/showthread.php?tid=1752) |
Compiling on Linux - Smyle - 2021-03-10 Heyo. So... In a while ago i just moved into Linux (Ubuntu/Debian)?for other development purposes and i didnt want to stop all my SAMP projects because of Torvalds. My issue is with compiling. Does anyone knows how am i going to be able to compile in this OS? Or do something else so it can work?? Thank you. As yall can notice i am not an expert (not even close to an amateur) on using linux, so... I'm kinda lost here. RE: Compiling on Linux - Y_Less - 2021-03-11 You need the updated community compiler: https://github.com/pawn-lang/compiler/ RE: Compiling on Linux - Smyle - 2021-03-12 (2021-03-11, 11:15 PM)Y_Less Wrote: You need the updated community 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: { 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 RE: Compiling on Linux - Y_Less - 2021-03-13 Well do you have that file in the right directory with ? Otherwise you might need to set pwd first. RE: Compiling on Linux - Smyle - 2021-03-13 (2021-03-13, 02:19 PM)Y_Less Wrote: Well do you have that file in the right directory with ?? Otherwise you might need to set pwd first. I forgot that softwares on Linux have to work on different directories, in theory. Just moved to /usr/lib and now it works. Just one more thing, if I am not disturbing you. How can we add the includes so we can compile with it? (An great example would be using a_samp.inc). Just tried moving to my compile directory, but I'm probably missing something stupid tho. Thank you one more time. :) RE: Compiling on Linux - Y_Less - 2021-03-14 "-i" |