Oh, and I updated the MIME types on the docs, so now you can read them online here:<div><br></div><div><a href="http://llvm.org/svn/llvm-project/llbrowse/trunk/doc/LLBrowse.html">http://llvm.org/svn/llvm-project/llbrowse/trunk/doc/LLBrowse.html</a><br>

<br><div class="gmail_quote">2011/2/14 Talin <span dir="ltr"><<a href="mailto:viridia@gmail.com">viridia@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

OK I figured out what the problem was - I assume you are trying to compile under Snow Leopard? There is a problem with linking against wxWidgets because the prebuilt binaries for wxWidgets are compiled in 32-bit mode, and the default compilation mode in Snow Leopard is 64 bits. See this article for an explanation:<div>


<br></div><div><a href="http://wiki.wxwidgets.org/Development:_wxMac#Building_under_10.6_Snow_Leopard" target="_blank">http://wiki.wxwidgets.org/Development:_wxMac#Building_under_10.6_Snow_Leopard</a></div><div><br></div>

<div>Unfortunately, I am not certain what the right solution is yet. Maybe I'll have to add a check for Snow Leopard and add a flag to compile in 32-bit mode. Apparently this problem is solved in the upcoming 2.9 release of wxWidgets, but that is still an experimental version.</div>


<div><br></div><div>In the mean time, I discovered a bunch of other build problems on OS X, which I have gone ahead and checked in fixes for (Things like <memory> vs. <auto_ptr>. I've also updated the docs to explain how to tell CMake where to find llvm-config.<br>


<br><div class="gmail_quote"><div class="im">2011/2/14 Török Edwin <span dir="ltr"><<a href="mailto:edwintorok@gmail.com" target="_blank">edwintorok@gmail.com</a>></span><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>On 2011-02-14 20:58, Török Edwin wrote:<div><div></div><div class="h5"><br>
> On 2011-02-14 20:39, Talin wrote:<br>
>><br>
>><br>
>> On Mon, Feb 14, 2011 at 1:17 AM, Renato Golin <<a href="mailto:rengolin@systemcall.org" target="_blank">rengolin@systemcall.org</a><br>
>> <mailto:<a href="mailto:rengolin@systemcall.org" target="_blank">rengolin@systemcall.org</a>>> wrote:<br>
>><br>
>>     I think this deserves a blog post...<br>
>><br>
>> I'd like to wait until I get some feedback - I don't know yet if anyone<br>
>> is having trouble building or running the thing...<br>
><br>
> Hi Talin,<br>
><br>
> What version of wxwidgets does llbrowse require, tried 2.8.10, and 2.9.1<br>
> and none worked:<br>
> /home/edwin/llbrowse/include/llbrowse/Resources.h:46: error: ISO C++<br>
> forbids declaration of ‘wxImageList’ with no type<br>
> /home/edwin/llbrowse/include/llbrowse/Resources.h:46: error: expected<br>
> ‘;’ before ‘*’ token<br>
> /home/edwin/llbrowse/include/llbrowse/Resources.h:47: error: ISO C++<br>
> forbids declaration of ‘wxImageList’ with no type<br>
> /home/edwin/llbrowse/include/llbrowse/Resources.h:47: error: expected<br>
> ‘;’ before ‘*’ token<br>
<br>
</div></div></div><div><div></div><div class="h5">Correction, 2.8.10 gets past these errors, and shows these errors instead:<br>
CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable<br>
for BrowserApp]+0x120): undefined reference to<br>
`wxApp::OnAssertFailure(wchar_t const*, int, wchar_t const*, wchar_t<br>
const*, wchar_t const*)'<br>
CMakeFiles/llbrowse.dir/lib/BrowserApp.cpp.o:(.rodata._ZTV10BrowserApp[vtable<br>
for BrowserApp]+0x128): undefined reference to<br>
`wxAppConsole::OnAssert(wchar_t const*, int, wchar_t const*, wchar_t<br>
const*)'<br>
CMakeFiles/llbrowse.dir/lib/TreeView.cpp.o: In function<br>
`wxStringBase::wxStringBase(wxStringBase const&)':<br>
TreeView.cpp:(.text._ZN12wxStringBaseC2ERKS_[wxStringBase::wxStringBase(wxStringBase<br>
const&)]+0x43): undefined reference to `wxOnAssert(wchar_t const*, int,<br>
char const*, wchar_t const*, wchar_t const*)'<br>
CMakeFiles/llbrowse.dir/lib/TreeView.cpp.o: In function<br>
`wxArrayString::Item(unsigned long) const':<br>
TreeView.cpp:(.text._ZNK13wxArrayString4ItemEm[wxArrayString::Item(unsigned<br>
long) const]+0x39): undefined reference to `wxOnAssert(wchar_t const*,<br>
int, char const*, wchar_t const*, wchar_t const*)'<br>
<div><div></div><div><br>
<br>
><br>
> Some other minor issues:<br>
> 1. If llvm-config is not in the path, 'cmake .' succeeds, and 'make fails'.<br>
> cmake-gui shows that the problem is LLVM_CONFIG_EXECUTABLE-NOTFOUND.<br>
><br>
> 2. It doesn't seem to build with LLVM 2.8, maybe you should check the<br>
> LLVM version in CMake:<br>
> /home/edwin/llbrowse/lib/BrowserApp.cpp:9:34: error: llvm/Support<br>
> /Signals.h: No such file or directory<br>
><br>
> Best regards,<br>
> --Edwin<br>
<br>
</div></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>-- Talin<br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>-- Talin<br>
</div>