Kudaraidee / yiimp

Crypto mining pool
61 stars 116 forks source link

can`t compile stratum after add ocv2 algo #50

Closed papagruz closed 2 years ago

papagruz commented 2 years ago

Thenks you for add ocv2 algo, but after add cant compile stratum, have errorr when make -C algos: No package 'opencv' found Package opencv was not found in the pkg-config search path. Perhaps you should add the directory containing `opencv.pc' to the PKG_CONFIG_PATH environment variable No package 'opencv' found ocv2.cpp:3:10: fatal error: opencv2/opencv.hpp: No such file or directory

include <opencv2/opencv.hpp>

      ^~~~~~~~~~~~~~~~~~~~

compilation terminated. makefile:43: recipe for target 'ocv2.o' failed make: [ocv2.o] Error 1 make: Waiting for unfinished jobs.... make: Leaving directory '/home/papagruz/yiimp/stratum/algos'

xiaolin1579 commented 2 years ago

Hmm, maybe there's a problem compiling ocv2_algo.

xiaolin1579 commented 2 years ago

https://github.com/furcalor/ocv2_algo/tree/master/How-Do-We-Add-OCV2-To-The-Stratum#readme

papagruz commented 2 years ago

Thanks, try add

papagruz commented 2 years ago

Recompile ocv2_algo from source and error fix. Thank you

xiaolin1579 commented 2 years ago

I moved the ocv2 to a new branch and deleted it from the dev. https://github.com/Kudaraidee/yiimp/tree/ocv2