You need to install a full SDK, rather than just emscripten.  Try `emsdk
install sdk-fastcomp-1.38.30-64bit`.

On Wed, Feb 5, 2020 at 9:16 AM Gary Tarr <[email protected]> wrote:

> I need to install emscripten 1.38.30 as I want to try out QT and that is
> one of the versions QT supports.  I  did the following :
>
> 1.  Installed a new copy of Ubuntu in a Windows 10 Hyper-V
> 2. Opened a terminal and executed the following:
>     sudo apt-get install python
>    sudo apt-get install cmake
>      git clone https://github.com/emscripten-core/emsdk.git
>    ./emsdk list --old
>    ./emsdk install emscripten-1.38.30
>
> After the install completed with no errors, I executed the following :
>    ./emsdk activate emscripten-1.38.30
>    ./emsdk_env.sh
>
> I then changed directory and tried to test.  Below is what happened.  I am
> totally new to Linux so any help would be most appreciated.
>
> ~/emsdk/emscripten/1.38.30$
> <tarr@gtarr-ubuntu:~/emsdk/emscripten/1.38.30$> ./em++
>
> Traceback (most recent call last):
>   File "/home/gtarr/emsdk/emscripten/1.38.30/emcc.py", line 41, in <module>
>     from tools import shared, system_libs, client_mods, js_optimizer, jsrun
>   File "/home/gtarr/emsdk/emscripten/1.38.30/tools/shared.py", line 782,
> in <module>
>     CLANG_CC =
> os.path.expanduser(build_clang_tool_path(exe_suffix('clang')))
>   File "/home/gtarr/emsdk/emscripten/1.38.30/tools/shared.py", line 647,
> in build_clang_tool_path
>     return os.path.join(LLVM_ROOT, tool)
>   File "/usr/lib/python2.7/posixpath.py", line 70, in join
>     elif path == '' or path.endswith('/'):
> AttributeError: 'NoneType' object has no attribute 'endswith'
>
>
>
>
> --
> 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].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/9c072c29-d77c-406b-8ed1-c6c2839c1bfa%40googlegroups.com
> <https://groups.google.com/d/msgid/emscripten-discuss/9c072c29-d77c-406b-8ed1-c6c2839c1bfa%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_xNnH2jomivOU9_4KJLFuQJEbvAmpU%2BphhCZ_iJLMPhA%40mail.gmail.com.

Reply via email to