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
CMake can't generate a library librealsense2 #2719
Comments
Hi @Medo91code |
@Medo91code - I assume this was resolved. If you have any additional question please feel free to open additional issues. |
I have similar issue and I could not resolve it yet. I use windows 10 64bit. cmake fails to generate the code. got the following errors (see also attached image): Do you have any suggestions how to be able to build realsense library without errors? kind regards, |
I have similar issue and I could not resolve it yet. I use windows 10 64bit. cmake fails to generate the code. got the following errors (see also attached image): Do you have any suggestions how to be able to build realsense library without errors? kind regards, |
Hi, I encountered this issue as well, and toggling BUILD_WITH_TM2 did not work for me either. I looked in the files mentioned in the error, and found out that in I read this as a hardcoded way to incorporate the libusb, which we don't need.
This made it possible for me to generate the appropriate files, and continue with the steps mentioned here. I have been able to generate a pyrealsense2.pyd file, and I have been able to run the examples afterwards... So far everything seems OK. @dorodnic , can you let me know if I might have "broken" some functionalities by doing this, or whether this might have been a bug? If so, should I create a new issue? @spaltiel @honghande , can you check if this also solves your issues? Good luck! |
Hi, If I remember correctly we have needed to do the following:
BTW It also took us very long time to solve this cmake issues and to be able to generate solutions. Hope it will help you. Good luck, |
Hi
I must make a project that can detect objects used Intel Realsense D435 .
"the Operating System is windows 8.1 x64 "
I decided that i use Visual Studio 2017 , C++ , Opencv for this project. i can work with Opencv in VS2017 but i can't use Realsense D435 library (librealsense2) with opencv and VS2017 , because CMake can't generate this library . I followed the these Steps "Getting Started" (in this link : https://github.com/IntelRealSense/librealsense/tree/master/wrappers/opencv#windows ) .
but when i did step 10 , it shows to me these Errors:
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.13/Modules/ExternalProject.cmake:2329 (message): error: could not find git for clone of libusb Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.13/Modules/ExternalProject.cmake:3105 (_ep_add_download_command) CMakeLists.txt:807 (ExternalProject_Add)
how can i fix that ?
can you please tell me what can i do step by step ?
Thank you very much
The text was updated successfully, but these errors were encountered: