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

Author Topic: Linux setup troubles  (Read 12039 times)

0 Members and 1 Guest are viewing this topic.

BruceJohnJennerLawso

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • My Code on Github
Re: Linux setup troubles
« Reply #15 on: March 17, 2014, 07:29:51 pm »
Ahh, so...

I tried installing the files manually, but no luck so far. Can you show me an exact file breakdown just so I can make sure Ive got it right Dabbertorres?

I also tried the build from scratch route, but Im getting hung up in the cmake process, specifically:

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

I checked and I do have UDev installed, is there something in the SFML make files that I need to edit to fix this?
Quote
The computer is mightier than the pen, the sword, and usually the programmer.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Linux setup troubles
« Reply #16 on: March 17, 2014, 07:35:48 pm »
You must have the development package of udev.
Laurent Gomila - SFML developer

BruceJohnJennerLawso

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • My Code on Github
Re: Linux setup troubles
« Reply #17 on: March 17, 2014, 07:45:23 pm »
Do you have a rough guess as to what that might be called? I don't see anything promising in the repo, although it might have a unusual name (given how odd "devudev" sounds)
Quote
The computer is mightier than the pen, the sword, and usually the programmer.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Re: Linux setup troubles
« Reply #18 on: March 17, 2014, 07:52:05 pm »
libudev-dev

(The scheme libxy-dev is quite common)
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

BruceJohnJennerLawso

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • My Code on Github
Re: Linux setup troubles
« Reply #19 on: March 17, 2014, 08:19:33 pm »
Thank you, that worked. I now have SFML 2.1 built from source.

But Im still getting one more thing while linking:

/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../../lib/libsfml-graphics.so: undefined reference to `memcpy@GLIBC_2.14'
collect2: error: ld returned 1 exit status
 
Quote
The computer is mightier than the pen, the sword, and usually the programmer.

 

anything