Open GoogleCodeExporter opened 9 years ago
I'd like to fix this, but it will take some more time, especially since the
codebase has been completely rearranged since you kindly supplied your patch
(my fault).
Original comment by Josef.Ro...@gmail.com
on 28 May 2012 at 8:02
[deleted comment]
Compiling failed using cygwin on Windows 7 64 bit.
openfst-1.3.2 and opengrm-ngram-1.0.3 installed properly.
When running the following:
$ cd src
$ make
$ cd ..
problems start.
$ make
g++ -O2 Phonetisaurus.o FstPathFinder.o MBRDecoder.o phonetisaurus-g2p.cpp -o
../phonetisaurus-g2p -lfst -ldl -lm
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bin/ld: cannot
find -lfst
collect2: ld returned 1 exit status
Makefile:59: recipe for target `phonetisaurus-g2p' failed
make: *** [phonetisaurus-g2p] Error 1
Solution:
Change the line in the file /fsmnlp-tutorial/src/Makefile (assuming user has
installed tutorial version)
from
LIBS=-lfst -ldl -lm
to
LIBS=-lfst -ldl -lm -Lc:/cygwin/usr/local/lib
(i.e. add library path, in this case assuming standard cygwin install directory)
Original comment by andrewp...@gmail.com
on 18 Jan 2013 at 6:23
Original issue reported on code.google.com by
nshmy...@gmail.com
on 7 Aug 2011 at 11:33Attachments: