mit-biomimetics / Cheetah-Software

MIT License
2.53k stars 911 forks source link

Problem with Qt #73

Open amirAlamian opened 3 years ago

amirAlamian commented 3 years ago

Hi I`m trying to build the software and I stock in this error

CMake Error at sim/CMakeLists.txt:45 (find_package):
  By not providing "FindQt5Gamepad.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "Qt5Gamepad", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5Gamepad" with
  any of the following names:

    Qt5GamepadConfig.cmake
    qt5gamepad-config.cmake

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

-- Configuring incomplete, errors occurred!

I install qt via apt with this commands

sudo apt-get install build-essential

sudo apt-get install qtcreator

sudo apt-get install qt5-default

but it`s not working. can you please help me with this problem.

DI-X commented 3 years ago

I used the Qt online installer to install Qt 5.12 and it fixed this error.

Babak-SSH commented 2 years ago

I solved it by installing libqt5gamepad5-dev with sudo apt install -y libqt5gamepad5-dev