moses-smt / giza-pp

GIZA++ is a statistical machine translation toolkit that is used to train IBM Models 1-5 and an HMM word alignment model. This package also contains the source for the mkcls tool which generates the word classes necessary for training some of the alignment models.
264 stars 83 forks source link

Installing Giza++ on Ubuntu 19.1 #7

Open JohnasSolomon opened 4 years ago

JohnasSolomon commented 4 years ago

I entered the following commands and got the below error:

**git clone https://github.com/moses-smt/giza-pp.git

cd giza-pp

make**

/usr/bin/ld: HMMTables.cpp:(.text.startup+0x19): undefined reference to`std::ios_base::Init::~Init()'

collect2: error: ld returned 1 exit status

make[1]: *** [Makefile:37: GIZA++] Error 1

make[1]: Leaving directory '/home/user/giza-practice/giza-pp-master/GIZA++-v2'

make: *** [Makefile:7: gizapp] Error 2

hieuhoang commented 4 years ago

works ok for me. The error is from the c++ standard library, are you sure you installed gcc correctly? Are you using the default compiler on your system?