felixtang / hoxchess

Automatically exported from code.google.com/p/hoxchess
0 stars 0 forks source link

Should use the new 1.39.0 Boost libraries (and its Asio) #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
A new version 1.39.0 of Boost C++ Libraries was released on May 2nd, 2009. 
HOXChess should be 
upgraded to use this new version.

Also, here are some request from Sebastian (from Hartwork.org):

(1) Consider using the system-wude boost library instead of the "local" one 
(under .lib folder).
(2) Consider using the boost-provided Asio library instead of the local one 
(under .lib folder).

Original issue reported on code.google.com by huypha...@gmail.com on 22 Aug 2009 at 1:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Upgrade the Boost Libraries to 1.41.0 :
http://code.google.com/p/hoxchess/source/detail?r=670

Original comment by huypha...@gmail.com on 4 Dec 2009 at 1:13

GoogleCodeExporter commented 8 years ago
I successfully tried to use the Boost-Asio (instead of the non-Boost Asio 
version).
The steps are simple:
(1) Download Boosts 1.41.0 and unpack.
(2) Run 2 command (inside Windows OS): 
  (i) bootstrap
  (ii) bjam --with-system --with-thread stage
(3) Source code change: replace Asio-specific types with Boost specific types:
  - asio::error_code => boost::system::error_code
  - asio::XXX => boost::asio::XXX type
  - ...
(4) Modify the project file to link with two new Boost libraries: system and 
thread.
-------------
Still, I decide not to use Boost-Asio at this time due to a much more 
complicated 
build procedure. 

Original comment by huypha...@gmail.com on 12 Dec 2009 at 4:40

GoogleCodeExporter commented 8 years ago
Removed the hard-coded INCLUDE path inside the Linux 'Makefile':
http://code.google.com/p/hoxchess/source/detail?r=705

Remember that HOXChess requires the Boost Libraries and the Asio library (in 
addition to wxWidgets 
Libraries).
To satisfy this requirements (before issuing the command 'make'), we either 
need:

(1) Reply on the CPLUS_INCLUDE_PATH environment variable. For example:
  $ CPLUS_INCLUDE_PATH=../lib/boost_1_41_0:../lib/asio-1.4.1/include  make

(2) Install the two packages: libboost-dev and libasio-dev

Original comment by huypha...@gmail.com on 16 Dec 2009 at 6:56