cdec icon indicating copy to clipboard operation
cdec copied to clipboard

Compiling Error

Open vudoanbt3 opened this issue 10 years ago • 2 comments

I have boost 1.55 installed, moses system and i tried to install cdec but while i'm trying to compile i get this error:

reconstruct_weights.o: In function boost::program_options::basic_command_line_parser<char>::run()': /home/chloe/tools/boost_1_55_0/include/boost/program_options/detail/parsers.hpp:107: undefined reference toboost::program_options::detail::cmdline::get_canonical_option_prefix()' collect2: ld returned 1 exit status make[2]: *** [reconstruct_weights] Error 1 make[2]: *** Waiting for unfinished jobs.... atools.o: In function boost::program_options::basic_command_line_parser<char>::run()': /home/chloe/tools/boost_1_55_0/include/boost/program_options/detail/parsers.hpp:107: undefined reference toboost::program_options::detail::cmdline::get_canonical_option_prefix()' collect2: ld returned 1 exit status make[2]: *** [atools] Error 1 make[2]: Leaving directory /home/chloe/tools/cdec-2014-10-12/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/chloe/tools/cdec-2014-10-12' make: *** [all] Error 2

This this my command:

sudo ./configure --with-boost=/home/chloe/tools/boost_1_55_0 sudo make -j 4

Please help me !

Thank all .

vudoanbt3 avatar Oct 14 '14 11:10 vudoanbt3

PS: I use ubuntu 12.04 x64 and i refered http://www.cdec-decoder.org/guide/compiling.html but nothing works

vudoanbt3 avatar Oct 14 '14 11:10 vudoanbt3

You seem to have the same issue as posed here https://github.com/redpony/cdec/issues/86#issuecomment-422563938. You'll need boost.

BramVanroy avatar Sep 19 '18 09:09 BramVanroy