Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
Missing UDev dependency in tutorial
Print
Pages: [
1
]
Author
Topic: Missing UDev dependency in tutorial (Read 4989 times)
0 Members and 1 Guest are viewing this topic.
netrick
Full Member
Posts: 174
Missing UDev dependency in tutorial
«
on:
July 16, 2015, 05:21:31 pm »
In the "Compiling SFML with CMake" tutorial:
http://www.sfml-dev.org/tutorials/2.3/compile-with-cmake.php
there is a missing dependecy for Linux.
UDev is not listed and on Ubuntu 15.04 it's not installed by default. The actual package name is "libudev-dev".
Without UDev, CMake gives following errors:
(click to show/hide)
-- UDev not found.
-- UDev: You can specify includes: -DUDEV_PATH_INCLUDES=/opt/udev/include
-- currently found includes: UDEV_INCLUDE_DIR-NOTFOUND
-- UDev: You can specify libs: -DUDEV_PATH_LIB=/opt/udev/lib
-- currently found libs: UDEV_LIBRARIES-NOTFOUND
CMake Error at cmake/Modules/FindUDev.cmake:49 (MESSAGE):
Could not find UDev library
Call Stack (most recent call first):
src/SFML/Window/CMakeLists.txt:215 (find_package)
-- Configuring incomplete, errors occurred!
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: Missing UDev dependency in tutorial
«
Reply #1 on:
July 16, 2015, 06:10:37 pm »
Looks like that got accidentally removed when creating the new dependency list for SFML 2.3, because it was listed in 2.2.
Thanks for the report, will fix this soon.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Print
Pages: [
1
]
SFML community forums
»
General
»
General discussions
»
Missing UDev dependency in tutorial
anything