从SFML安装最后一个版本给出了对udev的未定义引用

时间:2014-07-04 09:35:05

标签: c++ installation redhat sfml

我正在尝试从redhat 6.4上的git存储库安装最新版本的SFML,我已经将依赖udev安装为:

 yum install libudev-devel.x86_64.

但是当我尝试编译SFML时,我遇到了这些错误:

../../lib/libsfml-window.so.2.1: undefined reference to `udev_device_get_sysattr_value(udev_device*, char const*)'
../../lib/libsfml-window.so.2.1: undefined reference to `udev_device_unref(udev_device*)'
../../lib/libsfml-window.so.2.1: undefined reference to `udev_device_get_parent_with_subsystem_devtype(udev_device*, char const*, char const*)'
../../lib/libsfml-window.so.2.1: undefined reference to `udev_new()'
../../lib/libsfml-window.so.2.1: undefined reference to `udev_device_new_from_subsystem_sysname(udev*, char const*, char const*)'
../../lib/libsfml-window.so.2.1: undefined reference to `udev_unref(udev*)'

somoene可以解释我的问题来自哪里,我该如何解决? 非常感谢你的时间。

0 个答案:

没有答案