You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling on MacOS with heif support I received the following error: invalid flag in pkg-config --cflags: -I@CMAKE_INSTALL_PREFIX@/include
I was able to work around this by prepending the final line in build.sh with: CGO_CFLAGS_ALLOW='-I@CMAKE_INSTALL_PREFIX@/include' go build -tags ...
I'm not sure if this is a proper solution to this error, but wanted to post here in case someone else runs across the issue. I came up with this after reading here.
The text was updated successfully, but these errors were encountered:
When compiling on MacOS with heif support I received the following error:
invalid flag in pkg-config --cflags: -I@CMAKE_INSTALL_PREFIX@/include
I was able to work around this by prepending the final line in build.sh with:
CGO_CFLAGS_ALLOW='-I@CMAKE_INSTALL_PREFIX@/include' go build -tags ...
I'm not sure if this is a proper solution to this error, but wanted to post here in case someone else runs across the issue. I came up with this after reading here.
The text was updated successfully, but these errors were encountered: