Minimal macOS version

Pierrou

Active Member
Joined
Jul 6, 2017
Hi
A colleague of mine lent me her mid 2011 MacBook Pro. I updated it up to High Sierra but that's the last supported version on that hardware.
I installed Xcode 10.1 and tried to compile some random example and got this message :

TRANS cerberus compiler V2020-05-09
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Applications/Cerberus/bin/transcc_macos (which was built for Mac OS X 10.15)
Expected in: /usr/lib/libSystem.B.dylib

(and no target is available)
...

Can I use Cerberus on this Mac and if I can what am I supposed to do to compile anything?
Sorry to ask this and thanks!!
 
Last edited:

dawlane

Well-Known Member
CX Code Contributor
Joined
Jun 21, 2017
I'm suck using OS X 10.11 (EL Capitan).

Looks like you will have to rebuild transcc and tools and set the minimum OSX deployment to 10.9.
Open the rebuildall_macos.sh file and change the line.
Bash:
clang++ -O3 -DNDEBUG -o ../bin/transcc_macos transcc/transcc.build/cpptool/main.cpp -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses
to
Bash:
clang++ -O3 -DNDEBUG -o ../bin/transcc_macos transcc/transcc.build/cpptool/main.cpp -Wno-bitwise-op-parentheses -Wno-logical-op-parentheses -mmacosx-version-min=10.9 -std=gnu++0x -stdlib=libc++
And then run the script to build the tools. Ignore anything related to Ted as you would have to download and install the Qt SDK to build it and later releases of the SDK require newer version of Mac OS X.
 

Pierrou

Active Member
Joined
Jul 6, 2017
Wow thanks what would we do without you all on the forum? I'll try this tonight!
I hope potential users don't give up trying to use CerberusX when having that kind of trouble, because there is always a solution somewhere but usually not in the docs...
 
Last edited:

Phil7

Administrator
CX Code Contributor
3rd Party Tool Dev
Joined
Jun 26, 2017
You are right. I would have been stuck at several occasions without him.
@dawlane Would it be ok if I integrated some of your posts from the forums into the documentation?
If yes, would it be enough to mention your name in the general contribution section of the docs or are you expecting your name to be writen next to each article?
 

Pierrou

Active Member
Joined
Jul 6, 2017
Hi it's working indeed. Compiled a few examples for Desktop and trying iOs right now (it takes ages) - working too.
Thanks a lot!
I followed the steps in the text document found in the src/ folder to rebuild (I had never done that before). I understood a bit late what you meant by "ignore anything related to Ted" but it didn't hurt to install Qt anyway.
As usual, thanks to the great people spending some of their spare time to help here I got everything working and I can go on, I hope CX beginners are not too shy to ask too because most of the time the answer is far from obvious...
 
Top Bottom