Boost logo

Boost :

Subject: [boost] [afio] Compilation error in applications, including tests
From: Brian Ravnsgaard Riis (lists_at_[hidden])
Date: 2015-04-27 07:26:53


I wanted to try out the proposed AFIO library, but I'm having trouble
with compilation.

I followed the instructions for inserting it into the boost checkout, by
symlinking libs/afio to the AFIO checkout. Boost compilation happens
correctly, including the AFIO library, however I get include failures on
BindLib when I try to compile a test program.

I then tried running the test suite, as per instructions:

$ ./b2 libs/afio/test
In file included from
                  from ./boost/afio/config.hpp:341,
                  from ./boost/afio/afio.hpp:41,
                  from libs/afio/test/test_functions.hpp:17:
./boost/afio/spinlock/include/boost/spinlock/spinlock.hpp:81:36: fatal
error: bindlib/include/import.h: No such file or directory
  #include "bindlib/include/import.h"
compilation terminated.

And more of the same ilk.

Am I missing some obvious configuration or something?

The boost version is at tag boost-1.58.0 and AFIO is at tag

The BindLib submodule does contain include/import.h.


Boost list run by bdawes at, gregod at, cpdaniel at, john at