Re: Error in Running .emcc file using make in Ubuntu 17.10.1

2018-03-12 Thread Alon Zakai
No idea what could cause that. Perhaps running with EMCC_DEBUG=1 in the env
will show something useful in the logging.

On Sat, Mar 10, 2018 at 11:10 PM, Ahmad Hosseinzadeh 
wrote:

> Thanks Alon Zakai,
>
> That's true. I removed the .o files and re-generated them. After running
> the command I got a new error. I attached the screenshot to save all
> information of the error state.
> Would you please help me to fix it.
> Thankfully,
> Ahmad.
>
> On Saturday, March 10, 2018 at 8:29:59 PM UTC+3:30, Alon Zakai wrote:
>>
>> llvm-link says that those input files (*.o) were generated with a
>> different LLVM version (5 vs 4). How were they created? If you generate
>> them using the same emcc, they should work, but if you generate them using
>> clang directly or another emcc (different version or different setup) it
>> might be incompatible.
>>
>> --
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit 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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error in Running .emcc file using make in Ubuntu 17.10.1

2018-03-10 Thread Alon Zakai
llvm-link says that those input files (*.o) were generated with a different
LLVM version (5 vs 4). How were they created? If you generate them using
the same emcc, they should work, but if you generate them using clang
directly or another emcc (different version or different setup) it might be
incompatible.

On Sat, Mar 10, 2018 at 12:32 AM, Ahmad Hosseinzadeh 
wrote:

> I run Ubuntu 17.10.1 on Virtual Box (all requirements like make,
> emscripten, java, llvm5.0.0 installed).
> When I run run make -f Makefile.emcc command, It shows the follwing error:
> error: Invalid Value (Producer" LLVM5.0.0 Reader: LLVM 4.0.1)
> I've also sent an screenshot. would you please help?
>
> Thanks,
> Ahmad
>
> --
> 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 emscripten-discuss+unsubscr...@googlegroups.com.
> For more options, visit 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 emscripten-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.