[Pawn] Help sublime compile on macOS - 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] Help sublime compile on macOS (/showthread.php?tid=1238) |
Help sublime compile on macOS - bum - 2020-10-13 Hi everyone ! My gamemode is compile successfully with windows, but when I use my macOS for compile, it cannot run. I use sublime text for compiling, I?have installed PAWN plugin, edited sublime-build file but it still not working. My build file: Code: { The error logs: Code: [Errno 2] No such file or directory: './pawncc' RE: Help sublime compile on macOS - Kwarde - 2020-10-16 Seems "./pawncc" wasn't found. I always manually run pawncc (or rather, created a compile.sh file so I don't have to typ out all parameters all the time). Since I'm not familiar with using the compiler in that way, I'm not sure if "working_dir" ("dir") uses -D (I assume it does tho). Are pawncc and pawndisasm in there? Also, a way more convenient way is to place "pawncc" and "pawndisasm" in /usr/bin (make sure they've executable permissions) and "libpawnc.dylib" in /usr/lib. Then you can call "pawncc" from anywhere (and thus the command line would start with "pawncc" and not "./pawncc") RE: Help sublime compile on macOS - bum - 2020-10-19 I don't have any file with name `pawndisasm`. And currently my macOS doesn't contain `/bin` and `/lib` folder, I have checked the hidden files but it not on the list. Pawncc too, exe file can't be open by my mac. RE: Help sublime compile on macOS - Kwarde - 2020-10-19 Then find out where the files must be. I assumed some post I saw from MacOS X, which does have those directories. Otherwise appearantly it's possible that it's to be placed under /Applications & /Library (not certain, though). I don't work with MacOS (fortunately) anyway. Re-download the compiler though ; https://github.com/pawn-lang/compiler/releases/ --all the files you need are in there. Also try running pawncc through terminal. |