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
You can check https://github.com/gen2brain/cam2ip/blob/master/make.bash#L21 .
It is for cross compile for Windows in Linux, but it is example how to point to your directories with CGO_LDFLAGS/CFLAGS . Check where your installed libraries/includes are located and and that to env.
You don't need libjpeg/libjpeg-turbo, you can use -tags jpeg for native image/jpeg, but performance is worse with that.
I added support for native capture on Windows, via VFW and without Cgo. Now you can just add -tags jpeg to your go get/build command to get fully native binary, and without the need for OpenCV, it is now optional.
i had followed all the steps mentioned for Source Code Compile
i had installed following things
go1.11.windows-amd64.msi
GOPATH: %USERPROFILE%\go
libjpeg-turbo-2.0.0-gcc.exe
PATH: C:\libjpeg-turbo-gcc\bin
mingw-w64-install.exe
PATH: C:\Program Files\mingw-w64\x86_64-7.1.0-posix-seh-rt_v5-rev2\mingw64\bin
opencv-2.4.13.6-vc14.exe
PATH: C:\Program Files\mingw-w64\x86_64-7.1.0-posix-seh-rt_v5-rev2\mingw64\opencv\build\x64\vc14\bin
and while trying to compile im getting the error below attached let me know how can i compile successfully
![capture](https://user-images.githubusercontent.com/17878921/45079286-c0149400-b10f-11e8-8f0b-63e93aaaffcf.PNG)
The text was updated successfully, but these errors were encountered: