Compile error on OSX #6441

issue gavinandresen openend this issue on July 15, 2015
  1. gavinandresen commented at 2:36 pm on July 15, 2015: contributor

    The symptom:

    0In file included from primitives/transaction.cpp:6:
    1In file included from ./primitives/transaction.h:10:
    2./memusage.h:14:10: fatal error: 'boost/foreach.hpp' file not found
    3#include <boost/foreach.hpp>
    4         ^
    51 error generated.
    

    Cause is transaction.h including memusage.h, which includes boost headers… but libbitcoinconsensus is supposed to be boost-free. @sipa will be working on a fix. @theuni : it’d be nice if one of the Travis builds had a pristine build environment for libbitcoinconsensus to make sure no extra dependencies crept in.

  2. gavinandresen assigned sipa on Jul 15, 2015
  3. gavinandresen added the label Build system on Jul 15, 2015
  4. gavinandresen added the label Consensus on Jul 15, 2015
  5. theuni commented at 6:53 pm on July 15, 2015: member
    Yes, I’ll work on a type of namespacing that will prevent this.
  6. laanwj closed this on Jul 20, 2015

  7. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-10-04 22:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me