Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Release 16.01 for Mac

<< < (2/7) > >>

MortenMacFly:

--- Quote from: dkulp on January 30, 2016, 01:20:32 pm ---so that's next to try and figure out. Most of the plugins work fine, just a few have this issue.

--- End quote ---
Darn... I never understood why its so damn hard for an App package to get it right in the first place.

And the dylib issue: In the C::B project, we use the "auto-postfix" feature, this work nice, usually.

I'm afraid I can't help much here. I used to install XCode, then GCC and then build it using GCC before I abandoned Mac. I've never used clang on the Mac, but I am aware that this should be the default now.

Whatever you get - please keep in mind what you changed so we can feed it into the repo. If unsure, you could also dump an archive of the while C::B sources / binaries after it built correctly.

Oh - and are you using wx30 then? Make sure you do the wxSmith stuff correctly in that case. Because not all is wx30 compatible. Some libs are in the wx source tree now and don't need to be compiled for the C::B wx30 version. Thats also why I said use C::B to compile C::B becasue the wx30 project files are correct.

Easior Lars:

--- Quote from: dkulp on January 30, 2016, 01:20:32 pm ---I've had very little luck getting it to build from within CB.   Lots of flags need changing since I'm using clang and not gcc.   I just discovered the field that you edit compiler flags in CB is changing all the -- to a single long hyphen which then breaks everything so I have to edit everything in the raw XML.

The mac_pack is only semi-usable.   I'm not using a monolithic wxwidgets so those parts are problematic.  Also, when building from the command line, all the plugins get a .so extension, not .dylib.   Apparently building from CB makes .dylibs which is interesting.  In anycase, I have a similar mac_pack script that I'm using to try and assemble it.

--- End quote ---
A few months ago, I have done some work about CB compiled by clang and got a cbp or workspaces file to bootstrap C::B. Some modifications of mac_pack were also done. If it was useful to you, I can sent it to you by email. But your patches of C::B  on Mac OS are more interesting for me.

oBFusCATed:
Why don't just directly post the changes as a patch in this topic?

Easior Lars:

--- Quote from: oBFusCATed on January 31, 2016, 02:10:51 am ---Why don't just directly post the changes as a patch in this topic?

--- End quote ---
Ok. I'm afraid that my patch is not full of testing. Please use it in your own risk. Some dependencies on GTK+ should be removed.

MortenMacFly:

--- Quote from: Easior Lars on January 31, 2016, 03:21:47 am ---Ok. I'm afraid that my patch is not full of testing. Please use it in your own risk. Some dependencies on GTK+ should be removed.

--- End quote ---
Good starting point do far... 3 questions:
* Did you try to do a re-build with these project files under Mac? does it work?
* Do you have a workspace file that covers all project files?
* Why did you change update30 script, esp. removing the optional tools? This should actually work...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version