Comments (3)
Yep, it's a compatibility issue with Xcode 15's new linker. As a workaround for now, just downgrade to Xcode 14 until the next Go version is released (download here).
from gocv.
Maybe this issue could be related to golang/go#61229 ?
from gocv.
I upgraded to latest Go 1.21.3
This is newest error I have:
user@megatron:engine/src on dev ➜ GOARCH=arm64 go run main.go
# gocv.io/x/gocv
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/calib3d_string.go:3:9: undefined: CalibFlag
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/calib3d_string.go:29:9: undefined: CalibCBFlag
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:3:9: undefined: MatType
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:57:9: undefined: CompareType
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:75:9: undefined: CovarFlags
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:93:9: undefined: DftFlags
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:113:9: undefined: RotateFlag
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:125:9: undefined: KMeansFlags
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:137:9: undefined: NormType
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:159:9: undefined: TermCriteriaType
/Users/user/go/pkg/mod/gocv.io/x/gocv@v0.34.0/core_string.go:159:9: too many errors
OpenCV is compiled for Darwin arm64.
I have error as well if I compile OpenCV for x86_64 (amd64) and try to run go run for x86_64:
dyld[9870]: Library not loaded: @rpath/libopencv_gapi.408.dylib
Referenced from: <C0DB9902-8279-3B64-BCD9-1CC9C1D16D7B> /private/var/folders/f6/6yqslb513nl_14hvm9njg1y80000gp/T/go-build1623771139/b001/exe/main
Reason: no LC_RPATH's found
signal: abort trap
from gocv.
Related Issues (20)
- Unable to compile to MIPS platform
- How to load an extremely large image?
- gocv.FindContours return PointVector instead of []PointVector HOT 1
- xfeatures2d BriefDescriptorExtractor not implemented HOT 4
- Missing check for "OPENCV_ENABLE_NONFREE" in "TestSIFT()"
- Facemark API
- Support for imreadmulti?
- When I use win_build_opencv.cmd,I encountered some problems HOT 4
- deploying applications HOT 1
- Existing OpenCV-Installation
- M1 weird error reporting.
- The compiler was successful with pkg-config, but failed with -tags customenv
- Missing of some flags for calibration
- cannot range over contours (variable of type gocv.PointsVector) HOT 1
- This issue occurred when I was cross compiling HOT 3
- opencv4.8.1 has been compiled and installed, but an error occurred when running gocv HOT 3
- How to parse blob?
- Memory leak in ORB detector
- triangulatePoints
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocv.