Skip to content

SFML compiling error #1

Description

@Martoni

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions