Cannot compile Halide on windows [closed]

asked 2017-10-31 16:43:55 -0600

tham gravatar image

updated 2017-10-31 23:29:59 -0600

berak gravatar image

OS : win10 64bits

compiler : vc2015

opencv : clone from github on 27/10/2017

I follow the instruction on this page, able to compile llvm and Halide without any issue, but when I compile opencv with halide, it always give me following error messages

C:\Users\yyyy\Qt\3rdLibs\opencv\dev\opencv\modules\dnn\src\op_halide.cpp(108): error C3861: 'get_default_devic e_interface_for_target': identifier not found [C:\Users\yyyy\Qt\3rdLibs\opencv\dev\vc2015_64\modules\dnn\opencv_ dnn.vcxproj]

I do everything as the page mentioned, enable c++11, set WITH_HALIDE and HALIDE_ROOT_DIR as my Halide build directory.

Any idea how to solve this issue?Thanks

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-11-21 03:45:18.579994

Comments

1

that's probably a bug, the function does no more exist in the current halide interface (and i guess, opencv's bindings are based on an outdated version)

unless this gets fixed, assuming, you got halide via git, you could try to checkout an older revision, which still has it

anyway, imho you should report it on opencv's bug tracker.

berak gravatar imageberak ( 2017-11-01 02:50:23 -0600 )edit