Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML-Master compile error  (Read 1978 times)

0 Members and 1 Guest are viewing this topic.

Inpet Programmer

  • Newbie
  • *
  • Posts: 2
    • View Profile
SFML-Master compile error
« on: March 13, 2014, 09:07:45 am »
When I try compiling SFML-Master with cmake-gui I can this error...

Quote
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:133 (find_package)

I completely followed the tutorial so I'm not sure where I messed up.
I tried re-installing UDev with package manager with no luck. Your help will be appreciated!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: SFML-Master compile error
« Reply #1 on: March 13, 2014, 09:13:05 am »
You must install the development package for libudev.
Laurent Gomila - SFML developer

Inpet Programmer

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: SFML-Master compile error
« Reply #2 on: March 13, 2014, 05:44:55 pm »
Thanks a lot, it worked!

amhndu

  • Newbie
  • *
  • Posts: 42
  • Err, err and err again, but less, less and less
    • View Profile
    • amhndu.github.io
    • Email
Re: SFML-Master compile error
« Reply #3 on: May 08, 2014, 05:38:22 am »
You must install the development package for libudev.
In the official tutorial on the website , there is no mention of udev.
Here's what's mentioned:
Quote
pthread
opengl
xlib
xrandr
freetype
glew
jpeg
sndfile
openal
It should also state udev,just a heads up.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: SFML-Master compile error
« Reply #4 on: May 08, 2014, 09:18:02 am »
Yes. The reason why udev is not mentioned is that this dependency was added only in the development version on GitHub. It's not part of SFML 2.1, but will be in 2.2.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development: