Skip to content

Instantly share code, notes, and snippets.

@DragonOsman DragonOsman/build.log
Last active Oct 18, 2019

Embed
What would you like to do?
Log file for attempt to build a Qt5 app with Emscripten
em++ -c -O3 -std=gnu++1z -s ALLOW_MEMORY_GROWTH=1 -Wall -W -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -IC:\Qt\5.13.1\wasm_32\include -IC:\Qt\5.13.1\wasm_32\include\QtPrintSupport -IC:\Qt\5.13.1\wasm_32\include\QtWidgets -IC:\Qt\5.13.1\wasm_32\include\QtGui -IC:\Qt\5.13.1\wasm_32\include\QtCore -I. -I. -I/.emscripten_ports/openssl/include -IC:\Qt\5.13.1\wasm_32\mkspecs\wasm-emscripten -o main.obj main.cpp
em++ -c -O3 -std=gnu++1z -s ALLOW_MEMORY_GROWTH=1 -Wall -W -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -IC:\Qt\5.13.1\wasm_32\include -IC:\Qt\5.13.1\wasm_32\include\QtPrintSupport -IC:\Qt\5.13.1\wasm_32\include\QtWidgets -IC:\Qt\5.13.1\wasm_32\include\QtGui -IC:\Qt\5.13.1\wasm_32\include\QtCore -I. -I. -I/.emscripten_ports/openssl/include -IC:\Qt\5.13.1\wasm_32\mkspecs\wasm-emscripten -o notepad.obj notepad.cpp
em++ -c -O3 -std=gnu++1z -s ALLOW_MEMORY_GROWTH=1 -Wall -W -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -IC:\Qt\5.13.1\wasm_32\include -IC:\Qt\5.13.1\wasm_32\include\QtPrintSupport -IC:\Qt\5.13.1\wasm_32\include\QtWidgets -IC:\Qt\5.13.1\wasm_32\include\QtGui -IC:\Qt\5.13.1\wasm_32\include\QtCore -I. -I. -I/.emscripten_ports/openssl/include -IC:\Qt\5.13.1\wasm_32\mkspecs\wasm-emscripten -o notepad.js_plugin_import.obj E:/programming/Qt/notepad-project/notepad.js_plugin_import.cpp
em++ -O3 -std=gnu++1z -s ALLOW_MEMORY_GROWTH=1 -Wall -W -dM -E -o moc_predefs.h C:\Qt\5.13.1\wasm_32\mkspecs\features\data\dummy.cpp
emcc:WARNING: Assuming object file output in the absence of `-c`, based on output filename. Please add with `-c` or `-r` to avoid this warning
C:\Qt\5.13.1\wasm_32\bin\moc.exe -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include E:/programming/Qt/notepad-project/moc_predefs.h -IC:/Qt/5.13.1/wasm_32/mkspecs/wasm-emscripten -IE:/programming/Qt/notepad-project -IC:/Qt/5.13.1/wasm_32/include -IC:/Qt/5.13.1/wasm_32/include/QtPrintSupport -IC:/Qt/5.13.1/wasm_32/include/QtWidgets -IC:/Qt/5.13.1/wasm_32/include/QtGui -IC:/Qt/5.13.1/wasm_32/include/QtCore notepad.h -o moc_notepad.cpp
em++ -c -O3 -std=gnu++1z -s ALLOW_MEMORY_GROWTH=1 -Wall -W -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -IC:\Qt\5.13.1\wasm_32\include -IC:\Qt\5.13.1\wasm_32\include\QtPrintSupport -IC:\Qt\5.13.1\wasm_32\include\QtWidgets -IC:\Qt\5.13.1\wasm_32\include\QtGui -IC:\Qt\5.13.1\wasm_32\include\QtCore -I. -I. -I/.emscripten_ports/openssl/include -IC:\Qt\5.13.1\wasm_32\mkspecs\wasm-emscripten -o moc_notepad.obj moc_notepad.cpp
sed -e s/@APPNAME@/notepad/g C:/Qt/5.13.1/wasm_32/plugins/platforms/wasm_shell.html > E:/programming/Qt/notepad-project/notepad.html
copy /y C:\Qt\5.13.1\wasm_32\plugins\platforms\qtloader.js E:\programming\Qt\notepad-project
1 file(s) copied.
copy /y C:\Qt\5.13.1\wasm_32\plugins\platforms\qtlogo.svg E:\programming\Qt\notepad-project
1 file(s) copied.
em++ -s WASM=1 -s FULL_ES2=1 -s USE_WEBGL2=1 -s NO_EXIT_RUNTIME=0 -s ERROR_ON_UNDEFINED_SYMBOLS=1 --bind -O3 -s ALLOW_MEMORY_GROWTH=1 -o notepad.js main.obj notepad.obj notepad.js_plugin_import.obj moc_notepad.obj C:/Qt/5.13.1/wasm_32/plugins/platforms/libqwasm.a C:/Qt/5.13.1/wasm_32/lib/libQt5EventDispatcherSupport.a C:/Qt/5.13.1/wasm_32/lib/libQt5FontDatabaseSupport.a C:/Qt/5.13.1/wasm_32/lib/libqtfreetype.a C:/Qt/5.13.1/wasm_32/lib/libQt5EglSupport.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqgif.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqicns.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqico.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqjpeg.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqtga.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqtiff.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqwbmp.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqwebp.a C:/Qt/5.13.1/wasm_32/lib/libQt5PrintSupport.a C:/Qt/5.13.1/wasm_32/lib/libQt5Widgets.a C:/Qt/5.13.1/wasm_32/lib/libQt5Gui.a C:/Qt/5.13.1/wasm_32/lib/libqtlibpng.a C:/Qt/5.13.1/wasm_32/lib/libqtharfbuzz.a C:/Qt/5.13.1/wasm_32/lib/libQt5Core.a C:/Qt/5.13.1/wasm_32/lib/libqtpcre2.a
wasm-ld: error: main.obj: machine type must be wasm32
wasm-ld: error: moc_main.obj: machine type must be wasm32
wasm-ld: error: main.obj: machine type must be wasm32
wasm-ld: error: moc_main.obj: machine type must be wasm32
wasm-ld: error: moc_main.obj: machine type must be wasm32
wasm-ld: error: main.obj: machine type must be wasm32
wasm-ld: error: main.obj: machine type must be wasm32
wasm-ld: error: main.obj: machine type must be wasm32
wasm-ld: error: main.obj: machine type must be wasm32
wasm-ld: error: qprinter.obj: machine type must be wasm32
wasm-ld: error: qprintdialog_unix.obj: machine type must be wasm32
wasm-ld: error: qaction.obj: machine type must be wasm32
wasm-ld: error: qapplication.obj: machine type must be wasm32
wasm-ld: error: qboxlayout.obj: machine type must be wasm32
wasm-ld: error: qwidget.obj: machine type must be wasm32
wasm-ld: error: qmainwindow.obj: machine type must be wasm32
wasm-ld: error: qmenu.obj: machine type must be wasm32
wasm-ld: error: qmenubar.obj: machine type must be wasm32
wasm-ld: error: qstatusbar.obj: machine type must be wasm32
wasm-ld: error: qtextedit.obj: machine type must be wasm32
wasm-ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
shared:ERROR: 'C:/emsdk/upstream/bin\wasm-ld.exe -o C:\Users\Osman\AppData\Local\Temp\emscripten_temp_uc69t0q0\notepad.wasm --allow-undefined --lto-O0 main.obj notepad.obj -LC:\emsdk\upstream\emscripten\system\local\lib notepad.js_plugin_import.obj -LC:\emsdk\upstream\emscripten\system\lib moc_notepad.obj -LC:\Users\Osman\.emscripten_cache\wasm-obj C:/Qt/5.13.1/wasm_32/plugins/platforms/libqwasm.a C:/Qt/5.13.1/wasm_32/lib/libQt5EventDispatcherSupport.a C:/Qt/5.13.1/wasm_32/lib/libQt5FontDatabaseSupport.a C:/Qt/5.13.1/wasm_32/lib/libqtfreetype.a C:/Qt/5.13.1/wasm_32/lib/libQt5EglSupport.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqgif.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqicns.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqico.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqjpeg.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqtga.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqtiff.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqwbmp.a C:/Qt/5.13.1/wasm_32/plugins/imageformats/libqwebp.a C:/Qt/5.13.1/wasm_32/lib/libQt5PrintSupport.a C:/Qt/5.13.1/wasm_32/lib/libQt5Widgets.a C:/Qt/5.13.1/wasm_32/lib/libQt5Gui.a C:/Qt/5.13.1/wasm_32/lib/libqtlibpng.a C:/Qt/5.13.1/wasm_32/lib/libqtharfbuzz.a C:/Qt/5.13.1/wasm_32/lib/libQt5Core.a C:/Qt/5.13.1/wasm_32/lib/libqtpcre2.a C:\Users\Osman\.emscripten_cache\wasm-obj\libc.a C:\Users\Osman\.emscripten_cache\wasm-obj\libcompiler_rt.a C:\Users\Osman\.emscripten_cache\wasm-obj\libc-wasm.a C:\Users\Osman\.emscripten_cache\wasm-obj\libc++-noexcept.a C:\Users\Osman\.emscripten_cache\wasm-obj\libc++abi-noexcept.a --whole-archive C:\Users\Osman\.emscripten_cache\wasm-obj\libembind-rtti.a --no-whole-archive C:\Users\Osman\.emscripten_cache\wasm-obj\libgl-webgl2.a C:\Users\Osman\.emscripten_cache\wasm-obj\libdlmalloc.a C:\Users\Osman\.emscripten_cache\wasm-obj\libpthread_stub.a C:\Users\Osman\.emscripten_cache\wasm-obj\libc_rt_wasm.a --import-memory --import-table -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr --export __wasm_call_ctors --export __data_end --export main --export malloc --export free --export setThrew --export __errno_location --export fflush --export emscripten_GetProcAddress --export strstr --export emscripten_webgl_make_context_current --export emscripten_webgl_get_current_context --export emscripten_builtin_free --export _get_environ --export emscripten_builtin_memalign --export memalign --export realloc --export _ZSt18uncaught_exceptionv --export __cxa_find_matching_catch --export __cxa_is_pointer_type --export __cxa_can_catch --export strlen --export _get_tzname --export _get_daylight --export _get_timezone -z stack-size=5242880 --initial-memory=16777216 --no-entry --global-base=1024' failed (1)
mingw32-make: *** [Makefile:73: notepad.js] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.