-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Unable to link after update to 2.24 #4351
Comments
I've reverted the packages back to v2.23, this solves the problem for now:
|
Install 2.23.0 version, the latest 2.24.0 version by apt-get has issue (IntelRealSense/librealsense#4351)
@kevindehecker hello, |
* update gitignore * optimize opencv dependence setup - pre-download ippicv and model to fix "Download failed: 28; Timeout was reached" - add DCMAKE_BUILD_TYPE=Release for release build - set clone depth as 1 to avoid cloning uncessary branch * fix deps install disorder issue find command will not sort the result, added sort for deps setup in-order. don't now why "while IFS= read -r -d" will miss input line, replace the function and use dep_list for implementation * create common package for ros2 deps create common foder in package for ros2 deps, because ros2 are dependent by all other packages, this is common part that should be installed. moved 10-ros2.deps from perception and turtlebot3 to common * remove turtlebot lidar package to follow upstream changes upstream package had removed lidar package from the turtlebot package, this make our build error, so we also removed it. we have not yet verified lidar function after tb3 package removed lidar, will update the script once we get the solution. * add libssl1.1 install to avoid upgrade configure while install pyqt5-dev, it dependence libssl1.1 and will upgrade libssl1.1 if previous not upgraded. this upgrade will popup configure window to manually confim YES|NO, to avoid this confirmation, install libssl at the begining. * lower-case Turtlebot3 to keep same style * install librealsense 2.23.0 version Install 2.23.0 version, the latest 2.24.0 version by apt-get has issue (IntelRealSense/librealsense#4351) * Revert "install librealsense 2.23.0 version" This reverts commit 8de0a61. * skip common when get package common is always required and needn't configure, skip here * workaround for libssl unattached installation unattached install libssl to avoid manual configuration windows pop-up
Yes seems to work again, thanks! |
Crap, it is not working! I tumbled into the reboot trap... After a reboot (needed for something else) I could not link once more. |
That's correct - the change is in the Debian build (number) - there is no change in Librealsense. |
Error log? You mean the linker error?
Really not that helpfull, but I don't have other errors... Please specify. |
Aha, found the problem. In my CMakeList.txt I set the realsense library as follows:
Probably got that from some example in the early days. However, if I properly find the realsense package, the linker problem is solved!
|
Install 2.23.0 version, the latest 2.24.0 version by apt-get has issue (IntelRealSense/librealsense#4351)
Same problem here after 2.24 (2.24.0-0~realsense0.1243) update. Before, in QT I could link with
Now, it says
and also
does not change anything. In CMake though, before 2.24 I was doing find_library( REALSENSE_LIBRARY NAMES realsense2 PATHS /usr/local/lib)
target_link_libraries(myLib ${REALSENSE_LIBRARY} ) That does not work anymore, even with new path find_package( realsense2 REQUIRED)
include_directories( ${realsense2_INCLUDE_DIR} )
target_link_libraries(myLib ${realsense2_LIBRARY} ) But in QT it still fails. |
* version:20190627 (#13) - update ros2_realsense - update ros2_openvino_toolkit - update ros2_navigation2 - update turtlebot3 - update get_commit_id scripts * update ros2_openvino_toolkit (#14) * Optimize deps and bug fixing (#16) * update gitignore * optimize opencv dependence setup - pre-download ippicv and model to fix "Download failed: 28; Timeout was reached" - add DCMAKE_BUILD_TYPE=Release for release build - set clone depth as 1 to avoid cloning uncessary branch * fix deps install disorder issue find command will not sort the result, added sort for deps setup in-order. don't now why "while IFS= read -r -d" will miss input line, replace the function and use dep_list for implementation * create common package for ros2 deps create common foder in package for ros2 deps, because ros2 are dependent by all other packages, this is common part that should be installed. moved 10-ros2.deps from perception and turtlebot3 to common * remove turtlebot lidar package to follow upstream changes upstream package had removed lidar package from the turtlebot package, this make our build error, so we also removed it. we have not yet verified lidar function after tb3 package removed lidar, will update the script once we get the solution. * add libssl1.1 install to avoid upgrade configure while install pyqt5-dev, it dependence libssl1.1 and will upgrade libssl1.1 if previous not upgraded. this upgrade will popup configure window to manually confim YES|NO, to avoid this confirmation, install libssl at the begining. * lower-case Turtlebot3 to keep same style * install librealsense 2.23.0 version Install 2.23.0 version, the latest 2.24.0 version by apt-get has issue (IntelRealSense/librealsense#4351) * Revert "install librealsense 2.23.0 version" This reverts commit 8de0a61. * skip common when get package common is always required and needn't configure, skip here * workaround for libssl unattached installation unattached install libssl to avoid manual configuration windows pop-up * version:20190704 (#17) - update turtlebot3 - update navigation2 - update cartographer_ros * optimize deps installation (#21) - optimize script and clean redundant code - add reference url * update readme.md to rename sdk to rdk * version:20190711 (#22) * version:20190711 - update ros2 to release-dashing-20190614 - update ros2_intel_realsense to 2c28f9e3801161a853672d33981e857da9985306 - update ros2_openvino_toolkit to 3704c9341b0ce6d3da83557732bbb21b58498d86 - update gazebo9 to gazebo* - gazebo_ros_pkgs to 120097242c8da6ef4eddbb1932eacfdbd10b7b03 * fix openvino labels copy path error * new tutorial (#23) * improve logger for rdk scripts (#24) - add timestamp and filename and codeline in logger - make function logger more readability * update docs (#26) * version:20190718 (#27) * Add the tun demo script for ros2_object_analytics * version:20190718 * update docs (#28) * Update object_analytics to devel-e13d828a8ce3b615e0f7e8c9eee6b3526c205a65 (#29) * update docs (#30)
When I try to Can you test it ? |
add ${realsense2_LIBRARY} to target_link_libraries() solve this bug. |
Issue Description
After Ubuntu automatically updated librealsense to 2.24, (and rebooting!), I'm unable to link with librealsense.
Before the update to 2.24 all was fine. Even after updating I could compile, but I tried to reboot because of #4350, after which the problem appeared. Have reproduced this problem on two computers.
The text was updated successfully, but these errors were encountered: