dibyendumajumdar / dmr_c

dmr_C is a C parser and JIT compiler with LLVM, Eclipse OMR and NanoJIT backends
Other
52 stars 2 forks source link

Error Building without a backend #30

Closed QuestionPython closed 6 years ago

QuestionPython commented 6 years ago

dmr_c/build>$ make

[ 71%] Built target dmr_c
[ 77%] Built target runtests
[ 80%] Building C object CMakeFiles/showsymbols.dir/samples/show-symbols.c.o
/home/guest/Gits/Compiler/dmr_c/samples/show-symbols.c:34:10: fatal error: dmr_c.h: No such file or directory
 #include <dmr_c.h>
          ^~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/showsymbols.dir/build.make:63: CMakeFiles/showsymbols.dir/samples/show-symbols.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/showsymbols.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

how fix?

dibyendumajumdar commented 6 years ago

Hi, will check tonight. Please let me know details such as:

dibyendumajumdar commented 6 years ago

Okay I managed to get the same error on Linux, when trying to make with no backend. So I guess you aren't using LLVM or NanoJIT backend? I guess I broke this when I moved things around.

dibyendumajumdar commented 6 years ago

I have committed a fix that appears to work in my Linux environment

dibyendumajumdar commented 6 years ago

Fixed