-
Notifications
You must be signed in to change notification settings - Fork 64
Description
我使用了unbuntu,
执行 cmake -S. -Bbuild -DBUILD_EXTERNAL=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_PRECOMPILED_HEADERS=OFF && cmake --build build --target install -j8 这个命令的时候,
`
gmake[2]: *** [CMakeFiles/pybind11-populate.dir/build.make:99: pybind11-populate-prefix/src/pybind11-populate-stamp/pybind11-populate-download] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/pybind11-populate.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
CMake Error at /usr/share/cmake-3.22/Modules/FetchContent.cmake:1087 (message):
Build step for pybind11 failed: 2
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FetchContent.cmake:1216:EVAL:2 (__FetchContent_directPopulate)
/usr/share/cmake-3.22/Modules/FetchContent.cmake:1216 (cmake_language)
/usr/share/cmake-3.22/Modules/FetchContent.cmake:1259 (FetchContent_Populate)
cmake/external/pybind11.cmake:17 (FetchContent_MakeAvailable)
CMakeLists.txt:71 (include)`
就卡到这里了。 这是为什么,c++,gcc,cmake,都符合要求