SICKAG / sick_scan_xd

A versatile driver for a wide range of SICK LiDAR and RADAR devices, providing support for both Linux (native, ROS 1, ROS 2) and Windows (native, ROS 2) platforms.
Apache License 2.0
110 stars 86 forks source link

Error LNK2001 cannot parse external symbol SickScanApiLoadLibrary #393

Closed ark2001 closed 2 weeks ago

ark2001 commented 1 month ago

hello: I compile the code in the following way。 fe4367f0d6a9f9c7514e74b8f0f9d21

I used a few functions: 1a0bf46880a266e3caf148cd9b1f611

But I appear the following error while using it in my project.:Only “SickScanApiLoadLibrary” unable to link 68350eb287932e4130f1671e327263d

rostest commented 1 month ago

Thanks for your feedback. SickScanApiLoadLibrary is implemented in sick_scan_xd_api_wrapper.c and loads sick_scan_xd_shared_lib.dll at runtime. Please add the file src/sick_scan_xd_api/sick_scan_xd_api_wrapper.c to your project and make sure that the environment variable PATH contains the folder with sick_scan_xd_shared_lib.dll.