# Cannot find input file: \`sdl2-config-version.cmake.in' error when installing sdl2 on Ubuntu 18.04

**URL:** <https://discourse.libsdl.org/t/cannot-find-input-file-sdl2-config-version-cmake-in-error-when-installing-sdl2-on-ubuntu-18-04/27259>\
**Category:** SDL Development\
**Created:** [February 22, 2020, 1:03am UTC](https://discourse.libsdl.org/t/cannot-find-input-file-sdl2-config-version-cmake-in-error-when-installing-sdl2-on-ubuntu-18-04/27259 "2020-02-22T01:03:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigEvil729](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/b/c37758/32.png) [@BigEvil729](https://discourse.libsdl.org/u/BigEvil729)\
**Post date:** [February 22, 2020, 1:03am UTC](https://discourse.libsdl.org/t/cannot-find-input-file-sdl2-config-version-cmake-in-error-when-installing-sdl2-on-ubuntu-18-04/27259/1 "2020-02-22T01:03:42Z")

</div>

Hi,

I am trying to install SDL2 on a VMWare pro 15 Ubuntu VM running on Windows 10.  
I am using the following directions per the SDL Wiki:

hg clone [https://hg.libsdl.org/SDL](https://hg.libsdl.org/SDL) SDL  
cd SDL  
mkdir build  
cd build  
…/configure  
make  
sudo make install

The …/configure command results in:  
… (omitted due to “new user link restriction” )  
checking for linker option --enable-new-dtags… yes  
configure: creating ./config.status  
config.status: creating Makefile  
config.status: creating sdl2-config  
config.status: creating sdl2-config.cmake  
config.status: error: cannot find input file: `sdl2-config-version.cmake.in’

After my initial attempt, I installed cmake, reran the configure with the same result.

Hopefully, someone can show me how to resolve this.  
Thanks in advance,  
Larry Evilsizer
