Open KyunghyunLee opened 5 years ago
KyunghyunLee, Have you found any solutions? I am having the same issue.
To configure the location of the orbslam source folder, set ORB_SLAM2_DIR
specifically.
You can do this on the command line with -DORB_SLAM2_DIR=/your/desired/location
.
The code that is actually trying to find ORB_SLAM can be seen here: https://github.com/jskinn/ORB_SLAM2-PythonBindings/blob/master/cmake_modules/FindORB_SLAM2.cmake Manually setting ORB_SLAM2_LIBRARY may not set the other variables (such as ORB_SLAM2_LIBRARIES), which may cause linker errors while making even if it configures correctly.
Hi @jskinn
Sorry for the novice question. How do you set the location of ORB SLAM2?
I am getting the same error and have tried to run -DORB_SLAM2_DIR=/your/desired/location
. but unsure of whether this should be a standalone command or something adjoined to cmake..
Thank you
Ah, the first part is an argument to cmake.
Try cmake -DORB_SLAM2_DIR=/home/lloyd/orbslam2 ..
from the build directory
this did not work for me sadly, it still gives the same error
When building the source code,
cannot find orb slam source folder.
When I manually set ORB_SLAM2_LIBRARY and ORB_SLAM2_INCLUDE_DIR , error occurs in
It seems that include folder is not set correctly.