On 11/20/2015 01:39 PM, Nikita Barawade wrote:
../../../LLAPI/build/Source/libLLAPI.so: undefined reference to
`udev_device_get_devnode'
Before this, while buildinga library libLLAPI.so I got error " fatal
error: libudev.h: No such file or directory" .
It worked fine after installing libudev-dev .
These errors indicate that libLLAPI.so uses function from libudev but
probably does not actually link to the library.
Assuming it is missing you will need an appropriate
target_link_libraries() call for your LLAPI target so that it links to
libudev.
Nils
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake