Reputation: 21
I have zero experience with Linux.
Please kindly help me with error I'm getting whilst trying to compile this application: http://winpe.com/gascop/
pi@raspberrypi:~ $ cd Downloads/gascop
pi@raspberrypi:~/Downloads/gascop $ qmake-qt4
pi@raspberrypi:~/Downloads/gascop $ make
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -
DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -
I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o mainwin.o mainwin.cpp
In file included from mainwin.cpp:29:0:
mainwin.h:38:27: fatal error: SDL/SDL_mixer.h: No such file or directory
#include "SDL/SDL_mixer.h" ^ compilation terminated.
Makefile:254: recipe for target 'mainwin.o' failed
make: *** [mainwin.o] Error 1
I have installed both libsdl-mixer1.2-dev and SDL2_mixer_devel but it seems like compilator cannot allocate these.
How to deal with that?
Thanks for any advice!
Upvotes: 2
Views: 4645
Reputation: 126
If anyone still searching for solution, following worked for me:
sudo apt install libsdl1.2-dev libsdl-mixer1.2-dev
Upvotes: 4