It shows "dyld`__abort_with_payload" instead of shape when I build


When I write ofDrawLine code and try to build, it shows “dyld`__abort_with_payload”.
I thought it supposed to be showed line, but it only shows some information I don’t understand.

I’m glad if anyone help me how to figure this out.

Are you on Big Sur / 10.11?

If so see the solution here:

Also if you show the console window in Xcode you might see more info about the error

Thank you.
I’m on Big Sur 11.1 Beta.

I replaced fmodex dylib and changed Run script too.
But I still got new errors.

clang: error: no such file or directory: ‘…/…/…/libs/cairo/lib/osx/cairo.a’
clang: error: no such file or directory: ‘…/…/…/libs/FreeImage/lib/osx/freeimage.a’

Did I miss something?

That looks like you might have moved your project/app folder out of the normal hierarchy.
Or somehow trashed your libs folder.

Typically your project folder should live two levels down from the apps/ folder eg: OF_FOLDER/apps/myApps/myExampleApp/

Your libs folder should look something like this:

1 Like

Thank you so much