Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarngerine/b1ff7994a35de592783fd3ac70067ebe to your computer and use it in GitHub Desktop.
Save tarngerine/b1ff7994a35de592783fd3ac70067ebe to your computer and use it in GitHub Desktop.
00:33:49 3DPrimitivesExample $ emmake make
cache:INFO: generating system asset: is_vanilla.txt... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/is_vanilla.txt" for subsequent builds)
cache:INFO: - ok
make: make
Compiling OF library for Release
Done!
Compiling 3DPrimitivesExample for Release
Linking bin/3DPrimitivesExample.html for emscripten
/Users/tarng/Code/emsdk/upstream/emscripten/em++ -o bin/3DPrimitivesExample.html -O3 -s TOTAL_MEMORY=134217728 --memory-init-file 1 obj/emscripten/Release/src/ofApp.o obj/emscripten/Release/src/main.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenSoundStream.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenVideoPlayer.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenSoundPlayer.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenVideoGrabber.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenURLFileLoader.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxAppEmscriptenWindow.o /Users/tarng/Code/OpenFrameworks/libs/openFrameworksCompiled/lib/emscripten/libopenFrameworks.bc -Wl,--as-needed -Wl,--gc-sections --preload-file bin/data@data --emrun --js-library /Users/tarng/Code/OpenFrameworks/addons/ofxEmscripten/libs/html5video/lib/emscripten/library_html5video.js --js-library /Users/tarng/Code/OpenFrameworks/addons/ofxEmscripten/libs/html5audio/lib/emscripten/library_html5audio.js --shell-file /Users/tarng/Code/OpenFrameworks/libs/openFrameworksCompiled/project/emscripten/template.html /Users/tarng/Code/OpenFrameworks/libs/FreeImage/lib/emscripten/libfreeimage.a /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_system.a /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_filesystem.a /Users/tarng/Code/OpenFrameworks/libs/freetype/lib/emscripten/libfreetype.bc /Users/tarng/Code/OpenFrameworks/libs/pugixml/lib/emscripten/libpugixml.bc /Users/tarng/Code/OpenFrameworks/libs/tess2/lib/emscripten/libtess2.a /Users/tarng/Code/OpenFrameworks/libs/uriparser/lib/emscripten/liburiparser.a
em++: warning: /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_system.a: archive is missing an index; Use emar when creating libraries to ensure an index is created [-Wemcc]
em++: warning: /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_system.a: adding index [-Wemcc]
em++: warning: /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_filesystem.a: archive is missing an index; Use emar when creating libraries to ensure an index is created [-Wemcc]
em++: warning: /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_filesystem.a: adding index [-Wemcc]
cache:INFO: generating system library: libc.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libcompiler_rt.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libcompiler_rt.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libc-wasm.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc-wasm.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libc++-noexcept.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc++-noexcept.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libc++abi-noexcept.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc++abi-noexcept.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libdlmalloc.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libdlmalloc.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libpthread_stub.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libpthread_stub.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libc_rt_wasm.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc_rt_wasm.a" for subsequent builds)
cache:INFO: - ok
cache:INFO: generating system library: libsockets.a... (this will be cached in "/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libsockets.a" for subsequent builds)
cache:INFO: - ok
wasm-ld: error: unknown argument: --as-needed
em++: error: '/Users/tarng/Code/emsdk/upstream/bin/wasm-ld -o /var/folders/zm/r5xwftc91f19yldx03ndk6jw0000gn/T/emscripten_temp_gob9n_57/3DPrimitivesExample.wasm obj/emscripten/Release/src/ofApp.o -L/Users/tarng/Code/emsdk/upstream/emscripten/system/local/lib obj/emscripten/Release/src/main.o -L/Users/tarng/Code/emsdk/upstream/emscripten/system/lib /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenSoundStream.o -L/Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenVideoPlayer.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenSoundPlayer.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenVideoGrabber.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxEmscriptenURLFileLoader.o /Users/tarng/Code/OpenFrameworks/addons/obj/emscripten/Release/ofxEmscripten/src/ofxAppEmscriptenWindow.o /Users/tarng/Code/OpenFrameworks/libs/openFrameworksCompiled/lib/emscripten/libopenFrameworks.bc --as-needed --gc-sections /Users/tarng/Code/OpenFrameworks/libs/FreeImage/lib/emscripten/libfreeimage.a /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_system.a /Users/tarng/Code/OpenFrameworks/libs/boost/lib/emscripten/libboost_filesystem.a /Users/tarng/Code/OpenFrameworks/libs/freetype/lib/emscripten/libfreetype.bc /Users/tarng/Code/OpenFrameworks/libs/pugixml/lib/emscripten/libpugixml.bc /Users/tarng/Code/OpenFrameworks/libs/tess2/lib/emscripten/libtess2.a /Users/tarng/Code/OpenFrameworks/libs/uriparser/lib/emscripten/liburiparser.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libcompiler_rt.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc-wasm.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc++-noexcept.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc++abi-noexcept.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libdlmalloc.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libpthread_stub.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libc_rt_wasm.a /Users/tarng/Code/emsdk/upstream/emscripten/cache/wasm/libsockets.a -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --allow-undefined --import-memory --import-table --strip-debug --export main --export malloc --export free --export stackSave --export stackRestore --export stackAlloc --export __data_end --export __wasm_call_ctors --export fflush --export __errno_location --export _ZSt18uncaught_exceptionv --export __cxa_find_matching_catch --export __cxa_is_pointer_type --export __cxa_can_catch --export setThrew --export _get_tzname --export _get_daylight --export _get_timezone --export realloc --export testSetjmp --export saveSetjmp -z stack-size=5242880 --initial-memory=134217728 --no-entry --max-memory=134217728 --global-base=1024' failed (1)
make[1]: *** [bin/3DPrimitivesExample.html] Error 1
make: *** [Release] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment