ocaml-llvm-tutorial icon indicating copy to clipboard operation
ocaml-llvm-tutorial copied to clipboard

Llvm_bitreader.Error while running tutorial01.byte

Open ckyhc opened this issue 8 years ago • 0 comments

I followed your tutorial and installed all packages you mentioned except clang. The last one I have installed with llgo things like in this readme. Thus, I have clang 5.0.0.

So, this clang produced me hello.bc file and when I do LD_LIBRARY_PATH=/usr/lib/ocaml/llvm-3.5/ ./build/tutorial01/src/tutorial01.byte ./hello.bc

I get error: Fatal error: exception Llvm_bitreader.Error("Invalid type for value")

Thanks in advance, Kseniia

ckyhc avatar Feb 14 '17 19:02 ckyhc