benoitryder / panettopon

A Panel de Pon / Tetris Attack clone
2 stars 0 forks source link

SFML compiling error #1

Open Martoni opened 4 years ago

Martoni commented 4 years ago

I can't manage to compile with CMake. I have an error concerning SFML.

$ mkdir build; cd build
$ cmake ../
...
cmake ../
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   system
CMake Warning at /usr/share/cmake-3.7/Modules/FindProtobuf.cmake:387 (message):
  Protobuf compiler version doesn't match library version 3.0.0
Call Stack (most recent call first):
  src/CMakeLists.txt:19 (find_package)

-- Interface server: enabled
-- Interface curses: enabled
CMake Error at src/gui/CMakeLists.txt:2 (find_package):
  By not providing "FindSFML.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SFML", but
  CMake did not find one.

  Could not find a package configuration file provided by "SFML" (requested
  version 2.1) with any of the following names:

    SFMLConfig.cmake
    sfml-config.cmake

  Add the installation prefix of "SFML" to CMAKE_PREFIX_PATH or set
  "SFML_DIR" to a directory containing one of the above files.  If "SFML"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/home/fabien/myapp/panettopon/build/CMakeFiles/CMakeOutput.log".
See also "/home/fabien/myapp/panettopon/build/CMakeFiles/CMakeError.log".

I installed sfml-dev packet but maybe forgot something :

$ sudo apt-get install libsfml-dev libsfml-dev
benoitryder commented 4 years ago

Your SFML version is most likely too recent. panettopon is old and has not been updated for some time. It requires SFML 2.1 (as sted in the error log) which has been superseeded for some time.

Martoni commented 4 years ago

Ok. I tryied to make migration on newest version without success for the moment.