redpony / cdec

Decoder, aligner, and model optimizer for statistical machine translation and other structured prediction models based on (mostly) context-free formalisms
http://cdec-decoder.org/
Apache License 2.0
183 stars 77 forks source link

can not build cdec #86

Open messiandzcy opened 8 years ago

messiandzcy commented 8 years ago

hi,i am trying to build cdec. But after i tap "make", i meet the problems as follow:

/usr/bin/ld: warning: libicuuc.so.42, needed by /usr/lib64/libboost_regex-mt.so.5, may conflict with libicuuc.so.56 /usr/bin/ld: warning: libicui18n.so.42, needed by /usr/lib64/libboost_regex-mt.so.5, may conflict with libicui18n.so.56 CMakeFiles/atools.dir/atools.cc.o: In function InitCommandLine(unsigned int, char**, boost::program_options::variables_map*)': /home/zhangchengyu/prefix/sw/cdec/utils/atools.cc:269: undefined reference toboost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' /home/zhangchengyu/prefix/sw/cdec/utils/atools.cc:282: undefined reference to boost::program_options::options_description::options_description(std::string const&, unsigned int, unsigned int)' /home/zhangchengyu/prefix/sw/cdec/utils/atools.cc:283: undefined reference toboost::program_options::options_description::options_description(unsigned int, unsigned int)' collect2: error:ld return 1 make[2]: * [utils/atools] error 1 make[1]: * [utils/CMakeFiles/atools.dir/all] error2 make: *\ [all] error 2

Does anyone know the reason and help me solve it ? thanks very much!!

BramVanroy commented 5 years ago

You'll probably need to install boost and make it available in your $PATH.