Looks like emscripten is picking up the wrong C/C++ compiler instead of 
emscripten's own version.

The error message gives a hint what to do ('check the paths in 
|/.emscripten'):

*CRITICAL:root:Cannot find /usr/local/bin/clang++, check the paths in 
~/.emscripten*


But it's probably better to restart from scratch, remove all traces of your 
current emscripten install and go with a proper SDK installation as 
described here: 

https://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

I'm not sure how up-to-date and maintained the brew emscripten SDK is.

Cheers,
-Floh.

Am Freitag, 22. April 2016 02:25:26 UTC+2 schrieb Shyamal Chandra:
>
> Hi,
>
> I am getting the following when I run em++ main.cpp with my Emscripten 
> code:
>
> *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/ <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
>  
> <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
>
> [email protected] <javascript:>
>

-- 
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