I got the build error "conflicting declaration 'typedef struct sf_private_tag SNDFILE'" when trying to build this.
This issue was fixed in https://github.com/openframeworks/openFrameworks/pull/6932 which hasn't made it into the stable release.
I uploaded this change as a patch to https://gist.github.com/kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0 . You can build with this patch by running the following commands:
makepkg --nobuild
(cd src/of_v0.11.2_linux64gcc6_release && curl https://gist.githubusercontent.com/kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0/raw/28f7d0dd94237076f72b8eaf2e009831d7d61a5d/fix-libsndfile-error.patch | patch -p1)
makepkg --noextract
Pinned Comments
marcs commented on 2020-01-02 12:43 (UTC) (edited on 2020-01-02 13:08 (UTC) by marcs)
I know @damir, for some reason it's a path problem with aur-helpers, it seems that if the helper saves the package in a hidden folder then the Makefile fails.
For example yay saves this package in
$HOME/.cache/yay/openframeworks
(which is awful IMO) and start building it. If you move the package folder to a non hidden folder (like your$HOME
folder for example) then the build works.It's a bug with OpenFrameworks, hopefully will be resolved.
For now clone this package and build it with
makepkg
.