Skip to content
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

LIVOX_LIDAR_SDK_LIBRARY not found #128

Open
Elaine-yz opened this issue Jun 2, 2024 · 14 comments
Open

LIVOX_LIDAR_SDK_LIBRARY not found #128

Elaine-yz opened this issue Jun 2, 2024 · 14 comments

Comments

@Elaine-yz
Copy link

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LIVOX_LIDAR_SDK_LIBRARY
linked by target "livox_ros_driver2_node" in directory /home/fast-drone/ws_livox/src/livox_ros_driver2

-- Configuring incomplete, errors occurred!
See also "/home/fast-drone/ws_livox/build/CMakeFiles/CMakeOutput.log".
See also "/home/fast-drone/ws_livox/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
应该如何解决此条错误呢

@luvwinnie
Copy link

I got this error too. How can I solve it?

@Elaine-yz
Copy link
Author

Elaine-yz commented Jun 5, 2024 via email

@luvwinnie
Copy link

Oh, I found the solution by installing this repository.
https://github.com/Livox-SDK/Livox-SDK2/tree/master

@Elaine-yz
Copy link
Author

Elaine-yz commented Jun 5, 2024 via email

@luvwinnie
Copy link

luvwinnie commented Jun 5, 2024

No you need to install the SDK not only download it.
It have the installation instructions on the readme just as follows.

$ git clone https://github.com/Livox-SDK/Livox-SDK2.git
$ cd ./Livox-SDK2/
$ mkdir build
$ cd build
$ cmake .. && make -j
$ sudo make install

@Elaine-yz
Copy link
Author

Elaine-yz commented Jun 5, 2024 via email

@luvwinnie
Copy link

May i know whats kind of error messages is it?

@Elaine-yz
Copy link
Author

Elaine-yz commented Jun 5, 2024 via email

@luvwinnie
Copy link

I'm not sure I can response instantly, but you can send the errors once I got time I can response to you.

@Elaine-yz
Copy link
Author

Elaine-yz commented Jun 5, 2024 via email

@Elaine-yz
Copy link
Author

hello,I encountered an error as shown in the picture while installing the configuration file for sdk2.
屏幕截图 2024-06-06 170917
11.Today I was able to run the command "./build. sh ROS1". However, when running Livox ROS driver 2, the same error occurred with the command "roslaunch livox_ros_driver2 rviz_HAP. launch" as mentioned above.
屏幕截图 2024-06-06 170801
22.It seems that there is a problem with the link to the LiDAR. Perhaps you have a solution and idea to solve the problem

@georgflick
Copy link

georgflick commented Jun 6, 2024

Do you have an HAP lidar?
If so, you need to adjust the IP of the sensor in the HAP_config:28 and change the IP's in the host_net_info to your local host ip of your computer.

hello,I encountered an error as shown in the picture while installing the configuration file for sdk2. <img alt="屏幕截图 2024-06-06 170917" ....

@Elaine-yz
Copy link
Author

thank you very much~!I am using MID-360 and I have found a solution! It turned out that my Ethernet IP was set incorrectly.

@CLearner123
Copy link

don`t forget "sudo make install"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants