kanti@kanti:~$ cd Cockatrice
kanti@kanti:~/Cockatrice$ mkdir build
mkdir: cannot create directory ‘build’: File exists
kanti@kanti:~/Cockatrice$ cd build
kanti@kanti:~/Cockatrice/build$ cmake ..
UPDATE TRANSLATIONS: OFF
-- Found Qt 5.2.1
CMake Warning at cockatrice/CMakeLists.txt:165 (find_package):
By not providing "FindQt5Multimedia.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5Multimedia", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Multimedia"
with any of the following names:
Qt5MultimediaConfig.cmake
qt5multimedia-config.cmake
Add the installation prefix of "Qt5Multimedia" to CMAKE_PREFIX_PATH or set
"Qt5Multimedia_DIR" to a directory containing one of the above files. If
"Qt5Multimedia" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kanti/Cockatrice/build
kanti@kanti:~/Cockatrice/build$ make
[ 74%] Automoc for target cockatrice_common
[ 74%] Built target cockatrice_common_automoc
[ 74%] Automoc for target cockatrice_protocol
[ 74%] Built target cockatrice_protocol_automoc
[ 74%] Built target cockatrice_protocol
[ 74%] Built target cockatrice_common
[ 74%] Automoc for target cockatrice
[ 74%] Built target cockatrice_automoc
[ 74%] Building CXX object cockatrice/CMakeFiles/cockatrice.dir/src/soundengine.cpp.o
/home/kanti/Cockatrice/cockatrice/src/soundengine.cpp:3:24: fatal error: QAudioOutput: No such file or directory
#include <QAudioOutput>
^
compilation terminated.
make[2]: *** [cockatrice/CMakeFiles/cockatrice.dir/src/soundengine.cpp.o] Error 1
make[1]: *** [cockatrice/CMakeFiles/cockatrice.dir/all] Error 2
make: *** [all] Error 2
kanti@kanti:~/Cockatrice/build$