fatal error: gst/gstconfig.h: No such file or directory
Created by: IQAndreas
When trying to compile from source, I get the following error message:
root@echo:/opt/FreeRDP-src# make && make install
[ 41%] Built target winpr
... (unnecessary output removed)
[ 91%] Building C object channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/tsmf_gstreamer.c.o
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27:0,
from /usr/include/gstreamer-1.0/gst/gst.h:35,
from /opt/FreeRDP-src/channels/tsmf/client/gstreamer/tsmf_gstreamer.c:36:
/usr/include/gstreamer-1.0/gst/gstelement.h:55:27: fatal error: gst/gstconfig.h: No such file or directory
compilation terminated.
channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/build.make:54: recipe for target 'channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/tsmf_gstreamer.c.o' failed
make[2]: *** [channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/tsmf_gstreamer.c.o] Error 1
CMakeFiles/Makefile2:2625: recipe for target 'channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/all' failed
make[1]: *** [channels/tsmf/client/gstreamer/CMakeFiles/tsmf-client-gstreamer-decoder.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
The file gstconfig.h
can be found on my system in the following locations:
/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include/gst/gstconfig.h
/usr/include/gstreamer-0.10/gst/gstconfig.h
I have compiled without errors several months ago, but when I updated to commit b5f8900bc45abbb36a03f58eed105c17a68e0516, it would no longer compile (I also updated to Ubuntu 14.10, which may instead have been what broke it).
I'm not sure whether to file the bug here or at gstreamer
's bugtracker.
I could change line 56 in gstelement.h
from #include <gst/gstconfig.h>
to #include <include/gst/gstconfig.h>
, but I'm kind of worried modifying the source will break other things, and there is probably a better way.