Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Error #57

Open
vudoanbt3 opened this issue Oct 14, 2014 · 2 comments
Open

Compiling Error #57

vudoanbt3 opened this issue Oct 14, 2014 · 2 comments

Comments

@vudoanbt3
Copy link

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
Copy link
Author

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

@BramVanroy
Copy link

You seem to have the same issue as posed here #86 (comment). You'll need boost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants