configure: error: C++ preprocessor “/lib/cpp” fails sanity check
The root of the problem is the lack of necessary C++ libraries.
If it is a CentOS system, run the following command to solve:
yum install glibc-headers
yum install gcc-c++
In Ubuntu system, run the command:
apt-get install build-essential
apt-get install g++
Read More:
- The imported project “c:\Microsoft.Cpp.Default.props” was not found
- [Solved] Unity Package Error: Failed running D:\Program Files\Unity2018.4.1\Editor\Data\il2cpp/build/il2cpp.exe
- Tensorflow C++:You must define TF_LIB_GTL_ALIGNED_CHAR_ARRAY for your compiler
- Preprocessor Symbols setting error: error: redefinition of enumerator
- [Solved] Violation of check constraint (GYPTS.SYS_C0016857)
- [Solved] Error: package or namespace load failed for ‘ggplot2’ in loadNamespace(i, c(lib.loc, .libPaths()), v
- [Solved] NCCL error in: /pytorch/torch/lib/c10d/ProcessGroupNCCL ,unhandled cuda error, NCCLversion 2.7.8
- [Solved] Compile Error: “Configure: error: libtool configure failed”
- [Solved] TwinCAT3 Error: Ads error: 4115 (0x1013, RTIME: system clock setup fails.
- Configure. AC: error: possibly undefined macro [How to Solve]
- How to Solve Fatal error stdatomic in C/C++ Compilation
- ROS Error: Could not import “pyqt“ bindings of qt_gui_cpp library
- [Solved] Error d8021: invalid numeric parameter “/wno CPP” cython_bbox
- How to Configure OpenFPGA Environment (Probable Errors & Their Solutions)
- Cannot start container 39f96c64a9c6: [8] System error: exec format error
- [Solved] MXNet Error: ImportError: cannot import name _LIB
- [Solved] CUDA fails to compile in visual studio and throws error msb3721 and nvcc fatal
- How to Solve Opencv Error: CPP: 1557 error
- Grpc Compilation issues: “C++ versions less than C++11 are not supported.
- [Solved] ./configure: error: the HTTP rewrite module requires the PCRE library