[haiku-development] Re: BFilePanel: Undefined reference to..

On Mon, Jul 14, 2008 at 8:40 PM, James Kim <jkim202@xxxxxxxxxxxxxxxxx> wrote:
> I get the following compile error:
>
> generated/objects/haiku/x86/release/libs/alm/EditForm.o: In function
> `BALM::EditForm::MessageReceived(BMessage *)':
> EditForm.cpp:(.text+0x4ac3): undefined reference to
> `BFilePanel::BFilePanel(file_panel_mode, BMessenger *, entry_ref const
> *, unsigned long, bool, BMessage *, BRefFilter *, bool, bool)'
> collect2: ld returned 1 exit status
>
> What could be the problem? Thanks in advance.

For various reasons (most notably that it uses Tracker's PoseView),
BFilePanel is in libtracker.so, you'll need to link to that.

Regards,

Rene

Other related posts: