"Error while processing ..."


I dev a tool with clang lib tooling which parses c++ header file. I have this message error when I add an include directive to one.

My compilation options : test_file.h -- -x c++ -w -I"C/path/to/an/exteranl/lib/dir/" -XClang .

Can someone help me to resolve the issue ?

Thanks in advance,


What error are you getting?

“Error while processing test_file.h”

I think you mistyped C/path/to/an/exteranl/lib/dir/

Do you really have a directory named "C" in the current directory ?


“C/path/to/an/exteranl/lib/dir/” is just an example path. Else the include path in my compile option is correct.