Open spectra543 opened 11 months ago
add_library(DBoW2 SHARED ${SRCS_DBOW2} ${SRCS_DUTILS})
to add_library(DBoW2 STATIC ${SRCS_DBOW2} ${SRCS_DUTILS})
and,set_property(TARGET DBoW2 PROPERTY POSITION_INDEPENDENT_CODE ON)
${PROJECT_SOURCE_DIR}/Thirdparty/DBoW2/lib/libDBoW2.so
with ${PROJECT_SOURCE_DIR}/Thirdparty/DBoW2/lib/libDBoW2.a
Hope this help!
i have the same issue , i tried doing your method and it still didn't work
i have the same issue , i tried doing your method and it still didn't work
Have you rebuild ORBSLAM3 as well? Do you have .a
file in Thirdparty/DBoW2/lib/libDBoW2.a after rebuild?
well no i will try to rebuild it now
okay that worked ! but now the build failed again..
can you help?
okay that worked ! but now the build failed again..
can you help?
Your OpenCV version in ROS is different with the one in your machine. I assume you have build cvbridge, edit the file CMakeList.txt in CVBridge to force it to use OpenCV 4.9.
no i haven't build CVBbridge .. should i? i don't even know what and where it is .
Okay if it is the case i suggest you downgrade your opencv in your ubuntu to 4.2. I belive that would be the most straightforward solution
the thing is , i have opencv 4.2 and i have no idea where 4.9 is coming from
Have you build with source before?
I figured that and it build successfully but now when i run it i can't see anything in the camera and I don’t know from where it get camera input , like it always says “1 camera in the atlas” even when i deactivated the laptop camera and no usb cam
@mjunsen123 Good tutorial my friend, but, can you help-me? after the changes at CMake and generate .a file, I received that error:
Never see this error before. Can you please confirm you have CVBridge (vision_opencv) installed?
I think yes:
And can you confirm that you have same version of OpenCV in both your ROS and Ubuntu?
i don't know how I can see on ROS, but on ubuntu is 4.5.4
I am not sure but I think it may due to different version of openCV in Ros and Ubuntu. I am aware of this but I am not sure if this is your case. What I did is I build opencv and cvbridge from source, so I can specific the version used in ORBSLAM3
Yeah, I think is the same version, but I'm not sure about that. Do you have same tutorial showing how I can make this build?
Hi guy i try to colcon build ORB_SLAM3_ROS2 after i run this line "colcon build --symlink-install --packages-select orbslam3" this error happens.
i use ros2 foxy opencv 4.2.0 ubuntu 20.04 anyone know how to fix thankyou!