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


Hi,

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
[snip]
gcc.compile.c++.pch
bin.v2/libs/afio/test/gcc-4.9.1/debug/threading-multi/test_functions.hpp.gch
In file included from
./boost/afio/spinlock/include/boost/spinlock/concurrent_unordered_map.hpp:35:0,
                  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
v1.31_Boost_v1.58.

The BindLib submodule does contain include/import.h.

Regards,
  Brian


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk