S
S
Sergo Zar2020-12-25 00:06:47
MinGW
Sergo Zar, 2020-12-25 00:06:47

Error when compiling SFML on Windows?

I'm trying to build the sfml library via cmake-gui and I get the following error:

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (VORBIS)
  does not match the name of the calling package (Vorbis).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/Modules/FindVorbis.cmake:25 (find_package_handle_standard_args)
  cmake/Macros.cmake:279 (find_package)
  src/SFML/Audio/CMakeLists.txt:70 (sfml_find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring done
Generating done

I realized that I'm doing something wrong. But what?

screenshot of set parameters from cmake-gui
5fe5006b01daa996630762.png


Ps I compile programs through g++ directly.
Pps I do these actions on Windows 10
ppps compiler from under mingw

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2020-12-25
@vabka

It also says what is wrong and how to fix it.
Add the -Who-devs flag

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question