Link to libclang library successfully, but runtime error

61 Views Asked by At

I have successfully linked to the libclang library and got the executable file, but there is a problem running the executable file.This is the makefile

a.exe:s.c
     clang $^ -o $@ -I/usr/local/llvm/include -L/usr/local/llvm/lib -lclang 

enter image description here

I tried to re-link libclang in the same directory as the source code, but still got an error

0

There are 0 best solutions below