thanks very much that fixed it, for some reason llvm-ar in my emscripten folder 
was a dangling alias.



> On 9 Mar 2018, at 16:54, Alon Zakai <[email protected]> wrote:
> 
> emar.py calls llvm-ar, so perhaps that doesn't exist or isn't executable?
> 
> On Fri, Mar 9, 2018 at 3:46 AM, 'Oliver Larkin' via emscripten-discuss 
> <[email protected] 
> <mailto:[email protected]>> wrote:
> Hello,
> 
> I'm having a problem compiling some C++11 to WASM.
> 
> here is my make file:
> 
> https://github.com/olilarkin/wdl-ol/blob/iplugquake-wam/Examples/IPlugEffect/Makefile
>  
> <https://github.com/olilarkin/wdl-ol/blob/iplugquake-wam/Examples/IPlugEffect/Makefile>
> 
> Do you have any idea why libcxx_noexcept.a might not be compiling, or what i 
> should try?
> 
> thanks!
> 
> oli
> 
> 
> 8 warnings generated.
> INFO:root:generating system library: libcxx_noexcept.a... (this will be 
> cached in "/Users/oli/.emscripten_cache/asmjs/libcxx_noexcept.a" for 
> subsequent builds)
> Traceback (most recent call last):
>   File "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/emar", line 
> 13, in <module>
>     emar.run()
>   File "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/emar.py", line 
> 61, in run
>     subprocess.call(newargs)
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
>  line 522, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
>  line 710, in __init__
>     errread, errwrite)
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
>  line 1335, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory
> Traceback (most recent call last):
>   File "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/emcc", line 
> 13, in <module>
>     emcc.run()
>   File "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/emcc.py", line 
> 1417, in run
>     extra_files_to_link += system_libs.calculate([f for _, f in 
> sorted(temp_files)] + extra_files_to_link, in_temp, stdout_=None, 
> stderr_=None, forced=forced_stdlibs)
>   File 
> "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
>  line 493, in calculate
>     libfile = shared.Cache.get(name, do_create, extension=suffix)
>   File 
> "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/tools/cache.py", line 
> 100, in get
>     temp = creator()
>   File 
> "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
>  line 491, in do_create
>     ret = create(name)
>   File 
> "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
>  line 227, in create_libcxx
>     has_noexcept_version=True)
>   File 
> "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/tools/system_libs.py",
>  line 99, in build_libcxx
>     shared.Building.emar('cr', in_temp(lib_filename), o_s)
>   File 
> "/Users/oli/Dev/MyWeb/emsdk-portable/emscripten/1.37.22/tools/shared.py", 
> line 2003, in emar
>     assert os.path.exists(output_filename), 'emar could not create output 
> file: ' + output_filename
> AssertionError: emar could not create output file: 
> /var/folders/xp/zf2pfh7j38786ph7yr6k03sw0000gn/T/tmpX34sT7/libcxx_noexcept.a
> make: *** [IPlugEffect-WAM.js] Error 1
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> -- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "emscripten-discuss" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/emscripten-discuss/tHU9Zs4zhAU/unsubscribe 
> <https://groups.google.com/d/topic/emscripten-discuss/tHU9Zs4zhAU/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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.

Reply via email to