MikaTake / xbt

xbt
0 stars 0 forks source link

Error ffter revision "r2440" #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After revision "r2440" when running the command ./make.sh, gives an error
=========
In file included from connection.cpp:11:0:
connection.hpp:20:23: fatal error: request.hpp: No such file or directory
compilation terminated.
In file included from server.hpp:19:0,
                 from main.cpp:16:
......
......
......
==========
How to fix? All revision up to "r2441" work.

Original issue reported on code.google.com by freetorr...@gmail.com on 31 Oct 2014 at 2:03

GoogleCodeExporter commented 9 years ago
connection.hpp? XBT Tracker does not have a connection.hpp

Original comment by olafvdspek on 31 Oct 2014 at 2:58

GoogleCodeExporter commented 9 years ago

Original comment by olafvdspek on 31 Oct 2014 at 2:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
tried to install r2448 revision, here's the error

=======
In file included from connection.cpp:2:0:
connection.h:5:7: error: looser throw specifier for 'virtual 
Cconnection::~Cconn                                                             
                            ection()'
In file included from connection.h:3:0,
                 from connection.cpp:2:
client.h:10:10: error:   overriding 'virtual Cclient::~Cclient() noexcept 
(true)                                                                          
               '
In file included from server.cpp:5:0:
connection.h:5:7: error: looser throw specifier for 'virtual 
Cconnection::~Cconn                                                             
                            ection()'
In file included from connection.h:3:0,
                 from server.cpp:5:
client.h:10:10: error:   overriding 'virtual Cclient::~Cclient() noexcept 
(true)                                                                          
               '
======

Files downloaded from here =)

Original comment by freetorr...@gmail.com on 31 Oct 2014 at 6:33

GoogleCodeExporter commented 9 years ago
For what versions of GCC and Boost?

You could try to replace 
virtual ~Cclient() = default;
by
virtual ~Cclient() { }

Original comment by olafvdspek on 31 Oct 2014 at 11:40

GoogleCodeExporter commented 9 years ago
gcc version 4.7.2 (Debian 4.7.2-5)

boost version: 1.49.0.1

Original comment by freetorr...@gmail.com on 1 Nov 2014 at 12:24

GoogleCodeExporter commented 9 years ago
I think it's a bug in Boost, but try the fix in #5.

BTW, where was that request.hpp from?

Original comment by olafvdspek on 1 Nov 2014 at 12:27

GoogleCodeExporter commented 9 years ago
This file is not exist. I made a mistake
And what to do with the boost? I had already updated to the latest version

Original comment by freetorr...@gmail.com on 1 Nov 2014 at 12:33

GoogleCodeExporter commented 9 years ago
Latest Boost version is 1.56 (soon 1.57), but it's not fixed yet.

Original comment by olafvdspek on 1 Nov 2014 at 12:35

GoogleCodeExporter commented 9 years ago
I did this
apt-get install cmake g++ libboost-date-time-dev libboost-dev \
libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev \
libboost-serialization-dev libmysqlclient15-dev make subversion zlib1g-dev

Strange why not updated.
So I did as you said
virtual ~Cclient() = default;
by
virtual ~Cclient() { }

It worked. And how to get rid of the bugs in future updates?

Original comment by freetorr...@gmail.com on 1 Nov 2014 at 12:41

GoogleCodeExporter commented 9 years ago
I updated Boost up to version 1.56, but the problem persists.

Original comment by freetorr...@gmail.com on 1 Nov 2014 at 10:19

GoogleCodeExporter commented 9 years ago
As I said in #9, it's not fixed yet.

https://svn.boost.org/trac/boost/ticket/10698

Original comment by olafvdspek on 1 Nov 2014 at 10:47

GoogleCodeExporter commented 9 years ago
It might not be an issue with GCC 4.9 though.

Original comment by olafvdspek on 1 Nov 2014 at 10:49

GoogleCodeExporter commented 9 years ago
Okay. I will be manually correcting.

Original comment by freetorr...@gmail.com on 1 Nov 2014 at 11:09