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

James Cowgill 1460343 at bugs.launchpad.net
Sun May 31 01:29:48 UTC 2015


This issue was already raised upstream here:
https://github.com/SFML/SFML/issues/873

In short, using FindSFML.cmake from 2.2 (or 2.3) will not work when
compiling against 2.1. If you use the version of FindSFML.cmake from 2.1
(which is installed in /usr/share/SFML/cmake/Modules) then it should
work properly.

** Changed in: libsfml (Ubuntu)
       Status: New => Invalid

-- 
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:
  Invalid

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.

  FindSFML.cmake :
  https://raw.githubusercontent.com/SFML/SFML/master/cmake/Modules/FindSFML.cmake

  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