Please try running on Emsdk 1.37.0 or 1.37.1 (current incoming or master branches). I'm confident that the issue should be fixed there, as we had a Windows path name issue in an older version.
2016-12-28 10:52 GMT+02:00 Genmiao Rong <[email protected]>: > It also occurs on My PC with 1.35.0. Has any solution? > > > 在 2015年8月28日星期五 UTC+8上午1:33:19,Robert Goulet写道: > >> Using the tag 1.34.6 from the incoming branch, at link time I get this >> error when emcc reports the first linker warning: >> >> warning: unresolved symbol: _ZN5project26SomethingC1Ev >> Traceback (most recent call last): >> File "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emcc", >> line 1303, in <module> >> final = shared.Building.emscripten(final, append_ext=False, >> extra_args=extra_args) >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\tools\shared.py", >> line 1512, in emscripten >> call_emscripten(cmdline) >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py", >> line 1079, in _main >> temp_files.run_and_clean(lambda: main( >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\tools\tempfiles.py", >> line 47, in run_and_clean >> return func() >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py", >> line 1085, in <lambda> >> DEBUG_CACHE=DEBUG_CACHE, >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py", >> line 983, in main >> temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE) >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\emscripten.py", >> line 199, in emscript >> cwd=path_from_root('src'), error_limit=300) >> File >> "D:\dev\project\lib\emscripten-1.34.6-r0\emscripten\tag-1.34.6\tools\jsrun.py", >> line 75, in run_js >> raise Exception('Expected the command ' + str(command) + ' to finish >> with return code ' + str(assert_returncode) + ', but it returned with code ' >> + str(proc.returncode) + ' instead! Output: ' + str(ret)[:error_limit]) >> Exception: Expected the command ['D:/dev/project/lib/emscripte >> n-1.34.6-r0/node/0.10.17_64bit/node.exe', 'D:\\dev\\project\\lib\\emscri >> pten-1.34.6-r0 >> \\emscripten\\tag-1.34.6\\src\\compiler.js', >> 'D:\\dev\\project\\lib\\emscripten-1.34.6-r0\\.tmp\\tmp4chxcu.txt', >> 'D:\\dev\\project\\lib\\emscripten- >> 1.34.6-r0\\emscripten\\tag-1.34.6\\src\\library_pthread.js'] to finish >> with return code 0, but it returned with code 8 instead! Output: // The >> Module >> object: Our interface to the outside world. We import >> // and export values on it, and do the work to get that through >> // closure compiler if necessary. There are various ways Module can be >> used: >> // 1. Not defined. We create it here >> // 2. A function parameter, function(Module) { ..gener >> >> Launching another build without cleaning anything, after getting this >> error, will properly output the list of symbols that couldn't be found, >> without issues. >> >> Wasn't happening in 1.34.1. >> >> Anyone else seen this? Doesn't seems related to the project I'm building. >> >> Thanks! >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
