Eos: DAWN-366 ⁃ build error - conflict with boost

Created on 21 Dec 2017  ·  3Comments  ·  Source: EOSIO/eos

there is conflict with recent version of "boost" (1.66.0) installed by "brew"


In file included from /Users/bwlim/Documents/Blockchain/eos-git/libraries/fc/src/log/gelf_appender.cpp:5:
In file included from /Users/bwlim/Documents/Blockchain/eos-git/libraries/fc/include/fc/log/gelf_appender.hpp:3:
/Users/bwlim/Documents/Blockchain/eos-git/libraries/fc/include/fc/log/appender.hpp:6:42: error: definition of type 'io_service' conflicts
with typedef of the same name
namespace boost { namespace asio { class io_service; } }
^
/usr/local/include/boost/asio/io_service.hpp:27:20: note: 'io_service' declared here
typedef io_context io_service;
^
In file included from /Users/bwlim/Documents/Blockchain/eos-git/libraries/fc/src/log/gelf_appender.cpp:5:
/Users/bwlim/Documents/Blockchain/eos-git/libraries/fc/include/fc/log/gelf_appender.hpp:7:42: error: definition of type 'io_service'
conflicts with typedef of the same name
namespace boost { namespace asio { class io_service; } }
^
/usr/local/include/boost/asio/io_service.hpp:27:20: note: 'io_service' declared here
typedef io_context io_service;
^

ATC:

  • Verify EOSIO builds on Mac with latest boost installed by brew (1.66.0).
  • Verify all scripted tests run successfully.
track-in-jira

Most helpful comment

meet same error

All 3 comments

meet same error

➤ Andrianto Lie commented:

The latest tag hasn't included the fix this yet, so as today, the test is done on the master branch and ATC Pass on the master branch with head commit https://github.com/EOSIO/eos/commit/ea09b974c89cd0072a32aa6a44264fbf48739c55

Revisit this again when the latest tag is released

➤ Andrianto Lie commented:

Tested on the latest tag again. ATC Pass

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jcalfee picture jcalfee  ·  3Comments

hoopslb picture hoopslb  ·  3Comments

jiazechen picture jiazechen  ·  3Comments

williamleecn picture williamleecn  ·  3Comments

hadramidah picture hadramidah  ·  3Comments