View Single Post
Author Message
iamevilbear
Member
Join Date: Mar 2010
Old 06-21-2010 , 16:12   Mac sourcepawn compiler?
Reply With Quote #1

I have always used macs for work and with the pending release of srcds and css mac I have started to shift a lot of my sourcemod plugin development to macs. Previously I linked everything together with svn <> eclipse <> sourcepawn compiler and it has worked great.

I was wondering if there was anything special needed to build the compiler for mac? I downloaded the compiler directory and ran a make on it and got the following errors:
Quote:
sc1.c:691: error: sourcemod_version.h: No such file or directory
sc1.c: In function ‘setcaption’:
sc1.c:1230: error: expected ‘)’ before ‘SM_FULL_VERSION’
sc1.c: In function ‘make_report’:
sc1.c:4908: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘cell’
sc1.c:4918: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘cell’
sc1.c:4954: warning: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘cell’
make[1]: *** [Release/sc1.o] Error 1
make: *** [all] Error 2
Is there an easy way to build a OSX compatible binary so that I can compile plugins locally in eclipse, rather than via the web compiler?

Thanks for any help

bear
iamevilbear is offline