[Pkg-games-ubuntu] [Bug 1460343] [NEW] SFML don't work with CMake

Adrien Jussak jussak.adrien at gmail.com
Sat May 30 21:00:19 UTC 2015


Public bug reported:

I can't compile my SFML project with CMake because CMake detects SFML
1.x.x but my project uses SFML 2.x, SFML 1.x is not installed and SFML
2.1 is installed.

Error Message :
CMake Error at CMakeModules/FindSFML.cmake:357 (message):
  SFML found but version too low (requested: 2, found: 1.x.x)
Call Stack (most recent call first):
  CMakeLists.txt:11 (find_package)

This is due to a missing line in /usr/include/SFML/Config.hpp

The line is :
#define SFML_VERSION_PATCH 0

This line is present in source code of SFML.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: libsfml-dev 2.1+dfsg2-1 [modified: usr/include/SFML/Config.hpp]
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CurrentDesktop: Unity
Date: Sat May 30 22:35:38 2015
InstallationDate: Installed on 2015-05-28 (2 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: libsfml
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libsfml (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to libsfml in Ubuntu.
https://bugs.launchpad.net/bugs/1460343

Title:
  SFML don't work with CMake

Status in libsfml package in Ubuntu:
  New

Bug description:
  I can't compile my SFML project with CMake because CMake detects SFML
  1.x.x but my project uses SFML 2.x, SFML 1.x is not installed and SFML
  2.1 is installed.

  Error Message :
  CMake Error at CMakeModules/FindSFML.cmake:357 (message):
    SFML found but version too low (requested: 2, found: 1.x.x)
  Call Stack (most recent call first):
    CMakeLists.txt:11 (find_package)

  This is due to a missing line in /usr/include/SFML/Config.hpp

  The line is :
  #define SFML_VERSION_PATCH 0

  This line is present in source code of SFML.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: libsfml-dev 2.1+dfsg2-1 [modified: usr/include/SFML/Config.hpp]
  ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
  Uname: Linux 3.19.0-18-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Sat May 30 22:35:38 2015
  InstallationDate: Installed on 2015-05-28 (2 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: libsfml
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libsfml/+bug/1460343/+subscriptions



More information about the Pkg-games-ubuntu mailing list