Skip to content

issue while building library with emscripten #24

@gawadeavinash

Description

@gawadeavinash

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions