<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 11/2/14, 12:35 AM, Omar Abed Alkar
Darwish wrote:<br>
</div>
<blockquote
cite="mid:709117913.5108284.1414902920543.JavaMail.root@wmich.edu"
type="cite">
<pre wrap="">Hi All,
I have a problem of updating a pass in LLVM the problem is very simple but I don't know how to solve it. I have the Instcount.cpp pass under
/home/omar/Desktop/llvm/lib/Analysis
all what I need is to add any print statement on the Instcount.cpp and see the reflects of this print statement.
Actually I add the print statement on the Instcount.cpp then I wrote the following commands on the terminal:
cd /home/omar/Desktop/llvm/lib/Analysis
make InstCount
but I get the following error :
ng++ InstCount.cpp -o InstCount
InstCount.cpp:14:10: fatal error: 'llvm/Analysis/Passes.h' file not found
#include "llvm/Analysis/Passes.h"</pre>
</blockquote>
<br>
If you are compiling the file without using the LLVM Makefiles, you
need to add the appropriate -I and -L options to tell the compiler
how to find the LLVM header files and LLVM libraries.<br>
<br>
Regards,<br>
<br>
John Criswell<br>
<br>
<blockquote
cite="mid:709117913.5108284.1414902920543.JavaMail.root@wmich.edu"
type="cite">
<pre wrap="">
^
1 error generated.
make: *** [InstCount] Error 1
attached is the screenshot of the error.
Please give me a hand I am already stuck in this point.
Thanks,
--Omar
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
John Criswell
Assistant Professor
Department of Computer Science, University of Rochester
<a class="moz-txt-link-freetext" href="http://www.cs.rochester.edu/u/criswell">http://www.cs.rochester.edu/u/criswell</a></pre>
</body>
</html>