# Problema con CMake ..

**URL:** https://discourse.cmake.org/t/problema-con-cmake/5574
**Category:** Usage
**Tags:** os:macos
**Created:** [April 29, 2022, 2:38pm UTC](https://discourse.cmake.org/t/problema-con-cmake/5574 "2022-04-29T14:38:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DarioGR](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dariogr/32/2386_2.png) [@DarioGR](https://discourse.cmake.org/u/DarioGR)
#### Post date: [April 29, 2022, 2:38pm UTC](https://discourse.cmake.org/t/problema-con-cmake/5574/1 "2022-04-29T14:38:39Z")

</div>

Buen día, podrian ayudarme por favor. Cuando ingreso cmake … me muestra lo siguiente:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake\_minimum\_required):  
Compatibility with CMake \< 2.8.12 will be removed from a future version of  
CMake.

Update the VERSION argument value or use a … suffix to tell  
CMake that the project does not need compatibility with older versions.

CMake Warning at CMakeLists.txt:79 (find\_package):  
By not providing “FindSDL2.cmake” in CMAKE\_MODULE\_PATH this project has  
asked CMake to find a package configuration file provided by “SDL2”, but  
CMake did not find one.

Could not find a package configuration file provided by “SDL2” with any of  
the following names:

```
SDL2Config.cmake
sdl2-config.cmake

```

Add the installation prefix of “SDL2” to CMAKE\_PREFIX\_PATH or set  
“SDL2\_DIR” to a directory containing one of the above files. If “SDL2”  
provides a separate development package or SDK, be sure it has been  
installed.

– Could NOT find FFTW (missing: FFTW\_LIBRARIES FFTW\_INCLUDE\_DIRS)  
CMake Warning at CMakeLists.txt:86 (message):  
Unable to find SDL2 library. It is either not installed or CMake cannot  
find it. In the latter case, setting the USE\_FINDSDL2 variable might help:

```
 $ cmake -D USE_FINDSDL2 ..

```

CMake Error at CMakeLists.txt:91 (message):  
Aborting

– Configuring incomplete, errors occurred!  
See also “/Users/dariogr/Desktop/kbd-audio/build/CMakeFiles/CMakeOutput.log”.  
See also “/Users/dariogr/Desktop/kbd-audio/build/CMakeFiles/CMakeError.log”.

---

<div class="post-metadata">

### Author: ![DarioGR](https://discourse.cmake.org/user_avatar/discourse.cmake.org/dariogr/32/2386_2.png) [@DarioGR](https://discourse.cmake.org/u/DarioGR)
#### Post date: [April 29, 2022, 3:22pm UTC](https://discourse.cmake.org/t/problema-con-cmake/5574/2 "2022-04-29T15:22:04Z")

</div>

Corrección, ahora me sale solo esto:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake\_minimum\_required):  
Compatibility with CMake \< 2.8.12 will be removed from a future version of  
CMake.

Update the VERSION argument value or use a … suffix to tell  
CMake that the project does not need compatibility with older versions.

– Could NOT find FFTW (missing: FFTW\_LIBRARIES FFTW\_INCLUDE\_DIRS)  
CMake Warning at CMakeLists.txt:95 (message):  
FFTW library not available. Some targets will not be built

– Configuring done  
– Generating done  
– Build files have been written to: /Users/dariogr/Desktop/kbd-audio/build
