Raised This Month: $49 Target: $400
 12% 

Compiling plugins on MacOS


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
_pHabb
Senior Member
Join Date: Jul 2013
Location: GetCountry(pHabb);
Old 05-15-2019 , 07:17   Compiling plugins on MacOS
Reply With Quote #1

Cannot compile plugins on MacOS (v. 10.14, Mojave)

When try to run this command:
Code:
./compile.sh someplugin.sp
I get error:
Code:
Compiling someplugin.sp...
./compile.sh: line 11: ./spcomp: cannot execute binary file
How to solve this problem?
_pHabb is offline
CliptonHeist
Senior Member
Join Date: Feb 2016
Old 05-15-2019 , 08:45   Re: Compiling plugins on MacOS
Reply With Quote #2

https://forums.alliedmods.net/showthread.php?t=99609
CliptonHeist is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 05-15-2019 , 16:13   Re: Compiling plugins on MacOS
Reply With Quote #3

Make sure you download a macOS snapshot of SourceMod (it looks like you have a Linux one), then run `./spcomp` directly, you'll probably need to add `-iinclude` to the command line.
__________________
asherkin is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:01.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode