Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Testing outcome from Boost 1.70 on Linux for VxWorks #190
The source files under libs/outcome/test/tests appear to reference boost outcome header files
../libs/outcome/test/tests/comparison.cpp:35:10: fatal error: '../../include/boost/outcome/outcome.hpp' file not found
But there is no 'include' subdirectory in boost_1_70_0/libs/outcome/,
so that the relative include paths would wind up at the headers under boost/outcome,
Note also that there are no Boost files at /usr/include ; for the cross build targeting VxWorks, the include path is set elsewhere via an --includedir=... option for b2.
I'm guessing that outcome is assuming that if the header files are not found at
I can probably find a workaround, but I wanted to bring up the problem. I'm guessing the use of the relative symlinks is due to the different directory layout in the non-boost version of outcome.
To be honest, I don't think that anyone considered that people would want to run the unit tests from the Boost end user distro, so nobody raised the fact that it could never work. It works fine from the developer build, obviously, hence https://www.boost.org/development/tests/master/developer/outcome.html
This is very easy to fix, so I shall do so for Boost 1.71. Thank you for reporting the problem, I certainly would not have noticed it without your feedback!