divyang4481 / rcf-cpp

Automatically exported from code.google.com/p/rcf-cpp
0 stars 0 forks source link

Build errors when building on Linux without RCF_USE_BOOST_ASIO #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Compiling on Linux without defining RCF_USE_BOOST_ASIO yields the compiler 
error:

In file included from RCF.cpp:67:
TcpEndpoint.cpp:28:38: error: RCF/TcpServerTransport.hpp: No such file or 
directory

Expected behavior should be to build OK, and be able to run client side 
code (i.e. code that doesn't use RcfServer).

Original issue reported on code.google.com by jarl.lin...@gmail.com on 12 Aug 2008 at 5:54

GoogleCodeExporter commented 9 years ago
same for me, g++ version is:
g++ (GCC) 3.4.6 (Debian 3.4.6-5)

Original comment by laserp...@gmail.com on 15 Sep 2008 at 6:50

GoogleCodeExporter commented 9 years ago
compiling with:

<Makefile>
CXXFLAGS=-I$(HOME)/src/boost -I$(HOME)/src/RCF/include 
-DRCF_USE_BOOST_SERIALIZATION
-DRCF_USE_BOOST_ASIO
</Makefile>

make RCF.o 

the output is attached.

Original comment by laserp...@gmail.com on 15 Sep 2008 at 6:55

Attachments:

GoogleCodeExporter commented 9 years ago
The log indicates that you are compiling with RCF_USE_BOOST_ASIO, but that the 
compiler can't find the boost asio headers... If you are using boost 1.34.1 or 
older, you need to manually download the boost asio package and copy it to your 
boost directory.

Original comment by jarl.lin...@gmail.com on 15 Sep 2008 at 7:57

GoogleCodeExporter commented 9 years ago
you're right, that was my fault.
Now I've upgraded to boost release 1.36.0, and you can find attached the new 
makelog.

Original comment by laserp...@gmail.com on 15 Sep 2008 at 10:45

Attachments:

GoogleCodeExporter commented 9 years ago

There were changes made to Boost.Serialization in 1.36.0, that cause compiler 
errors 
in RCF 0.9d . The comiler errors are fixed in the upcoming 0.9e release, but 
for the 
time being, you'll need to either use boost 1.35.0, or use 1.36.0 without 
Boost.Serialization .

Original comment by jarl.lin...@gmail.com on 15 Sep 2008 at 1:23

GoogleCodeExporter commented 9 years ago
Ok. When do you plan to release 0.9e?

Original comment by laserp...@gmail.com on 15 Sep 2008 at 2:12

GoogleCodeExporter commented 9 years ago
It should be ready in a few weeks time.

Original comment by jarl.lin...@gmail.com on 15 Sep 2008 at 11:34

GoogleCodeExporter commented 9 years ago
RCF 1.0 compiles on non-Windows platforms, with or without RCF_USE_BOOST_ASIO 
defined.

Original comment by jarl.lin...@gmail.com on 22 Oct 2008 at 5:52

GoogleCodeExporter commented 9 years ago

Original comment by jarl.lin...@gmail.com on 28 May 2009 at 1:44