About Monkey 2 › Forums › Monkey 2 Programming Help › Monkey2-v1.1.02 Emscripten Build ERROR!
Tagged: Emscripten Build ERROR!
This topic contains 3 replies, has 2 voices, and was last updated by
APC
2 years, 4 months ago.
-
AuthorPosts
-
December 9, 2016 at 4:34 pm #5686
Hello Mark,
When I try to build EMSCRIPTEN on Monkey2-v1.1.02 it compiles fine until it gets to mojox the I get the error below.
Desktop and Android are building fine.
***** Making module ‘mojox’ *****
Parsing…
Semanting…
Translating…
Compiling…
Build error: System command ’em++ -I”C:/Monkey2-v1.1.02/modules/” -I”C:/Monkey2-v1.1.02/modules/monkey/native” -std=c++11 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 -O3 -I”C:/Monkey2-v1.1.02/modules/litehtml/litehtml/include/” -I”C:/Monkey2-v1.1.02/modules/freetype/freetype-2.6.3/include/” -I”C:/Monkey2-v1.1.02/modules/sdl2/SDL/include/” -c -o “C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/build/_1src_2mojox_0dialog.cpp.o” “C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/src/mojox_dialog.cpp”‘ failed.em++ -I”C:/Monkey2-v1.1.02/modules/” -I”C:/Monkey2-v1.1.02/modules/monkey/native” -std=c++11 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 -O3 -I”C:/Monkey2-v1.1.02/modules/litehtml/litehtml/include/” -I”C:/Monkey2-v1.1.02/modules/freetype/freetype-2.6.3/include/” -I”C:/Monkey2-v1.1.02/modules/sdl2/SDL/include/” -c -o “C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/build/_1src_2mojox_0dialog.cpp.o” “C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/src/mojox_dialog.cpp”
In file included from C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/src/mojox_dialog.cpp:4:
In file included from C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/src/../include/mojox_std_collections_2map.h:6:
C:/Monkey2-v1.1.02/modules/mojox/mojox.buildv1.1.02/emscripten_release/src/../include/../../../../std/std.buildv1.1.02/emscripten_release/include/std_collections_2map.h:44:10: fatal error: ‘../../../../monkey/monkey.buildv1.1.02/emscripten_release/include/monkey_types.h’ file not found
#include “../../../../monkey/monkey.buildv1.1.02/emscripten_release/include/monkey_types.h”
^
1 error generated.
ERROR:root:compiler frontend failed to generate LLVM bitcode, halting
***** Fatal mx2cc error *****
Internal mx2cc build error
Build modules failed.
December 10, 2016 at 10:07 pm #5698Have you updated/rebuilt emscripten modules?
December 10, 2016 at 11:51 pm #5700Yes I did.
December 12, 2016 at 4:59 pm #5750Mark,
Something has changed, I used the same “env_windows.txt” that I used in previous M2 versions to build.
I want to change this line #include “../../../../monkey/monkey.buildv1.1.02/emscripten_release/include/monkey_types
but I don’t know if that is correct.
-
AuthorPosts
You must be logged in to reply to this topic.