On 25 October 2012 17:09, Raymond HS <raymh...@gmail.com> wrote:
> Hi everyone,
>
> I wanted to try Bitextor to get some parallel texts from the Web. I have
> installed all the required libraries on my Ubuntu, but when I tried to
> compile the Bitextor source code, I got the following error:
>
> g++  -g -O2 -o bitextor BitextCandidates.o TranslationMemory.o DownloadMod.o
> FilePreprocess.o GlobalParams.o Heuristics.o WebFile.o WebSite.o Bitextor.o
> -L/home/raymondhs/local/lib -ltagaligner3 -lenca -lm -lxml2   -ltre -ltidy
> -ltextcat
>
> /home/raymondhs/local/lib/libtagaligner3.so: undefined reference to
> `std::basic_string<wchar_t, std::char_traits<wchar_t>,
> std::allocator<wchar_t> >
> EditDistanceTools::EditDistanceBeam<short>(std::vector<short,
> std::allocator<short> >&, std::vector<short, std::allocator<short> >&,
> double (*)(short const&, short const&, short const&), bool const&, double
> const&, double*)'
>
> collect2: ld returned 1 exit status
>
> So there seems to be a linker error in libtagaligner, which I can't really
> figure out why. Any hint why this could happen? Thanks!

Missing template instantiation. I sent Miquel a patch (attached) for
this in 2010, but I guess he never got around to applying it.

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

Attachment: tagaligner.patch
Description: Binary data

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to