Welcome to %s forums

BrainModular Users Forum

Login Register

compiling for MAC

Create your own modules in C++
Post Reply
sm_jamieson
Member
Posts: 551
Contact:

Unread post by sm_jamieson » 19 Feb 2016, 10:47

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 ?

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 19 Feb 2016, 13:30

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.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 23 Feb 2016, 01:31

@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
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

ceasless
Member
Posts: 330
Contact:

Unread post by ceasless » 23 Feb 2016, 21:59

oli_lab, no worries you can transfer to me however you want!

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 29 Feb 2016, 21:30

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...
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests