lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Still doesn't work.
errors:
llvm_lua-1.3.1/llvm-lua/LLVMCompiler.cpp:25:30: error: llvm/LLVMContext.h: No such file or directory
llvm_lua-1.3.1/llvm-lua/LLVMCompiler.cpp:26:31: error: llvm/DerivedTypes.h: No such file or directory
llvm-lua/llvm_lua-1.3.1/llvm-lua/LLVMCompiler.cpp:28:25: error: llvm/Module.h: No such file or directory
llvm-lua/llvm_lua-1.3.1/llvm-lua/LLVMCompiler.cpp:31:36: error: llvm/Target/TargetData.h: No such file or directory
llvm-lua/llvm_lua-1.3.1/llvm-lua/LLVMCompiler.cpp:37:36: error: llvm/Support/IRBuilder.h: No such file or directory
In file included from llvm_lua-1.3.1/llvm-lua/LLVMCompiler.cpp:45:
llvm-lua/llvm_lua-1.3.1/llvm-lua/LLVMCompiler.h:68: error: field ‘Context’ has incomplete type
llvm-lua/llvm_lua-1.3.1/llvm-lua/LLVMCompiler.h:82: error: ISO C++ forbids declaration of ‘FunctionType’ with no type
llvm_lua-1.3.1/llvm-lua/LLVMCompiler.h:82: error: invalid use of ‘::’

......
,....






With the latest code just do:
mkdir build
cd build
cmake -DLLVM_PATH=<path to clang+llvm 2.8> -DCMAKE_BUILD_TYPE=Release ..
make

--
Robert G. Jakabosky