iMe2 (master *) emscripten $ em++ main.cpp
WARNING:root:Could not verify LLVM version: [Errno 2] No such file or directory
CRITICAL:root:fastcomp in use, but LLVM has not been built with the JavaScript backend as a target, llc reports:
===========================================================================
LLVM (http://llvm.org/):
LLVM version 3.7.0svn
DEBUG build with assertions.
Built Mar 9 2015 (16:06:44).
Default target: x86_64-apple-darwin15.5.0
Host CPU: core-avx2
Registered Targets:
aarch64 - AArch64 (little endian)
aarch64_be - AArch64 (big endian)
amdgcn - AMD GCN GPUs
arm - ARM
arm64 - ARM64 (little endian)
armeb - ARM (big endian)
cpp - C++ backend
hexagon - Hexagon
mips - Mips
mips64 - Mips64 [experimental]
mips64el - Mips64el [experimental]
mipsel - Mipsel
msp430 - MSP430 [experimental]
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
ppc32 - PowerPC 32
ppc64 - PowerPC 64
ppc64le - PowerPC 64 LE
r600 - AMD GPUs HD2XXX-HD6XXX
sparc - Sparc
sparcv9 - Sparc V9
systemz - SystemZ
thumb - Thumb
thumbeb - Thumb (big endian)
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
xcore - XCore
===========================================================================
CRITICAL:root:you can fall back to the older (pre-fastcomp) compiler core, although that is not recommended, see http://kripken.github.io/emscripten-site/docs/building_from_source/LLVM-Backend.html
INFO:root:(Emscripten: Running sanity checks)
CRITICAL:root:Cannot find /usr/local/bin/clang++, check the paths in ~/.emscripten
How can I solve the problem? I install Emscripten through homebrew for OSX 10.11 but somehow, em++ is having issues. What to do?
Thanks in advance!
Sincerely,
Shyamal Chandra
CRITICAL:root:Cannot find /usr/local/bin/clang++, check the paths in ~/.emscripten
Hi Floh and others,
First of all, thanks for the solution to the previous problem.
I fixed that previous problem by downloading the Emscripten SDK and installing and activating it. However, now I have another problem. When I run with the -o flag (output below) and have an html file as its argument, it has a problem. What should I do?
From the help file, it says the following:
"-o <target>"
The "target" file name extension defines the output type to be
generated:
* <name> **.js** : JavaScript.
* <name> **.html** : HTML + separate JavaScript file
(**<name>.js**). Having the separate JavaScript file improves
page load time.
* <name> **.bc** : LLVM bitcode (default).
* <name> **.o** : LLVM bitcode (same as .bc).
Note: If "--memory-init-file" is used, a **.mem** file will be
created in addition to the generated **.js** and/or **.html**
file.
Please let me know your diagnosis and solution to this problem.
Thanks in advance!
Shyamal Chandra
Output below:
iMe2 (master *) emscripten $ em++ main.cpp -o main.html
Traceback (most recent call last):
File "/usr/local/Cellar/emscripten/1.35.23/libexec/emcc", line 13, in <module>
emcc.run()
File "/usr/local/Cellar/emscripten/1.35.23/libexec/emcc.py", line 1379, in run
final = shared.Building.emscripten(final, append_ext=False, extra_args=extra_args)
File "/usr/local/Cellar/emscripten/1.35.23/libexec/tools/shared.py", line 1588, in emscripten
call_emscripten(cmdline)
File "/usr/local/Cellar/emscripten/1.35.23/libexec/emscripten.py", line 1657, in _main
temp_files.run_and_clean(lambda: main(
File "/usr/local/Cellar/emscripten/1.35.23/libexec/tools/tempfiles.py", line 64, in run_and_clean
return func()
File "/usr/local/Cellar/emscripten/1.35.23/libexec/emscripten.py", line 1663, in <lambda>
DEBUG_CACHE=DEBUG_CACHE,
File "/usr/local/Cellar/emscripten/1.35.23/libexec/emscripten.py", line 1560, in main
temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE)
File "/usr/local/Cellar/emscripten/1.35.23/libexec/emscripten.py", line 259, in emscript
staticbump = metadata['staticBump']
KeyError: 'staticBump'
FAIL: Running the generated program failed!
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
--
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/PSOiynPIgs8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.