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
finally ,i found that just add the code " -lopencv_objdetect242" in line 11 of the file cxcore.go ,then this problem will be saved.And the samples could be run.
Does you really forgot to add these codes?
tstrg
added a commit
to tstrg/go-opencv
that referenced
this issue
Apr 2, 2017
edit github.com\lazywei\go-opencv\opencv\cxcore.go in according to go-opencv#98
and add -lopencv_objdetect2411.dll to the dll libraries
and adjust libraries version
adjust all references stated at github.com\lazywei\go-opencv\opencv\ to the correct version of the dlls builded in step 2
example:
change -lopencv_objdetect242 to -lopencv_objdetect2411.dll
I have done as you said in windows
install OpenCV-2.4.x to MinGW dir
libopencv*.dll --> ${MinGWRoot}\bin
libopencv*.lib --> ${MinGWRoot}\lib
include\opencv --> ${MinGWRoot}\include\opencv
include\opencv2 --> ${MinGWRoot}\include\opencv2
but there is some error in my press
how to run this sample demo in windows.
The text was updated successfully, but these errors were encountered: