Neopallium / llvm-lua

Automatically exported from code.google.com/p/llvm-lua
Other
153 stars 24 forks source link

Compiling on Mac OS X not working #21

Open ghost opened 5 years ago

ghost commented 5 years ago

I am not sure if may I misunderstood something, as I don't do this often, but when I try compiling cmake works, but when I try calling make is fatally errors. The error it gives is below.

[  3%] Built target bin2c
[  5%] Building CXX object build/CMakeFiles/llvm-lua_dynamic.dir/LLVMCompiler.o
/Users/coderboy14/Desktop/tests/tools/llvm-lua/llvm-lua/LLVMCompiler.cpp:25:10: fatal error: 'llvm/LLVMContext.h' file not found
#include "llvm/LLVMContext.h"
         ^~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [build/CMakeFiles/llvm-lua_dynamic.dir/LLVMCompiler.o] Error 1
make[1]: *** [build/CMakeFiles/llvm-lua_dynamic.dir/all] Error 2
make: *** [all] Error 2

I installed cmake via home-brew, and as I said, that works. This doesn't however. I am trying to Debug build type, hoping it would give more information, but alas, it didn't.

AsynchronousAI commented 1 year ago

same issue