0

warning: include path for stdlibc++ headers not found; pass '-std=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found] In file included from calib3d.cpp:1: In file included from ../../../../../gocv.io/x/gocv/calib3d.h:5: In file included from /usr/local/Cellar/opencv/4.0.0/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/local/Cellar/opencv/4.0.0/include/opencv4/opencv2/core.hpp:52: In file included from /usr/local/Cellar/opencv/4.0.0/include/opencv4/opencv2/core/cvdef.h:165: /usr/local/Cellar/opencv/4.0.0/include/opencv4/opencv2/core/hal/interface.h:15:10: fatal error: 'cstddef' file not found

CinCout
  • 9,486
  • 12
  • 49
  • 67
Yue.Piao
  • 11
  • 5
  • The error message is pretty clear. OS X doesn't ship with libstdc++ anymore. The project needs to pass `-stdlib=libc++` to get the system libraries. – EricWF Dec 14 '18 at 07:34
  • I know what that means all the time, i had solved this by add libstdc++ into build path,i want to know how to change stdlib frome libstdc to libc++ in gomobile command – Yue.Piao Dec 17 '18 at 03:09
  • @Yue.Piao any updates on this? I have the same issue... – LKKP4ThX Jan 07 '19 at 15:54

0 Answers0