About Monkey 2 › Forums › Monkey 2 Development › System Command Failed
This topic contains 5 replies, has 3 voices, and was last updated by
Amon
12 months ago.
-
AuthorPosts
-
April 20, 2018 at 8:21 am #14420
Just now downloaded the latest repo from github. I’m trying to build with MSVC Pro 2017. It started building but failed at making the stb module with the following error:
Monkey1234cl -c -EHs -W0 -MT -utf-8 -bigobj -O2 -DNDEBUG -I"C:/Apps/Coding/monkey2-develop-2/modules/" -I"C:/Apps/Coding/monkey2-develop-2/modules/monkey/native" -I"C:/Apps/Coding/monkey2-develop-2/modules/zlib/zlib-1.2.11/" -showIncludes -Fo"C:/Apps/Coding/monkey2-develop-2/modules/std/std.buildv1.1.09/windows_release_msvc_x64/build/std_0memory_02databuffer.cpp.obj" "C:/Apps/Coding/monkey2-develop-2/modules/std/std.buildv1.1.09/windows_release_msvc_x64/src/std_memory_2databuffer.cpp" >tmp/stdout1.txtstd_memory_2databuffer.cppC:/Apps/Coding/monkey2-develop-2/modules/std/std.buildv1.1.09/windows_release_msvc_x64/src/std_memory_2databuffer.cpp(10): fatal error C1083: Cannot open include file: 'zlib/zlib.buildv1.1.09/windows_release_msvc_x64/include/zlib_zlib.h': No such file or directoryI’m going to try with MINGW now to see if the same happens. Will report back in a bit.
April 20, 2018 at 4:00 pm #14422Maybe you need fresher version of mx2cc to compile.
April 20, 2018 at 10:50 pm #14429Can you try git pulling again?
I added a tweak to std module.json late last night which might fix this…
Also, I recommend you update the compler too – you’re on v1.1.09 but mx2cc is up to 1.1.12 now. Mixing older compiler with newer modules is likely to cause problems sooner or later…
To update mx2cc, just execute the updatemx2cc script after git pulling.
April 21, 2018 at 5:24 am #14432A fresh git pull just now and executing updatemx2cc from the command line gives the following error on std module again.
Monkey123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172C:\Apps\Coding\monkey2\scripts>updatemx2ccC:\Apps\Coding\monkey2\scripts>echo off***** Updating mx2cc *****Mx2cc version 1.1.09***** Making module 'monkey' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Archiving C:/Apps/Coding/monkey2/modules/monkey/monkey.buildv1.1.09/windows_release_msvc/monkey.lib...***** Making module 'libc' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Archiving C:/Apps/Coding/monkey2/modules/libc/libc.buildv1.1.09/windows_release_msvc/libc.lib...***** Making module 'miniz' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Archiving C:/Apps/Coding/monkey2/modules/miniz/miniz.buildv1.1.09/windows_release_msvc/miniz.lib...***** Making module 'stb-image' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Archiving C:/Apps/Coding/monkey2/modules/stb-image/stb-image.buildv1.1.09/windows_release_msvc/stb-image.lib...***** Making module 'stb-image-write' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Archiving C:/Apps/Coding/monkey2/modules/stb-image-write/stb-image-write.buildv1.1.09/windows_release_msvc/stb-image-write.lib...***** Making module 'stb-vorbis' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Archiving C:/Apps/Coding/monkey2/modules/stb-vorbis/stb-vorbis.buildv1.1.09/windows_release_msvc/stb-vorbis.lib...***** Making module 'std' (windows release x86 msvc) *****Parsing...Semanting...Translating...Compiling...Build error: System command failed:cl -c -EHs -W0 -MT -utf-8 -bigobj -O2 -DNDEBUG -I"C:/Apps/Coding/monkey2/modules/" -I"C:/Apps/Coding/monkey2/modules/monkey/native" -I"C:/Apps/Coding/monkey2/modules/zlib/zlib-1.2.11/" -showIncludes -Fo"C:/Apps/Coding/monkey2/modules/std/std.buildv1.1.09/windows_release_msvc/build/std_0memory_02databuffer.cpp.obj" "C:/Apps/Coding/monkey2/modules/std/std.buildv1.1.09/windows_release_msvc/src/std_memory_2databuffer.cpp" >tmp/stdout1.txtstd_memory_2databuffer.cppC:/Apps/Coding/monkey2/modules/std/std.buildv1.1.09/windows_release_msvc/src/std_memory_2databuffer.cpp(10): fatal error C1083: Cannot open include file: 'zlib/zlib.buildv1.1.09/windows_release_msvc/include/zlib_zlib.h': No such file or directoryMicrosoft (R) C/C++ Optimizing Compiler Version 19.13.26131.1 for x86Copyright (C) Microsoft Corporation. All rights reserved.April 21, 2018 at 11:13 pm #14449Oops, please try again now.
If it’s still borked, please try executing an updatemods.bat first. The mx2cc builds scripts were missing zlib…
April 22, 2018 at 7:28 am #14459All working fine. Everything updated and built.
-
AuthorPosts
You must be logged in to reply to this topic.