<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi George
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div><a href="https://ece.uwaterloo.ca/~hdpatel/uwhtml/misc/boost-llvm-clang.html" target="_blank" title="https://ece.uwaterloo.ca/~hdpatel/uwhtml/misc/boost-llvm-clang.html
Cmd+Click to follow link">https://ece.uwaterloo.ca/~hdpatel/uwhtml/misc/boost-llvm-clang.html</a></div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
<div style="font-family:Tahoma; font-size:13px">Sam Parker
<div>Research Student</div>
<div>Electronic Systems Design Group</div>
<div>Loughborough University</div>
<div>UK</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF678908" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> llvmdev-bounces@cs.uiuc.edu [llvmdev-bounces@cs.uiuc.edu] on behalf of George Baah [georgebaah@gmail.com]<br>
<b>Sent:</b> 25 October 2012 14:44<br>
<b>To:</b> LLVM Developers Mailing List<br>
<b>Subject:</b> [LLVMdev] calling external libraries in llvm project<br>
</font><br>
</div>
<div></div>
<div>Hi Everyone,
<div>  I have an llvm project from which I am trying to call external libraries such as </div>
<div>boost. For some reason, when I type make, llvm can't seem to find the header </div>
<div>files to the library even though it's in the path. I am baffled by this. For example, </div>
<div>for boost this is what I get: </div>
<div><br>
</div>
<div>
<div>" fatal error: 'boost/lambda/lambda.hpp' file not found"</div>
<div><br>
</div>
</div>
<div>Do I have to modify something in the makefiles?</div>
<div><br>
</div>
<div>George</div>
</div>
</div>
</div>
</body>
</html>