[LLVMdev] calling external libraries in llvm project

Sam Parker S.Parker3 at lboro.ac.uk
Thu Oct 25 10:51:58 PDT 2012


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
________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of George Baah [georgebaah at gmail.com]
Sent: 25 October 2012 14:44
To: LLVM Developers Mailing List
Subject: [LLVMdev] 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121025/9f391cf3/attachment.html>


More information about the llvm-dev mailing list