Open mongolia19 opened 4 years ago
What's your OS? It only supports 20.04, I couldn't get it working on my 18.04 machine either.
What's your OS? It only supports 20.04, I couldn't get it working on my 18.04 machine either.
I can build and run the code in 18.04.
in sim/CMakeLists.txt change the Qt version number to which you install:
set(Qt5Core_DIR ~/Qt/5.12.0/gcc_64/lib/cmake/Qt5Core) set(Qt5Widgets_DIR ~/Qt/5.12.0/gcc_64/lib/cmake/Qt5Widgets) set(Qt5Gamepad_DIR ~/Qt/5.12.0/gcc_64/lib/cmake/Qt5Gamepad)
Hi! When I am building the whole project, I found that the make programme can not find the QTlib even I have given the right path: /home/idroid/Desktop/clion-2020.1.1/bin/cmake/linux/bin/cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/home/idroid/Qt/Tools/QtCreator/lib/Qt/lib -G "CodeBlocks - Unix Makefiles" /home/idroid/Desktop/Cheetah-Software
Mini-Cheetah build disabled -- We are on a Linux system -- Embedded is OFF -- Printing is ON -- Profiling is ON -- User interrupt is ON -- Floats are OFF -- Long integers (64bit) are ON -- Code coverage is OFF -- MKL Pardiso: ON -- Floats are OFF -- Long integers (64bit) are ON CMake Error at sim/CMakeLists.txt:19 (find_package): Could not find a package configuration file provided by "Qt5Core" with any of the following names:
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set "Qt5Core_DIR" to a directory containing one of the above files. If "Qt5Core" provides a separate development package or SDK, be sure it has been installed.
I have use the CMAKE_PREFIX_PATH and I also have tried add SET(Qt5Core_DIR "/home/idroid/Qt/Tools/QtCreator/lib") in CMAKELists.txt but still get the same error, why? Please help, thank you! Yujian BAO