Saturday, November 12, 2016

opencv installation errors: math.h or stdlib.h not found

Solution
Without  gstreamer and with gcc  version 6, installation generates too many errors.  

$sudo apt-get install gstreamer1.0*
$sudo apt-get install gstreamer-plugins-base1.0.dev


install gcc and g++ version 5
and downgrade gcc  and g++ version
$sudo update-alternatives  --install /usr/bin/gcc gcc /usr/bin/gcc-5 100
$sudo update-alternatives  --install /usr/bin/g++ g++ /usr/bin/g++-5 100

No comments:

Post a Comment