deep-rts
deep-rts copied to clipboard
which opencv version to use?
I am currently using opencv version 4.5.4 to compile this project. It turns out giving me these errors:
ndarray_converter.obj : error LNK2001: unresolved external symbol "public: void __cdecl cv::Mat::copyTo(class cv::debug_build_guard::_OutputArray const &)const " (?copyTo@Mat@cv@@QEBAXAEBV_OutputArray@debug_build_guard@2@@Z) [C:\Users\alexa\AppData\Local\Temp\pip-req-build-z8212hxv\build\temp.win-amd64-3.10\Release\Engine.vcxproj]
Blend2DGUI.obj : error LNK2001: unresolved external symbol "public: class cv::Mat & __cdecl cv::Mat::setTo(class cv::debug_build_guard::_InputArray const &,class cv::debug_build_guard::_InputArray const &)" (?setTo@Mat@cv@@QEAAAEAV12@AEBV_InputArray@debug_build_guard@2@0@Z) [C:\Users\alexa\AppData\Local\Temp\pip-req-build-z8212hxv\build\temp.win-amd64-3.10\Release\Engine.vcxproj]
Blend2DGUI.obj : error LNK2001: unresolved external symbol "bool __cdecl cv::imencode(class std::basic_string<char,struct std::char_traits
What to do to solve these issues? Thanks!!
Hi there! I've have just kept to the latest one, but I can see that I've commented out the OpenCV installation through pmm so the linking might bug out on Windows. If you remove the comment on OpenCV in CMakeLists.txt#L88 that might solve this issue.
If this does not help, I suppose the linking is not working properly on windows..
It should also be noted that I have not gotten the time to ensure that this compiles on Windows as I currently only have Linux environments, but I hope to be able to do a roundup on adding Windows (and IOS) support later next year (sorry!).
I already remove the comment on OpenCV in CMakeLists.txt#L88, but still cannot solve this issue. I am compiling on windows 10.
Anymore advice, thanks!!