Compile error on OSX #6441

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

    The symptom:

    In file included from primitives/transaction.cpp:6:
    In file included from ./primitives/transaction.h:10:
    ./memusage.h:14:10: fatal error: 'boost/foreach.hpp' file not found
    #include <boost/foreach.hpp>
             ^
    1 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. sipa cross-referenced this on Jul 17, 2015 from issue Separate core memory usage computation in core_memusage.h by sipa
  7. laanwj closed this on Jul 20, 2015

  8. bitcoin 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: 2026-05-20 06:55 UTC