Build openFrameworks on BigSur

Subscribe to my newsletter and never miss my upcoming articles

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.

[## Big Sur / OSX 11.0 linking problem · Issue #6599 · openframeworks/openFrameworks

Dismiss GitHub is home to over 50 million developers working together to host and review code, manage projects, and…](

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

Image for post

Then change line 6

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

Now you are good to go!!!

[## Building in macOS 11.0 Big Sur

Has anyone found a solution to the Apple Mach-O Linker Error in macOS 11 Big Sur? I do realize the OS was released…


Share this
Proudly part of