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

Compilation error in ExportInterface.cpp #121

Closed
plison opened this issue Aug 9, 2015 · 7 comments
Closed

Compilation error in ExportInterface.cpp #121

plison opened this issue Aug 9, 2015 · 7 comments

Comments

@plison
Copy link

plison commented Aug 9, 2015

I get the following compilation error with the latest version of the code on the git repository:

moses/ExportInterface.cpp: In function ‘int run_as_server()’:
moses/ExportInterface.cpp:147:3: error: ‘MosesServer’ has not been declared
MosesServer::Server server(params);
^
moses/ExportInterface.cpp:148:10: error: ‘server’ was not declared in this scope
return server.run(); // actually: don't return. see Server::run()
^

@hieuhoang
Copy link
Contributor

hold on for a day or so. There's some compilation issues with the recent commits

@hieuhoang
Copy link
Contributor

actually, can you please git pull and recompile. Add this argument to the bjam command too:
./bjam ..... --no-xmlrpc-c

@plison
Copy link
Author

plison commented Aug 9, 2015

I just tried it, but got the same compilation problem as before, unfortunately!

@ugermann
Copy link
Contributor

ugermann commented Aug 9, 2015

What exactly is the command you are executing to compile?

On Sun, Aug 9, 2015 at 9:54 PM, Pierre Lison notifications@github.com
wrote:

I just tried it, but got the same compilation problem as before,
unfortunately!


Reply to this email directly or view it on GitHub
#121 (comment)
.

Ulrich Germann
Senior Researcher
School of Informatics
University of Edinburgh

@plison
Copy link
Author

plison commented Aug 9, 2015

Simply ./bjam -j16 -a -q --no-xmlrpc-c
(with gcc-4.9 and boost 1.58).

@ugermann
Copy link
Contributor

ugermann commented Aug 9, 2015

I just tried it with the latest commit (
13f2af7) and I am not able to to reproduce
the compile error with that command (using gcc-4.6). Is that the commit you
are working with? (you can check with 'git log')

  • Uli

On Sun, Aug 9, 2015 at 10:04 PM, Pierre Lison notifications@github.com
wrote:

Simply ./bjam -j16 -a -q --no-xmlrpc-c
(with gcc-4.9 and boost 1.58).


Reply to this email directly or view it on GitHub
#121 (comment)
.

Ulrich Germann
Senior Researcher
School of Informatics
University of Edinburgh

@plison
Copy link
Author

plison commented Aug 9, 2015

OK now with the very latest commit, it works, thanks!

@plison plison closed this as completed Aug 10, 2015
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

3 participants