libde265.js icon indicating copy to clipboard operation
libde265.js copied to clipboard

issue while building library with emscripten

Open gawadeavinash opened this issue 5 years ago • 3 comments

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 *' with an rvalue of type 'long' : _value(_VSTD::forward<_Up>(__u)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~

emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2251:9: error: no matching constructor for initialization of '__compressed_pair_elem<std::__2::basic_string *, 0>' : _Base1(std::forward<_U1>(__t1)), _Base2(std::forward<_U2>(__t2)) {} ^ ~~~~~~~~~~~~~~~~~~~~~~~

emsdk-master/fastcomp/emscripten/system/include/libcxx/memory:2241:9: error: no matching constructor for initialization of '__compressed_pair_elem<std::__2::basic_string *, 0>' : _Base1(std::forward<_Tp>(__t)), _Base2() {} ^ ~~~~~~~~~~~~~~~~~~~~~~

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

gawadeavinash avatar Mar 24 '20 13:03 gawadeavinash

I am facing the same the error. Help needed.

bunnyc1986 avatar Nov 01 '21 19:11 bunnyc1986

me too

EssLi avatar Jan 03 '23 01:01 EssLi

try to upgrade the libde265 version from 1.0.2 to 1.0.15, and it can resolve

cochiachang avatar Mar 13 '24 08:03 cochiachang