Kinetic Source installation on Ubuntu 17.04, Error while building catkin package [closed]
Hey, I'm installing ROS Kinetic from source on Ubuntu 17.04 ( have specific reasons for it). while building catkin through this command:./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release
I'm getting the following error :
[ 22%] Generating precomp.hpp.gch/opencv_fuzzy_Release.gch
In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
from /usr/include/c++/6/bits/basic_string.h:5417,
from /usr/include/c++/6/string:52,
from /usr/include/c++/6/stdexcept:39,
from /usr/include/c++/6/array:39,
from /usr/include/c++/6/tuple:39,
from /usr/include/c++/6/bits/stl_map.h:63,
from /usr/include/c++/6/map:61,
from /root/ros_catkin_ws/build_isolated/opencv3/install/modules/viz/precomp.hpp:49:
/usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^
compilation terminated.
modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/build.make:62: recipe for target 'modules/viz/precomp.hpp.gch/opencv_viz_Release.gch' failed
make[2]: *** [modules/viz/precomp.hpp.gch/opencv_viz_Release.gch] Error 1
CMakeFiles/Makefile2:3027: recipe for target 'modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/all' failed
make[1]: *** [modules/viz/CMakeFiles/pch_Generate_opencv_viz.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 22%] Built target pch_Generate_opencv_freetype
[ 22%] Built target pch_Generate_opencv_fuzzy
[ 22%] Built target pch_Generate_opencv_imgcodecs
Makefile:160: recipe for target 'all' failed
make: *** [all] Error
Can anyone please help me resolve this error? a workaround may be?