Error compiling openCV-3.0.0 in Raspberry Pi Zero
Dear all,
This is my first post in this forum, so I hope I am doing it correctly...
I am trying to install OpenCV-3.0.0 in a Raspberry Pi Zero following the instructions from pyimageresearch.com http://www.pyimagesearch.com/2015/12/...
I have followed all the steps but the virtual environment, and when the make process is about 10% I get the following error:
from /home/pi/opencv-3.0.0/build/modules/core/precomp.hpp:49:
/usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory
#include_next <math.h>
^
compilation terminated.
Any ideas why?
I am using gcc and g++ 6.3.0
Thanks in advance. I really appreciate your help.
Marcos
Comments
- please use recent 3.3, not 3.0
- try to disable precompiled headers