即使在CGO-CXXFLAGS(CXXFLAGS)下也找不到头盔。
原文:Using Go on Windows 11 with gocv for OpenCV cannot find header opencv.hpp even with CGO_CXXFLAGS set
原文:Using Go on Windows 11 with gocv for OpenCV cannot find header opencv.hpp even with CGO_CXXFLAGS set
When running go run, not found. But when listing dir, the header is right there... PS C:UsersphiliSourceCodegoopencv> set CGO_CPPFLAGS="-IC:/Users/phili/SourceCode/opencv/build/include&...