我正在尝试使用opencv函数构建一个cpp文件.
去1.3说swig构建现在捆绑在go构建工具中但是我没有找到一种方法来告诉构建工具添加包含dirs和libs args和pkg-config.
go test -x cv_test.go cd /Users/pierre/Projects/go-swig clang++ -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -g -O2 -o $WORK/_/Users/pierre/Projects/go-swig/_obj/binding.cpp.o -c ./binding.cpp # _/Users/pierre/Projects/go-swig In file included from ./binding.cpp:1: ./binding.h:5:10: fatal error: 'cv.h' file not found $WORK/command-line-arguments/_test/tiler.test FAIL command-line-arguments [build failed]
有人做过成功吗?