SJTU-ViSYS / FeatureBooster

FeatureBooster: Boosting Feature Descriptors with a Lightweight Neural Network (CVPR 2023)
Apache License 2.0
277 stars 16 forks source link

CMake Error at pybind11/tools/FindPythonLibsNew.cmake:99 #17

Closed snowflakezzz closed 4 months ago

snowflakezzz commented 4 months ago

Thank you for your excellent work. When I build orbslam2_features, and run "cmake "

I met the issue: "CMake Error at pybind11/tools/FindPythonLibsNew.cmake:99 (message): Python config failure: " Screenshot from 2024-02-29 10-14-13

And I found out that it was an issue with "execute_process" in FindPythonLibsNew.cmake Screenshot from 2024-02-29 10-19-26

So I test these codes, it can work fine. Screenshot from 2024-02-29 10-12-37

Do you know how to solve this problem?

snowflakezzz commented 4 months ago

I solved this problem through: https://github.com/pybind/pybind11/pull/2196

snowflakezzz commented 4 months ago

If you solve this problem throng https://github.com/pybind/pybind11/pull/2196, you will found that you can't generate *.so file though compilation succeeded.

You better solve upper problem through updating pybind to the latest official version.