issue while building library with emscripten
Following errors occurred during compilation of library with emscripten,
emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2148:9: error: cannot initialize a member subobject of type 'int *' with an rvalue of type 'long' : _value(_VSTD::forward<_Up>(__u)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~
emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2148:9: error: cannot initialize a member subobject of type 'option_base **' with an rvalue of type 'long' : _value(_VSTD::forward<_Up>(__u)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~
emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2148:9: error:
cannot initialize a member subobject of type 'std::__2::basic_string
emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2251:9: error:
no matching constructor for initialization of
'__compressed_pair_elem<std::__2::basic_string
emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2241:9: error:
no matching constructor for initialization of
'__compressed_pair_elem<std::__2::basic_string
emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2251:9: error: no matching constructor for initialization of '__compressed_pair_elem<option_base **, 0>' : _Base1(std::forward<_U1>(__t1)), _Base2(std::forward<_U2>(__t2)) {} ^ ~~~~~~~~~~~~~~~~~~~~~~~
attached the complete logs of build.sh libde265_build_logs.txt
Please check the attached log file for the above mentioned errors.
Thanks in advance
I am facing the same the error. Help needed.
me too
try to upgrade the libde265 version from 1.0.2 to 1.0.15, and it can resolve