cdec
cdec copied to clipboard
can not build cdec
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 to
boost::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 to
boost::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!!
You'll probably need to install boost and make it available in your $PATH.