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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1460343

Title:
  SFML don't work with CMake

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to