openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.98k stars 2.55k forks source link

ofxSvg in macOS - libs not found #8077

Closed dimitre closed 3 months ago

dimitre commented 3 months ago

it works if we add this two lines in addon_config.mk

osx:
    ADDON_LIBS = libs/svgtiny/lib/macos/svgtiny.xcframework/macos-arm64_x86_64/libsvgtiny.a
    ADDON_LIBS += libs/libxml2/lib/macos/libxml2.xcframework/macos-arm64_x86_64/libxml2.a

if it is correct I can make a PR. I'm confused with macos vs. osx folder usage @danoli3

danoli3 commented 3 months ago

removing osx: should yield the addon to link to the xcframework making this unnecessary.

The problem manifesting really just need to remove the osx: and fix the pG