Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win10下gocv+andlabs/ui同时使用出现以下错误 #425

Open
BigCatGit opened this issue Jul 5, 2022 · 0 comments
Open

Win10下gocv+andlabs/ui同时使用出现以下错误 #425

BigCatGit opened this issue Jul 5, 2022 · 0 comments

Comments

@BigCatGit
Copy link

BigCatGit commented Jul 5, 2022

Win10下gocv+andlabs/ui同时使用出现以下错误, 分别单独使用时正常, 有没有大佬碰到过

Build Error: go build -o c:\Users\Administrator\Desktop\test2\__debug_bin.exe -gcflags all=-N -l .\main.go
# command-line-arguments
D:\Dev\Go\pkg\tool\windows_amd64\link.exe: running g++ failed: exit status 1
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../lib\libgdi32.a(libgdi32s00803.o):(.text+0x0): multiple definition of `Rectangle'; C:\Users\Administrator\AppData\Local\Temp\go-link-4038213707\000061.o:C:\Users\Administrator\go\pkg\mod\gocv.io\x\[email protected]/imgproc.cpp:404: first defined here
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_core460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_face460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_videoio460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_imgproc460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_highgui460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_imgcodecs460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_objdetect460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_features2d460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_video460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_dnn460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_xfeatures2d460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_plot460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_tracking460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_img_hash460: No such file or directory
D:/Dev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_calib3d460: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant