RepliShow - BTranslationUtils compile error
I am trying to compile RepliShow from http://www.haiku-os.org/documents/dev/replishow_a_replicable_image_viewer
it gives an error:
/boot/home/projects/RepliShow/(Objects.RepliShow)/RepliView.o: In function `RepliView::MessageReceived(BMessage *)':
RepliView.cpp:(.text+0x479): undefined reference to `BTranslationUtils::GetBitmap(char const *, BTranslatorRoster *)'
collect2: ld returned 1 exit status
RepliView.h contains:
#include
the code in RepliView.cpp is:
fBitmap = BTranslationUtils::GetBitmap(path.Path());
looks perfect (for humble myself at least), fBitmap, path, all fine.
Where is the problem?
Thanks,
P

Comments
Re: RepliShow - BTranslationUtils compile error
If you are compiling using make on the command line,
I think you need to add:
Or if you are using BeIDE, then put that in the "More Linker Options" in the Project Settings menu.
Regards,
hey68you