compiling - Problematic installation (compilation) of OpenCV 3.1.0 in Ubuntu 16.10 - Ask Ubuntu


i trying install opencv 3.1.0 library , getting error after run make:

in file included /usr/include/c++/6/ext/string_conversions.h:41:0,              /usr/include/c++/6/bits/basic_string.h:5402,              /usr/include/c++/6/string:52,              /usr/include/c++/6/bits/locale_classes.h:40,              /usr/include/c++/6/bits/ios_base.h:41,              /usr/include/c++/6/ios:42,              /usr/include/c++/6/ostream:38,              /home/alex/opencv/opencv/modules/ts/include/opencv2/ts/ts_gtest.h:55,              /home/alex/opencv/opencv/modules/ts/include/opencv2/ts.hpp:28,              /home/alex/opencv/opencv/build/modules/core/perf_precomp.hpp:12: /usr/include/c++/6/cstdlib:75:25: fatal error: stdlib.h: no such file or directory #include_next <stdlib.h> 

i have tried numerous times (re)install different versions of libstdc++, thinking problems stems here , have double checked needed dependencies, no avail.

i have looked in /usr/include/c++/6/ folder , file (stdlib.h) mentioned in error there.

i should mention running (before make):

cmake -d cmake_build_type=release -d cmake_install_prefix=/usr/local -d with_tbb=on -d with_v4l=on -d with_qt=on -d with_opengl=on 

gives failed results on:

have_c_fvisibility_inlines_hidden have_c_wno_unnamed_type_template_args have_cxx_wno_unnamed_type_template_args have_c_wno_delete_non_virtual_dtor have_c_wsign_promo have_cxx_wstrict_prototypes have_cxx_wmissing_prototypes 

any suggestions on how solve this?


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User