Build openFrameworks on BigSur

0𝕏koji
Nov 14, 2020

I have used BigSur for a couple of months and so far so good. There is one thing that I regret. It is that I cannot build openFrameworks on BigSur 😭

Then I have followed the one issue on GitHub.

Amazingly, this issue was solved by @ofTheo.

In the issue, he said he would work on a PR for this for the patch-release branch / 0.11.1.

However, some of you like me can’t wait 😝

The solution is very easy.

Step1. Replace your libfmodex.dylib with the latest one

If you use of 0.11.0, the file path is of_v0.11.0_osx/libs/fmodex/lib/osx/libfmodex.dylib

Step2. Modify Run script

Open your openFrameworks project and click your project root>Build Phase>Run Script(the second one)

Then change line 6

install_name_tool -change @rpath/libfmod.dylib @executable_path/../Frameworks/libfmodex.dylib "$TARGET_BUILD_DIR/$PRODUCT_NAME.app/Contents/MacOS/$PRODUCT_NAME";

Now you are good to go!!!

--

--

0𝕏koji

software engineer works for a Biotechnology Research startup in Brooklyn. #CreativeCoding #Art #IoT #MachineLearning #python #typescript #javascript #reactjs