llvm-lua icon indicating copy to clipboard operation
llvm-lua copied to clipboard

Compiling on Mac OS X not working

Open ghost opened this issue 7 years ago • 1 comments

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.

ghost avatar Dec 14 '18 04:12 ghost

same issue

AsynchronousAI avatar Sep 02 '23 20:09 AsynchronousAI