gocv
gocv copied to clipboard
Build Failing - had to add flags to the build.
I was having issues building with the default command.
Description
It was failing due to a couple items.
Steps to Reproduce
go get and try running the command, it fails, but I fixed it by adding the following flags
-DBUILD_ZLIB=OFF -DWITH_OBSENSOR=OFF -DWITH_MSMF=OFF to the cmd line to build it.
Your Environment
- Operating System and version: Windows
- OpenCV version used: 4.7.0
- How did you install OpenCV? using the cmd as direction
- GoCV version used: 0.32.1
- Go version: 1.19.4
У меня были проблемы со сборкой с помощью команды по умолчанию.
Описание
Это не удалось из-за пары пунктов.
Действия по воспроизведению
иди и попробуй запустить команду, она не работает, но я исправил это, добавив следующие флаги
-DBUILD_ZLIB=OFF -DWITH_OBSENSOR=OFF -DWITH_MSMF=OFF в строку cmd для его сборки.
Ваша среда
- Операционная система и версия: Windows
- Используемая версия OpenCV: 4.7.0
- Как вы установили OpenCV? используя cmd как направление
- Используемая версия GoCV: 0.32.1
- Перейти версия: 1.19.4
You mean C:\Users\kiril\go\pkg\mod\gocv.io\x\[email protected]>win_build_opencv.cmd -DBUILD_ZLIB=OFF -DWITH_OBSENSOR=OFF -DWITH_MSMF=OFF ?
I made the change inside the cmd itself, but if passing the flags in works! Then yeah same difference.