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

请教个问题,我不能成功的编译,环境是正常的。 #42

Open
uer7e67 opened this issue Jan 8, 2024 · 2 comments
Open

Comments

@uer7e67
Copy link

uer7e67 commented Jan 8, 2024

我使用了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,都符合要求

@huanggan52
Copy link
Member

cmake -S. -Bbuild -DBUILD_EXTERNAL=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_PRECOMPILED_HEADERS=OFF && cmake --build build --target install -j8 这个命令是编译xrprimer,请先确保已经切换分支到xrslam-opencv3.4.7

@uer7e67
Copy link
Author

uer7e67 commented Jan 29, 2024

感谢回复。我已经解决了这个问题是因为有个东西没有拉取下来的原因,还有个问题求助,那个数据采集器是哪个工程?我并没有在OpenXRLab中找到

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

2 participants