Open richelbilderbeek opened 2 years ago
My error:
Unknown CMake command "qt_add_resources".
Full error:
Running /usr/local/bin/cmake /home/richel/GitHubs/game '-GCodeBlocks - Unix Makefiles' -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ -DCMAKE_C_COMPILER:STRING=/usr/bin/gcc -DCMAKE_PREFIX_PATH:STRING=/usr -DQT_QMAKE_EXECUTABLE:STRING=/usr/lib/qt5/bin/qmake in /tmp/QtCreator-mWtMfK/qtc-cmake-fqITLnIj.
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.25.1")
-- Found SFML 2.5.1 in /usr/lib/x86_64-linux-gnu/cmake/SFML
-- Configuring incomplete, errors occurred!
See also "/tmp/QtCreator-mWtMfK/qtc-cmake-fqITLnIj/CMakeFiles/CMakeOutput.log".
CMake Error at src/CMakeLists.txt:36 (qt_add_resources):
Unknown CMake command "qt_add_resources".
CMake process exited with exit code 1.
Running /usr/local/bin/cmake /home/richel/GitHubs/game '-GCodeBlocks - Unix Makefiles' in /tmp/QtCreator-mWtMfK/qtc-cmake-fqITLnIj.
-- Found SFML 2.5.1 in /usr/lib/x86_64-linux-gnu/cmake/SFML
-- Configuring incomplete, errors occurred!
See also "/tmp/QtCreator-mWtMfK/qtc-cmake-fqITLnIj/CMakeFiles/CMakeOutput.log".
CMake Error at src/CMakeLists.txt:36 (qt_add_resources):
Unknown CMake command "qt_add_resources".
Note that sudo apt install cmake-qt-gui
does not fix the problem, although it seems very smart to do so :-)
Tips:
git submodule update --init --remote --recursive
From then:
git submodule update
I want this Issue, it is a prerequisite for #739 :-)
@swom is working on using CMake to build our game