Re: error: unable to create target: 'No available targets are compatible with this triple.

2018-11-16 Thread stevebrat
This will be going to facilitate with the 
[https://epsonsupports.net/blog/fix-epson-error-code-0x69](https://epsonsupports.net/blog/fix-epson-error-code-0x69)/
 for the crashing with clang in emscription.


Re: error: unable to create target: 'No available targets are compatible with this triple.

2018-11-15 Thread AchalaS
Issue is resolved. The issue was bcz the llvm-clang was crashing with clang in 
emscripten. 


error: unable to create target: 'No available targets are compatible with this triple.

2018-11-13 Thread AchalaS
Hi, Im running Nim contracts in wasm. Referring 
[https://github.com/status-im/nim-eth-contracts](https://github.com/status-im/nim-eth-contracts)
 When I run command nimble example getting error How to fix this issue? TIA 


nim-eth-contracts$ nimble examples
  Executing task examples in 
/home/achala/PROJECT/nim-eth-contracts/eth_contracts.nimble
Hint: used config file 
'/home/achala/.choosenim/toolchains/nim-0.19.0/config/nim.cfg' [Conf]
Hint: used config file '/home/achala/PROJECT/nim-eth-contracts/nim.cfg' 
[Conf]
Hint: used config file 'examples/wrc20.nims' [Conf]
Hint: system [Processing]
Hint: wrc20 [Processing]
Hint: eth_contracts [Processing]
Hint: macros [Processing]
Hint: stint [Processing]
Hint: uint_public [Processing]
Hint: datatypes [Processing]
Hint: uint_addsub [Processing]
Hint: bithacks [Processing]
Hint: conversion [Processing]
Hint: stdlib_bitops [Processing]
Hint: initialization [Processing]
Hint: uint_comparison [Processing]
Hint: uint_bitwise_ops [Processing]
Hint: uint_mul [Processing]
Hint: uint_div [Processing]
Hint: uint_highlow [Processing]
Hint: uint_exp [Processing]
Hint: math [Processing]
Hint: bitops [Processing]
Hint: int_public [Processing]
Hint: int_addsub [Processing]
Hint: int_comparison [Processing]
Hint: int_negabs [Processing]
Hint: int_highlow [Processing]
Hint: int_bitwise_ops [Processing]
Hint: int_mul [Processing]
Hint: int_div [Processing]
Hint: io [Processing]
Hint: typetraits [Processing]
Hint: algorithm [Processing]
Hint: modular_arithmetic [Processing]
Hint: literals_stint [Processing]
CC: stdlib_system
CC: eth_contracts_wrc20
CC: stint_stint
CC: eth_contracts_eth_contracts
Error: execution of an external compiler program '/usr/bin/clang -c -w 
--target=wasm32-unknown-unknown-wasm -I./include 
-O3-I/home/achala/.choosenim/toolchains/nim-0.19.0/lib -o 
/home/achala/.cache/nim/wrc20_r/stint_stint.c.o 
/home/achala/.cache/nim/wrc20_r/stint_stint.c' failed with exit code: 1
    
error: unable to create target: 'No available targets are compatible with 
this triple.'
1 error generated.
stack trace: (most recent call last)
/home/achala/PROJECT/nim-eth-contracts/eth_contracts.nimble(16) examplesTask
/home/achala/PROJECT/nim-eth-contracts/eth_contracts.nimble(12) buildExample
/home/achala/.choosenim/toolchains/nim-0.19.0/lib/system/nimscript.nim(237) 
exec
/home/achala/.choosenim/toolchains/nim-0.19.0/lib/system/nimscript.nim(237, 
7) Error: unhandled exception: FAILED: nim c --out:examples/wrc20.wasm 
examples/wrc20


Run