Monkey2-v1.1.02 Emscripten Build ERROR!

About Monkey 2 Forums Monkey 2 Programming Help Monkey2-v1.1.02 Emscripten Build ERROR!

This topic contains 3 replies, has 2 voices, and was last updated by  APC 2 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5686

    APC
    Participant

    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.

    #5698

    Mark Sibly
    Keymaster

    Have you updated/rebuilt emscripten modules?

    #5700

    APC
    Participant

    Yes I did.

    #5750

    APC
    Participant

    Mark,

    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.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.