Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue while building library with emscripten #24

Open
gawadeavinash opened this issue Mar 24, 2020 · 3 comments
Open

issue while building library with emscripten #24

gawadeavinash opened this issue Mar 24, 2020 · 3 comments

Comments

@gawadeavinash
Copy link

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

@bunnyc1986
Copy link

I am facing the same the error. Help needed.

@EssLi
Copy link

EssLi commented Jan 3, 2023

me too

@cochiachang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants