FS#43531 - [boost] Missing include file
Attached to Project:
Arch Linux
Opened by Peter Spiess-Knafl (cinemast) - Wednesday, 21 January 2015, 14:29 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 21 January 2015, 16:59 GMT
Opened by Peter Spiess-Knafl (cinemast) - Wednesday, 21 January 2015, 14:29 GMT
Last edited by Evangelos Foutras (foutrelis) - Wednesday, 21 January 2015, 16:59 GMT
|
Details
Description:
I am trying to compile a package with boost unit tests on arch and am encountering the following problem, when compiling the test case: In file included from /usr/include/boost/test/detail/config.hpp:19:0, from /usr/include/boost/test/utils/class_properties.hpp:20, from /usr/include/boost/test/predicate_result.hpp:19, from /usr/include/boost/test/test_tools.hpp:19, from /usr/include/boost/test/unit_test.hpp:19, from /tmp/libjson-rpc-cpp/src/test/test_stubgenerator.cpp:10: /usr/include/boost/config.hpp:30:29: schwerwiegender Fehler: boost/config/user.hpp: Datei oder Verzeichnis nicht gefunden # include BOOST_USER_CONFIG ^ The exact same code worked with the boost version of arch linux 2 months ago. Additional info: boost 1.57.0-2 Steps to reproduce: #include <boost/test/unit_test.hpp> in any C++ project and compile it. |
This task depends upon
Closed by Evangelos Foutras (foutrelis)
Wednesday, 21 January 2015, 16:59 GMT
Reason for closing: Not a bug
Additional comments about closing: Partially installed boost package.
Wednesday, 21 January 2015, 16:59 GMT
Reason for closing: Not a bug
Additional comments about closing: Partially installed boost package.
Please attach a complete test file and the full compilation command.
Command + Compileoutput:
g++ sampletest.cpp
In file included from /usr/include/boost/test/detail/config.hpp:19:0,
from /usr/include/boost/test/utils/class_properties.hpp:20,
from /usr/include/boost/test/predicate_result.hpp:19,
from /usr/include/boost/test/test_tools.hpp:19,
from /usr/include/boost/test/unit_test.hpp:19,
from test.cpp:1:
/usr/include/boost/config.hpp:30:29: schwerwiegender Fehler: boost/config/user.hpp: Datei oder Verzeichnis nicht gefunden
# include BOOST_USER_CONFIG
^
Kompilierung beendet.
Try reinstalling the boost package and if that doesn't solve it, you'll need to figure out why you're missing /usr/include/boost/config/user.hpp from your system.
Edit: Glad you solved it, my post above was before I saw yours.