You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: (single threaded flag, it is just not part of README, maybe it can be added there somehow then this open task closed)
this succeeds:
export CXXFLAGS="-pthread -s USE_PTHREADS=1 -s DISABLE_EXCEPTION_CATCHING=0"
export LDFLAGS="-pthread -s USE_PTHREADS=1"
emconfigure python scripts/mk_make.py --staticlib --single-threaded
cd build
emmake make -j$(nproc)
assembled static library
cmake -DZ3_BUILD_LIBZ3_SHARED=false -G "Unix Makefiles" ../
make
then in api/js
npm i
npm run build:ts
npm run build:wasm
Errors: (shown few lines for brevity).
also tried both master and z3-4.11.2
emcc: warning: ../../../build/libz3.a: archive is missing an index; Use emar when creating libraries to ensure an index is created [-Wemcc]
emcc: warning: ../../../build/libz3.a: adding index [-Wemcc]
error: undefined symbol: Z3_algebraic_eval (referenced by top-level compiled C/C++ code)
warning: Link with -sLLD_REPORT_UNDEFINED to get more information on undefined symbols
warning: To disable errors for undefined symbols use -sERROR_ON_UNDEFINED_SYMBOLS=0
warning: _Z3_algebraic_eval may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_algebraic_roots (referenced by top-level compiled C/C++ code)
warning: _Z3_algebraic_roots may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_eval_smtlib2_string (referenced by top-level compiled C/C++ code)
warning: _Z3_eval_smtlib2_string may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_fixedpoint_query (referenced by top-level compiled C/C++ code)
warning: _Z3_fixedpoint_query may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_fixedpoint_query_from_lvl (referenced by top-level compiled C/C++ code)
warning: _Z3_fixedpoint_query_from_lvl may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
The text was updated successfully, but these errors were encountered:
Note: (single threaded flag, it is just not part of README, maybe it can be added there somehow then this open task closed)
this succeeds:
export CXXFLAGS="-pthread -s USE_PTHREADS=1 -s DISABLE_EXCEPTION_CATCHING=0"
export LDFLAGS="-pthread -s USE_PTHREADS=1"
emconfigure python scripts/mk_make.py --staticlib --single-threaded
cd build
emmake make -j$(nproc)
assembled static library
cmake -DZ3_BUILD_LIBZ3_SHARED=false -G "Unix Makefiles" ../
make
then in api/js
npm i
npm run build:ts
npm run build:wasm
Errors: (shown few lines for brevity).
also tried both master and z3-4.11.2
emcc: warning: ../../../build/libz3.a: archive is missing an index; Use emar when creating libraries to ensure an index is created [-Wemcc]
emcc: warning: ../../../build/libz3.a: adding index [-Wemcc]
error: undefined symbol: Z3_algebraic_eval (referenced by top-level compiled C/C++ code)
warning: Link with
-sLLD_REPORT_UNDEFINED
to get more information on undefined symbolswarning: To disable errors for undefined symbols use
-sERROR_ON_UNDEFINED_SYMBOLS=0
warning: _Z3_algebraic_eval may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_algebraic_roots (referenced by top-level compiled C/C++ code)
warning: _Z3_algebraic_roots may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_eval_smtlib2_string (referenced by top-level compiled C/C++ code)
warning: _Z3_eval_smtlib2_string may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_fixedpoint_query (referenced by top-level compiled C/C++ code)
warning: _Z3_fixedpoint_query may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: Z3_fixedpoint_query_from_lvl (referenced by top-level compiled C/C++ code)
warning: _Z3_fixedpoint_query_from_lvl may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
The text was updated successfully, but these errors were encountered: