Build openFrameworks on BigSur

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)

Image for post

Then change line 6

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

Now you are good to go!!!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store