About Monkey 2 › Forums › Monkey 2 Programming Help › Monkey2-v1.1.03 Emscripten Build Error
This topic contains 1 reply, has 1 voice, and was last updated by 
 Xaron
 2 years, 1 month ago.
- 
		AuthorPosts
 - 
		
			
				
March 1, 2017 at 3:51 pm #7352
Dear all,
I just tried to rebuild all modules for emscripten after I installed the latest emscripten package. Looks like I have some trouble with my parallel installed Cygwin?!
I get the following errors:
Mx2cc version 1.1.03
***** Making module ‘monkey’ *****
Parsing…
Semanting…
Translating…
Compiling…
Build error: System command ’em++ -I”d:/Programme/Monkey2-v1.1.03/modules/” -I”d:/Programme/Monkey2-v1.1.03/modules/monkey/native” -std=c++11 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 -O3 -c -o “d:/Programme/Monkey2-v1.1.03/modules/monkey/monkey.buildv1.1.03/emscripten_release/build/_1src_2monkey_0monkey.cpp.o” “d:/Programme/Monkey2-v1.1.03/modules/monkey/monkey.buildv1.1.03/emscripten_release/src/monkey_monkey.cpp”‘ failed.em++ -I”d:/Programme/Monkey2-v1.1.03/modules/” -I”d:/Programme/Monkey2-v1.1.03/modules/monkey/native” -std=c++11 -s USE_SDL=2 -s TOTAL_MEMORY=67108864 -s DISABLE_EXCEPTION_CATCHING=1 -O3 -c -o “d:/Programme/Monkey2-v1.1.03/modules/monkey/monkey.buildv1.1.03/emscripten_release/build/_1src_2monkey_0monkey.cpp.o” “d:/Programme/Monkey2-v1.1.03/modules/monkey/monkey.buildv1.1.03/emscripten_release/src/monkey_monkey.cpp”
0 [main] python 15144 c:\cygwin\bin\python.exe: *** fatal error – unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\math.dll to same address as parent: 0x3A0000 != 0x3F0000
Stack trace:Frame Function Args
00287568 6102749B (00287568, 00000000, 00000000, 00000000)
00287858 6102749B (61177B80, 00008000, 00000000, 61179977)
00288888 61004AFB (611A136C, 6123D294, 003A0000, 003F0000)
End of stack trace
0 [main] python 11756 fork: child 15144 – died waiting for dll loading, errno 11
195832 [main] python 13128 c:\cygwin\bin\python.exe: *** fatal error – unable to remap \\?\C:\cygwin\lib\python2.6\lib-dynload\_functools.dll to same address as parent: 0x3E0000 != 0x3F0000
Stack trace:Frame Function Args
0028A7F8 6102749B (0028A7F8, 00000000, 00000000, 00000000)
0028AAE8 6102749B (61177B80, 00008000, 00000000, 61179977)
0028BB18 61004AFB (611A136C, 6123DC8C, 003E0000, 003F0000)
End of stack trace
1970566 [main] python 11756 fork: child 13128 – died waiting for dll loading, errno 11
Traceback (most recent call last):
File “d:\Programme\Emscripten\emscripten\1.35.0\\em++”, line 10, in <module>
exit(subprocess.call([shared.PYTHON, shared.EMCC] + sys.argv[1:] + [‘–emscripten-cxx’]))
File “/usr/lib/python2.6/subprocess.py”, line 480, in call
return Popen(*popenargs, **kwargs).wait()
File “/usr/lib/python2.6/subprocess.py”, line 633, in __init__
errread, errwrite)
File “/usr/lib/python2.6/subprocess.py”, line 1049, in _execute_child
self.pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
***** Fatal mx2cc error *****Internal mx2cc build error
Build modules failed.
March 8, 2017 at 2:04 pm #7418Apparently this had something to do with my cygwin installation. So he used the python within the cygwin folder which had a different version to the one of the emscripten folder…
 - 
		AuthorPosts
 
You must be logged in to reply to this topic.