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
For those who is trying to compile under Windows using MinGW (I have Windows 10 64bit):
make compile.bat file in trainHOG folder and put next: @echo off
set opencv_incdir=C:/OpenCV/OpenCV32/build/include
set svmlight_srcdir=C:/Projects/tests/svm_light
pkg-config opencv --cflags --libs >tmp.txt
set /p pkg-info= <tmp.txt
del tmp.txt
rem echo %pkg-info%
g++ main.cpp -c -g -MMD -MP -I %opencv_incdir% -I %svmlight_srcdir%
gcc %svmlight_srcdir%/svm_learn.c -c -g
gcc %svmlight_srcdir%/svm_hideo.c -c -g
gcc %svmlight_srcdir%/svm_common.c -c -g
g++ -o trainhog.exe main.o svm_learn.o svm_hideo.o svm_common.o -Wall %pkg-info%
Change opencv_incdir, svmlight_srcdir to your correct pathes
The text was updated successfully, but these errors were encountered:
For those who is trying to compile under Windows using MinGW (I have Windows 10 64bit):
make compile.bat file in trainHOG folder and put next:
@echo off
set opencv_incdir=C:/OpenCV/OpenCV32/build/include
set svmlight_srcdir=C:/Projects/tests/svm_light
pkg-config opencv --cflags --libs >tmp.txt
set /p pkg-info= <tmp.txt
del tmp.txt
rem echo %pkg-info%
g++ main.cpp -c -g -MMD -MP -I %opencv_incdir% -I %svmlight_srcdir%
gcc %svmlight_srcdir%/svm_learn.c -c -g
gcc %svmlight_srcdir%/svm_hideo.c -c -g
gcc %svmlight_srcdir%/svm_common.c -c -g
g++ -o trainhog.exe main.o svm_learn.o svm_hideo.o svm_common.o -Wall %pkg-info%
Change opencv_incdir, svmlight_srcdir to your correct pathes
The text was updated successfully, but these errors were encountered: