andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 652 forks source link

ld: library not found for -lstdc++ #413

Open Nv7-GitHub opened 3 years ago

Nv7-GitHub commented 3 years ago

When I try to compile, I get the error

/usr/local/Cellar/go/1.16.3/libexec/pkg/tool/darwin_amd64/link: running clang++ failed: exit status 1
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It seems like https://github.com/andlabs/ui/issues/306 is similar, although the error message is slightly different. How do I fix this?

cosmotek commented 3 years ago

I just experienced the same issue.

BigCatGit commented 1 year ago

me too,
If it is used with OpenCV at the same time, lib cannot be loaded