Skip to content

Compile error on OSX #6441

@gavinandresen

Description

@gavinandresen

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions