<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I just tried again with clang / llvm Build -r111621 but had the
same errors.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I tried to build without turning the “example” flag on for both
clang & llvm in CMake GUI.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This builds without errors.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I ran clang-test and I had the following results:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Failing Tests (34):<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Analysis/complex.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Driver/darwin-ld.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/code-complete-errors.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/code-completion.cpp<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-at-directives.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-at-exprstmt.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-categories.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-enums.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-exprs.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-hiding.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-interfaces.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-macros.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-member-access.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-method-decls.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-objc-message-id.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-objc-message.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-pch.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-properties.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-property-flags.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-property-getset.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-protocols.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-recovery.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-tabs.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-type-factors.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/complete-unterminated.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/preamble-reparse.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Index/preamble.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Lexer/digraph.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Misc/predefines.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Preprocessor/objc-pp.m<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Sema/const-ptr-int-ptr-cast.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: Sema/init.c<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: SemaCXX/nullptr.cpp<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Clang :: SemaCXX/reinterpret-cast.cpp<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Expected Passes : 2416<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Expected Failures : 30<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Unexpected Failures: 34<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Some of the errors that occurred often in clang-test were below:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1>CUSTOMBUILD : error : 'error' diagnostics seen but
not expected:<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 48: unknown type name '__w64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 48: expected identifier or '('<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 402: unknown type name '__w64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 402: expected identifier or '('<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 409: unknown type name 'size_t'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 418: unknown type name '__w64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 418: expected identifier or '('<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 436: unknown type name '__w64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 436: expected identifier or '('<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 473: unknown type name '__w64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 473: expected identifier or '('<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 478: unknown type name '__int64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 553: unknown type name '__int64'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 554: expected ';' after top level
declarator<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 60: unknown type name '_ULonglong'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 63: unknown type name '_ULonglong'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 66: unknown type name '_ULonglong'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 69: unknown type name '_ULonglong'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 12: use of undeclared identifier 'intptr_t'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> <o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'>1> Line 16: use of undeclared identifier 'intptr_t'<o:p></o:p></span></p>
<p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;
font-family:Consolas'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Any suggestions anyone?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Yahya<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> arrowdodger
[mailto:6yearold@gmail.com] <br>
<b>Sent:</b> Friday, August 20, 2010 7:10 AM<br>
<b>To:</b> Yahya H. Mirza<br>
<b>Cc:</b> cfe-dev@cs.uiuc.edu<br>
<b>Subject:</b> Re: [cfe-dev] Problems Building clang / llvm
"examples" in Windows7 / VS2010, <o:p></o:p></span></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>I'm getting this errors too on
FreeBSD with trunk llvm+clang. With any build (configure and CMake).<o:p></o:p></p>
<div>
<p class=MsoNormal>On Fri, Aug 20, 2010 at 10:42 AM, Yahya H. Mirza <<a
href="mailto:yahya@aurorasoft.net">yahya@aurorasoft.net</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi
All,<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’ve
been experimenting with a recent build of clang / llvm.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I
downloaded a new trunk following the directions from:<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a
href="http://clang.llvm.org/get_started.html" target="_blank">http://clang.llvm.org/get_started.html</a><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><a
href="http://wiki.llvm.org/How_do_I_compile_on_Visual_C%2B%2B%3F"
target="_blank">http://wiki.llvm.org/How_do_I_compile_on_Visual_C%2B%2B%3F</a><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Below
is my configuration:<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>
Clang / LLVM Build: 111612<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>
OS:
Windows7 – 32bit<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>
Dev. Environment: Visual Studio 2010<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>
CMake
Version:
2.8.0<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I
can build fine without errors if I use the default configuration from the CMake
GUI.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Nevertheless,
I am getting a large number of warnings (173).<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Additionally,
when I use the CMake GUI, and when I check the flags for:<o:p></o:p></p>
<p style='margin-left:27.6pt'><span style='font-family:Symbol'>·</span><span
style='font-size:7.0pt'> </span>Clang->Examples<o:p></o:p></p>
<p style='margin-left:27.6pt'><span style='font-family:Symbol'>·</span><span
style='font-size:7.0pt'> </span>llvm->Examples<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’m
getting LNK2019 error (Unresolved external symbol).<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>It’s
essentially not building:<o:p></o:p></p>
<p style='margin-left:27.6pt'><span style='font-family:Symbol'>·</span><span
style='font-size:7.0pt'> </span>PrintFunctionNames.dll<o:p></o:p></p>
<p style='margin-left:27.6pt'><span style='font-family:Symbol'>·</span><span
style='font-size:7.0pt'> </span>clang-interpreter.exe<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Is
it possible that my CMake configuration is not setup properly or perhaps an
environment variable is not setup properly?<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’ve
spent a ton of time trying to track this down, but have had no luck so
far….<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I’ve
also read all the posts on problems with Visual Studio 2010 due to Clangs lack
of support for C++ 0x, but this doesn’t look like the cause here, but perhaps
I’m wrong…..<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Any
suggestions would be appreciated.<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thanks,<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yahya<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Below
is the Visual Studio 2010 output:<o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>==============================================================================================</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>------ Build started:
Project: PrintFunctionNames, Configuration: Debug Win32 ------</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73> Building Custom Rule
C:/llvm/tools/clang/examples/PrintFunctionNames/CMakeLists.txt</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73> CMake does not need
to re-run because CMakeFiles/generate.stamp is up-to-date.</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>
PrintFunctionNames.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>63> SelectionDAG.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>51>
SemaTemplateDeduction.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>72>
Creating library C:/llvm/llvm-vs10/lib/Debug/ModuleMaker.lib and object
C:/llvm/llvm-vs10/lib/Debug/ModuleMaker.exp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>63>
SelectionDAGBuilder.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>51>
SemaTemplateInstantiate.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "private: void __thiscall
clang::APValue::MakeUninit(void)" (?MakeUninit@APValue@clang@@AAEXXZ)
referenced in function "public: __thiscall
clang::APValue::~APValue(void)" (??1APValue@clang@@QAE@XZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2001: unresolved external symbol "protected: virtual void
__thiscall clang::ASTFrontendAction::ExecuteAction(void)"
(?ExecuteAction@ASTFrontendAction@clang@@MAEXXZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "public: unsigned int __thiscall
clang::Diagnostic::getCustomDiagID(enum clang::Diagnostic::Level,class
llvm::StringRef)"
(?getCustomDiagID@Diagnostic@clang@@QAEIW4Level@12@VStringRef@llvm@@@Z)
referenced in function "protected: virtual bool __thiscall `anonymous
namespace'::PrintFunctionNamesAction::ParseArgs(class clang::CompilerInstance
const &,class std::vector<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
std::allocator<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > >
const &)" (?ParseArgs@PrintFunctionNamesAction@?A0xce229623@@MAE_NABVCompilerInstance@clang@@ABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "class llvm::raw_ostream &
__cdecl llvm::errs(void)" (?errs@llvm@@YAAAVraw_ostream@1@XZ) referenced
in function "protected: virtual bool __thiscall `anonymous
namespace'::PrintFunctionNamesAction::ParseArgs(class clang::CompilerInstance
const &,class std::vector<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
std::allocator<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > > >
const &)" (?ParseArgs@PrintFunctionNamesAction@?A0xce229623@@MAE_NABVCompilerInstance@clang@@ABV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "public: bool __thiscall
clang::DiagnosticBuilder::Emit(void)"
(?Emit@DiagnosticBuilder@clang@@QAE_NXZ) referenced in function "public:
__thiscall clang::DiagnosticBuilder::~DiagnosticBuilder(void)" (??1DiagnosticBuilder@clang@@QAE@XZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "public: class llvm::raw_ostream
& __thiscall llvm::raw_ostream::write(char const *,unsigned int)"
(?write@raw_ostream@llvm@@QAEAAV12@PBDI@Z) referenced in function "public:
class llvm::raw_ostream & __thiscall
llvm::raw_ostream::operator<<(class llvm::StringRef)"
(??6raw_ostream@llvm@@QAEAAV01@VStringRef@1@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2001: unresolved external symbol "public: virtual void __thiscall
clang::ASTConsumer::HandleInterestingDecl(class clang::DeclGroupRef)"
(?HandleInterestingDecl@ASTConsumer@clang@@UAEXVDeclGroupRef@2@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2001: unresolved external symbol "public: virtual void __thiscall
clang::ASTConsumer::HandleTopLevelDecl(class clang::DeclGroupRef)"
(?HandleTopLevelDecl@ASTConsumer@clang@@UAEXVDeclGroupRef@2@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "public: class
std::basic_string<char,struct std::char_traits<char>,class std::allocator<char>
> __thiscall clang::DeclarationName::getAsString(void)const "
(?getAsString@DeclarationName@clang@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
referenced in function "public: class std::basic_string<char,structstd::char_traits<char>,class
std::allocator<char> > __thiscall
clang::NamedDecl::getNameAsString(void)const "
(?getNameAsString@NamedDecl@clang@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "public: __thiscall
clang::FrontendAction::FrontendAction(void)"
(??0FrontendAction@clang@@QAE@XZ) referenced in function "public:
__thiscall clang::ASTFrontendAction::ASTFrontendAction(void)"
(??0ASTFrontendAction@clang@@QAE@XZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>PrintFunctionNames.obj :
error LNK2019: unresolved external symbol "public: virtual __thiscall
clang::FrontendAction::~FrontendAction(void)"
(??1FrontendAction@clang@@UAE@XZ) referenced in function "public: virtual
__thiscall clang::ASTFrontendAction::~ASTFrontendAction(void)"
(??1ASTFrontendAction@clang@@UAE@XZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>73>C:\AuroraSoft\Development_Projects\LLVM_Projects\llvm\llvm-vs10\lib\Debug\PrintFunctionNames.dll
: fatal error LNK1120: 11 unresolved externals</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>==============================================================================================</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>------ Build started:
Project: clang-interpreter, Configuration: Debug Win32 ------</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>86>------ Build started:
Project: Fibonacci, Configuration: Debug Win32 ------</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85> Building Custom Rule
C:/llvm/tools/clang/examples/clang-interpreter/CMakeLists.txt</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85> CMake does not need
to re-run because CMakeFiles/generate.stamp is up-to-date.</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85> main.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>86> Building Custom Rule
C:/llvm/examples/Fibonacci/CMakeLists.txt</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>86> CMake does not need
to re-run because CMakeFiles/generate.stamp is up-to-date.</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>86> fibonacci.cpp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>86>
Creating library C:/llvm/llvm-vs10/lib/Debug/Fibonacci.lib and object
C:/llvm/llvm-vs10/lib/Debug/Fibonacci.exp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>79>
Creating library C:/llvm/llvm-vs10/lib/Debug/libclang.lib and object
C:/llvm/llvm-vs10/lib/Debug/libclang.exp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>86>
Creating library C:/llvm/llvm-vs10/lib/Debug/Fibonacci.lib
and object C:/llvm/llvm-vs10/lib/Debug/Fibonacci.exp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>
Creating library C:/llvm/llvm-vs10/lib/Debug/clang-interpreter.lib and object
C:/llvm/llvm-vs10/lib/Debug/clang-interpreter.exp</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(CompilerInstance.obj)
: error LNK2019: unresolved external symbol "public: enum
clang::ASTReader::ASTReadResult __thiscall clang::ASTReader::ReadAST(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?ReadAST@ASTReader@clang@@QAE?AW4ASTReadResult@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
referenced in function "public: static class clang::ExternalASTSource *
__cdecl clang::CompilerInstance::createPCHExternalASTSource(class
llvm::StringRef,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const
&,bool,class clang::Preprocessor &,class clang::ASTContext &,void
*)" (?createPCHExternalASTSource@CompilerInstance@clang@@SAPAVExternalASTSource@2@VStringRef@llvm@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NAAVPreprocessor@2@AAVASTContext@2@PAX@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2001: unresolved external symbol "public: enum
clang::ASTReader::ASTReadResult __thiscall clang::ASTReader::ReadAST(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?ReadAST@ASTReader@clang@@QAE?AW4ASTReadResult@12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(CompilerInstance.obj)
: error LNK2019: unresolved external symbol "public: void __thiscall
clang::ASTReader::setDeserializationListener(class
clang::ASTDeserializationListener *)" (?setDeserializationListener@ASTReader@clang@@QAEXPAVASTDeserializationListener@2@@Z)
referenced in function "public: static class clang::ExternalASTSource *
__cdecl clang::CompilerInstance::createPCHExternalASTSource(class
llvm::StringRef,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const
&,bool,class clang::Preprocessor &,class clang::ASTContext &,void
*)"
(?createPCHExternalASTSource@CompilerInstance@clang@@SAPAVExternalASTSource@2@VStringRef@llvm@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NAAVPreprocessor@2@AAVASTContext@2@PAX@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(CompilerInstance.obj)
: error LNK2019: unresolved external symbol "public: __thiscall
clang::ASTReader::ASTReader(class clang::Preprocessor &,class clang::ASTContext
*,char const *,bool)"
(??0ASTReader@clang@@QAE@AAVPreprocessor@1@PAVASTContext@1@PBD_N@Z) referenced
in function "public: static class clang::ExternalASTSource * __cdecl
clang::CompilerInstance::createPCHExternalASTSource(class llvm::StringRef,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,bool,class clang::Preprocessor
&,class clang::ASTContext &,void *)"
(?createPCHExternalASTSource@CompilerInstance@clang@@SAPAVExternalASTSource@2@VStringRef@llvm@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_NAAVPreprocessor@2@AAVASTContext@2@PAX@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(CompilerInvocation.obj)
: error LNK2019: unresolved external symbol "public: static class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl
clang::ASTReader::getOriginalSourceFile(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const
&,class clang::Diagnostic &)" (?getOriginalSourceFile@ASTReader@clang@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV34@AAVDiagnostic@2@@Z)
referenced in function "void __cdecl ParsePreprocessorArgs(class
clang::PreprocessorOptions &,class clang::driver::ArgList &,class
clang::Diagnostic &)" (?ParsePreprocessorArgs@@YAXAAVPreprocessorOptions@clang@@AAVArgList@driver@2@AAVDiagnostic@2@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: void __thiscall
clang::ASTReader::InitializeContext(class clang::ASTContext &)"
(?InitializeContext@ASTReader@clang@@QAEXAAVASTContext@2@@Z) referenced in
function "public: static class clang::ASTUnit * __cdecl
clang::ASTUnit::LoadFromASTFile(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const
&,class llvm::IntrusiveRefCntPtr<class clang::Diagnostic>,bool,struct
std::pair<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
llvm::MemoryBuffer const *> *,unsigned int,bool)"
(?LoadFromASTFile@ASTUnit@clang@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$IntrusiveRefCntPtr@VDiagnostic@clang@@@llvm@@_NPAU?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBVMemoryBuffer@llvm@@@4@I2@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: void __thiscall
clang::ASTReader::setPreprocessor(class clang::Preprocessor &)"
(?setPreprocessor@ASTReader@clang@@QAEXAAVPreprocessor@2@@Z) referenced in
function "public: static class clang::ASTUnit * __cdecl
clang::ASTUnit::LoadFromASTFile(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const
&,class llvm::IntrusiveRefCntPtr<class clang::Diagnostic>,bool,struct
std::pair<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
llvm::MemoryBuffer const *> *,unsigned int,bool)"
(?LoadFromASTFile@ASTUnit@clang@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$IntrusiveRefCntPtr@VDiagnostic@clang@@@llvm@@_NPAU?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBVMemoryBuffer@llvm@@@4@I2@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: __thiscall
clang::ASTReader::ASTReader(class clang::SourceManager &,class
clang::FileManager &,class clang::Diagnostic &,char const *,bool)"
(??0ASTReader@clang@@QAE@AAVSourceManager@1@AAVFileManager@1@AAVDiagnostic@1@PBD_N@Z)
referenced in function "public: static class clang::ASTUnit * __cdecl
clang::ASTUnit::LoadFromASTFile(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const
&,class llvm::IntrusiveRefCntPtr<class clang::Diagnostic>,bool,struct
std::pair<class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >,class
llvm::MemoryBuffer const *> *,unsigned int,bool)"
(?LoadFromASTFile@ASTUnit@clang@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$IntrusiveRefCntPtr@VDiagnostic@clang@@@llvm@@_NPAU?$pair@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBVMemoryBuffer@llvm@@@4@I2@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: virtual __thiscall
clang::ASTReaderListener::~ASTReaderListener(void)" (??1ASTReaderListener@clang@@UAE@XZ)
referenced in function "public: virtual void * __thiscall
clang::ASTReaderListener::`scalar deleting destructor'(unsigned int)"
(??_GASTReaderListener@clang@@UAEPAXI@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: __thiscall
clang::PCHGenerator::PCHGenerator(class clang::Preprocessor const
&,bool,char const *,class llvm::raw_ostream *)"
(??0PCHGenerator@clang@@QAE@ABVPreprocessor@1@_NPBDPAVraw_ostream@llvm@@@Z)
referenced in function "public: __thiscall `anonymous
namespace'::PrecompilePreambleConsumer::PrecompilePreambleConsumer(class
clang::ASTUnit &,class clang::Preprocessor const &,bool,char const
*,class llvm::raw_ostream *)"
(??0PrecompilePreambleConsumer@?A0x354744ea@@QAE@AAVASTUnit@clang@@ABVPreprocessor@3@_NPBDPAVraw_ostream@llvm@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(FrontendActions.obj)
: error LNK2001: unresolved external symbol "public: __thiscall
clang::PCHGenerator::PCHGenerator(class clang::Preprocessor const
&,bool,char const *,class llvm::raw_ostream *)"
(??0PCHGenerator@clang@@QAE@ABVPreprocessor@1@_NPBDPAVraw_ostream@llvm@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2001: unresolved external symbol "public: virtual class
clang::ASTDeserializationListener * __thiscall clang::PCHGenerator::GetASTDeserializationListener(void)"
(?GetASTDeserializationListener@PCHGenerator@clang@@UAEPAVASTDeserializationListener@2@XZ)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: unsigned int __thiscall
clang::ASTWriter::getDeclID(class clang::Decl const *)"
(?getDeclID@ASTWriter@clang@@QAEIPBVDecl@2@@Z) referenced in function
"public: virtual void __thiscall `anonymous
namespace'::PrecompilePreambleConsumer::HandleTranslationUnit(class clang::ASTContext
&)"
(?HandleTranslationUnit@PrecompilePreambleConsumer@?A0x354744ea@@UAEXAAVASTContext@clang@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: virtual void
__thiscall clang::PCHGenerator::HandleTranslationUnit(class clang::ASTContext
&)"
(?HandleTranslationUnit@PCHGenerator@clang@@UAEXAAVASTContext@2@@Z) referenced
in function "public: virtual void __thiscall `anonymous
namespace'::PrecompilePreambleConsumer::HandleTranslationUnit(class clang::ASTContext&)"
(?HandleTranslationUnit@PrecompilePreambleConsumer@?A0x354744ea@@UAEXAAVASTContext@clang@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: void __thiscall
clang::ASTWriter::WriteAST(class clang::Sema &,class clang::MemorizeStatCalls
*,char const *)"
(?WriteAST@ASTWriter@clang@@QAEXAAVSema@2@PAVMemorizeStatCalls@2@PBD@Z)
referenced in function "public: bool __thiscall clang::ASTUnit::Save(class
llvm::StringRef)" (?Save@ASTUnit@clang@@QAE_NVStringRef@llvm@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>clangFrontend.lib(ASTUnit.obj)
: error LNK2019: unresolved external symbol "public: __thiscall
clang::ASTWriter::ASTWriter(class llvm::BitstreamWriter &)"
(??0ASTWriter@clang@@QAE@AAVBitstreamWriter@llvm@@@Z) referenced in function
"public: bool __thiscall clang::ASTUnit::Save(class llvm::StringRef)"
(?Save@ASTUnit@clang@@QAE_NVStringRef@llvm@@@Z)</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'>85>C:\llvm\llvm-vs10\bin\Debug\clang-interpreter.exe
: fatal error LNK1120: 14 unresolved externals</span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:9.0pt;font-family:Consolas'> </span><o:p></o:p></p>
</div>
</div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>