This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Open
Conversation
Still getting same error "failed to create host: Image xcode:10.14.4 is not supported", trying with the oldest supported version
Correct EMSDK path
Contributor
Author
|
@maxbrunsfeld any input on the errors? |
Contributor
|
This is a hard one to fix. I found the documentation for this. https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html#using-val-to-transliterate-javascript-to-c I am trying to read this to see if something has changed. superstring/src/bindings/em/patch.cc Line 86 in 1198557 I can reproduce this error with emsdk 2.0.8 Here is the reproduction: Build (in bash): #!/usr/bin/env bash
mkdir -p build
## Compile pcre
emcc \
-O3 \
-I vendor/pcre/10.23/src \
-I vendor/pcre/include \
-D HAVE_CONFIG_H \
-D PCRE2_CODE_UNIT_WIDTH=16 \
-c \
vendor/pcre/pcre2_chartables.c \
vendor/pcre/10.23/src/pcre2_auto_possess.c \
vendor/pcre/10.23/src/pcre2_compile.c \
vendor/pcre/10.23/src/pcre2_config.c \
vendor/pcre/10.23/src/pcre2_context.c \
vendor/pcre/10.23/src/pcre2_dfa_match.c \
vendor/pcre/10.23/src/pcre2_error.c \
vendor/pcre/10.23/src/pcre2_find_bracket.c \
vendor/pcre/10.23/src/pcre2_jit_compile.c \
vendor/pcre/10.23/src/pcre2_maketables.c \
vendor/pcre/10.23/src/pcre2_match.c \
vendor/pcre/10.23/src/pcre2_match_data.c \
vendor/pcre/10.23/src/pcre2_newline.c \
vendor/pcre/10.23/src/pcre2_ord2utf.c \
vendor/pcre/10.23/src/pcre2_pattern_info.c \
vendor/pcre/10.23/src/pcre2_serialize.c \
vendor/pcre/10.23/src/pcre2_string_utils.c \
vendor/pcre/10.23/src/pcre2_study.c \
vendor/pcre/10.23/src/pcre2_substitute.c \
vendor/pcre/10.23/src/pcre2_substring.c \
vendor/pcre/10.23/src/pcre2_tables.c \
vendor/pcre/10.23/src/pcre2_ucd.c \
vendor/pcre/10.23/src/pcre2_valid_utf.c \
vendor/pcre/10.23/src/pcre2_xclass.c
mv *.o build/
emar \
rcs build/pcre.a \
build/*.o
rm build/*.o
### Compile superstring
em++ \
--bind \
-o browser.js \
-O3 \
-I src/bindings/em \
-I src/core \
-I vendor/libcxx \
-I vendor/pcre/include \
-D PCRE2_CODE_UNIT_WIDTH=16 \
-xc++ \
--pre-js src/bindings/em/prologue.js \
--post-js src/bindings/em/epilogue.js \
src/core/*.cc \
src/bindings/em/*.cc \
build/pcre.a \
-s TOTAL_MEMORY=134217728 \
--memory-init-file 0 \
"$@"
|
This was referenced Dec 5, 2020
Draft
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
emsdk)emsdlocation in circleci jobemsdklocation inscript/build-browser-version.sh...emscripten/bind.h:1391:13: error: implicit instantiation of undefined template 'emscripten::internal::RegisterClassConstructor<emscripten::val>'error: no member named 'invoke' in 'emscripten::class_<Patch, emscripten::internal::NoBaseClass>'