Ubuntu 上cmake编译OpenCV,遇到一个错误:
usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: 没有那个文件或目录
自己的gcc是6.3.0
百度上的几个解决方法很是弱智,竟然说用ubuntu14来编译。
|
Try by disabling pre-compiled headers,either from cmake-gui or using the command line parameter -DENABLE_PRECOMPILED_HEADERS=OFF |
https://stackoverflow.com/questions/40262928/error-compiling-opencv-fatal-error-stdlib-h-no-such-file-or-directory