dibyendumajumdar/dmr_c

Error Building without a backend

QuestionPython opened this issue · 4 comments

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?

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

  • Operating System
  • CMake command used to configure
  • Have you modified anything?

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.

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