calling external libraries in llvm project

Hi Everyone,
I have an llvm project from which I am trying to call external libraries such as
boost. For some reason, when I type make, llvm can’t seem to find the header
files to the library even though it’s in the path. I am baffled by this. For example,
for boost this is what I get:

" fatal error: ‘boost/lambda/lambda.hpp’ file not found"

Do I have to modify something in the makefiles?

George

Hi George

Is this possibly because you haven’t built llvm with shared library support? RTTI needs to be enabled to use external libraries, I followed this example:

https://ece.uwaterloo.ca/~hdpatel/uwhtml/misc/boost-llvm-clang.html

Regards,

Sam Parker
Research Student
Electronic Systems Design Group
Loughborough University
UK

Are the headers in a standard path that could be easily found by the
compiler if you were to do the same thing on the command line?

-eric