Page 1 of 1

Posted: 19 Feb 2016, 10:47
by sm_jamieson
I am writing a user module that has some functionality that I can only program for PC.

I know little about MAC, OSX, etc. Unless anyone else can help with an approach for MAC, this functionality will only be available on the PC. What pre-processor directives (ifdef, etc) should I put around this code so it would be excluded in a MAC compilation ?

I am using Visual Studio - I guess the MAC compilation would be an X code project ?

Posted: 19 Feb 2016, 13:30
by ceasless
sm_jamieson,

I used to try to stay on top of compiling OS X versions of user plugs. It's a big effort though, and sadly I fell behind.

There are a few options for automatic compilation on various platforms. Maybe one of those could offer a more robust solution.

Either way, you could add your code to https://github.com/ab5tract/hollyhock-grove via a pull request (sorry, can't give all the details for using git/Github, but they have a nice GUI client to get you going, and google has tons of information on the subject).

Then I can at least compile the version you decide to release.

Posted: 23 Feb 2016, 01:31
by oli_lab
@ceasless : I'm getting crazy with this github !
can I send you my new sources via we transfer before the definitive nervous breakdown ?:P

I try to cross compile for mac OSX but it is to geeky for me and now I have no more time as I have to concentrate on my new musical set !

can you help ?

many thanks.

Olivar

Posted: 23 Feb 2016, 21:59
by ceasless
oli_lab, no worries you can transfer to me however you want!

Posted: 29 Feb 2016, 21:30
by oli_lab
do you reckon the MAC version of visual studio will work "out of the box", I may try to borrow a MAC from a friend...