Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 2 in make processing of cereal. #762

Open
iajzenszmi opened this issue Aug 14, 2022 · 4 comments
Open

Error 2 in make processing of cereal. #762

iajzenszmi opened this issue Aug 14, 2022 · 4 comments

Comments

@iajzenszmi
Copy link

cmake cereal
-- boost_variant.cpp
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ian/cereal
(01:31 ian@ian-Aspire-One-753 cereal) > ls
cereal CMakeFiles doc
cerealConfig.cmake cmake_install.cmake Makefile
cerealConfigVersion.cmake coverage sandbox
CMakeCache.txt CTestTestfile.cmake unittests
(01:31 ian@ian-Aspire-One-753 cereal) > make
[ 1%] Building CXX object unittests/CMakeFiles/portability_test32.dir/portability_test.cpp.o
In file included from /home/ian/cereal/cereal/include/cereal/cereal.hpp:32,
from /home/ian/cereal/cereal/include/cereal/archives/portable_binary.hpp:32,
from /home/ian/cereal/cereal/unittests/portability_test.cpp:28:
/usr/include/c++/11/type_traits:38:10: fatal error: bits/c++config.h: No such file or directory
38 | #include <bits/c++config.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [unittests/CMakeFiles/portability_test32.dir/build.make:76: unittests/CMakeFiles/portability_test32.dir/portability_test.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:368: unittests/CMakeFiles/portability_test32.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
(01:31 ian@ian-Aspire-One-753 cereal) >

@sejun000
Copy link

I tried to make in 18.04. and this installation worked.
apt install doxygen
apt install boost
apt install libboost
apt install libboost-all-dev
apt install make-guide
apt install build_essential
apt install build-essential
apt install gcc-multilib
apt install make-guile
apt install g++-multilib

@waxz
Copy link

waxz commented Sep 6, 2024

you can disable unit test to avoid the problem

cmake .. -DBUILD_TESTS=OFF

@iajzenszmi
Copy link
Author

iajzenszmi commented Sep 6, 2024 via email

@iajzenszmi
Copy link
Author

iajzenszmi commented Sep 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants