<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16625"><LINK rel=stylesheet 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Does anybody install llvm-tv on ubuntu9.04? 
please share how to do it. Thanks very much!</FONT></DIV>
<DIV> </DIV>
<DIV>My problem is as followed:</DIV>
<DIV> </DIV>
<DIV>I follow the instruction of README in source of llvm-tv.</DIV>
<DIV> </DIV>
<DIV>First, I installe wxWidgets and graphviz, and then download the source of 
llvm from <A 
href="http://llvm.org/svn/llvm-project/llvm/trunk">http://llvm.org/svn/llvm-project/llvm/trunk</A>  
and download poolalloc from <A 
href="http://llvm.org/svn/llvm-project/poolalloc/trunk">http://llvm.org/svn/llvm-project/poolalloc/trunk</A>. Second, 
I compile llvm successfully but when I build poolalloc, it pour out some errors 
of the source of poolalloc. Then I chang to download llvm and poolalloc form 
release_26, and buid them successful. But when I build llvm-tv, it error as 
followed.</DIV>
<DIV>---------------------------------------------------------------------------------------------------------------</DIV>
<DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/PictureCanvas.h:38: error: ‘myImage’ was not declared in this scope</DIV>
<DIV>In file included from /root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.h:10,</DIV>
<DIV>                 from /root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.cpp:1:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h: At global scope:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:28: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:28: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:41: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:41: error: ‘wxImage’ declared as a ‘virtual’ field</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:41: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:42: error: expected ‘;’ before ‘virtual’</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:42: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:42: error: ‘wxImage’ declared as a ‘virtual’ field</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:42: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:43: error: expected ‘;’ before ‘}’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h: In member function ‘virtual wxWindow* GraphDrawer::getWindow()’:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/GraphDrawer.h:34: error: cannot convert ‘PictureCanvas*’ to ‘wxWindow*’ in return</DIV>
<DIV>In file included from /root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.cpp:1:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.h: At global scope:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.h:22: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.h:22: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>In file included from /root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:11,</DIV>
<DIV>                 from /root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.cpp:2:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:28: error: expected class-name before ‘{’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:39: error: expected class-name before ‘{’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:46: error: ISO C++ forbids declaration of ‘wxColour’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:46: error: expected ‘,’ or ‘...’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:53: error: ‘wxListEvent’ has not been declared</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:54: error: ‘wxListEvent’ has not been declared</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h: In member function ‘virtual wxWindow* TVCodeViewer::getWindow()’:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CodeViewer.h:72: error: cannot convert ‘TVCodeListCtrl*’ to ‘wxWindow*’ in return</DIV>
<DIV>In file included from /root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.cpp:2:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h: At global scope:</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:25: error: expected class-name before ‘{’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:29: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:29: error: ‘wxImage’ declared as a ‘virtual’ field</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:29: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:30: error: expected ‘;’ before ‘virtual’</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:61: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:61: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:64: error: expected ‘;’ before ‘void’</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:81: error: ISO C++ forbids declaration of ‘wxImage’ with no type</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:81: error: expected ‘;’ before ‘*’ token</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/TVTreeItem.h:84: error: expected ‘;’ before ‘void’</DIV>
<DIV>/root/Program_file/llvm/llvm_tv_src/tools/llvm-tv/CFGGraphDrawer.cpp:13: error: expected constructor, destructor, or type conversion before ‘*’ token</DIV>
<DIV>make[2]: *** [/root/Program_file/llvm/llvm_tv_obj/tools/llvm-tv/Debug/CFGGraphDrawer.o] 错误 1</DIV>
<DIV>make[2]:正在离开目录 `/root/Program_file/llvm/llvm_tv_obj/tools/llvm-tv'</DIV>
<DIV>make[1]: *** [llvm-tv/.makeall] 错误 2</DIV>
<DIV>make[1]:正在离开目录 `/root/Program_file/llvm/llvm_tv_obj/tools'</DIV>
<DIV>make: *** [all] 错误 1</DIV>
<DIV>root@ubuntu:~/Program_file/llvm/llvm_tv_obj#  </DIV></DIV>
<DIV>-----------------------------------------------------------------------------------------------------------------------------</DIV>
<DIV> </DIV>
<DIV>Could somebody help me? Thank you very much!</DIV>
<DIV> </DIV>
<DIV>Best regards</DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV align=left><FONT size=2 face=Verdana>2010-09-08 </FONT></DIV><FONT size=2 
face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT size=2 
face=Verdana><SPAN>Daneill</SPAN></FONT></DIV></FONT></BODY></HTML>