There is a problem, under Linux did not work before. Found an example of a player using gstreamer . I cloned the repository and corrected the code for working with Gstreamer-1.0, I try to make in the directory! The compilation is over, but the linker begins to swear at the absence of libraries, although they are in the system and are located in the / usr / lib / x86_64-linux-gnu / folder.
Errors:
I collect on the virtual machine. I installed the gtk2.0 packages, libgstreamer1.0-dev, libgstreamer-plugins-base1.0-dev, the actual Makefile itself
CC=gcc EXTRA_WARNINGS=-Wall -W -Wformat-nonliteral -Wcast-align -Wpointer-arith \ -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes \ -Wmissing-declarations -Winline -Wundef -Wnested-externs -Wcast- qual \ -Wshadow -Wwrite-strings -Wno-unused-parameter -Wfloat-equal - pedantic -ansi -std=c99 GST_LIBS := $(shell pkg-config --libs gstreamer-1.0 gstreamer-video-1.0) GST_CFLAGS := $(shell pkg-config --cflags gstreamer-1.0 gstreamer-video-1.0) binaries=gst-player-1.0 GTK_LIBS := $(shell pkg-config --libs gtk+-2.0) GTK_CFLAGS := $(shell pkg-config --cflags gtk+-2.0) CFLAGS := -ggdb -Wall $(EXTRA_WARNINGS) LDFLAGS := LDFLAGS := -L/usr/lib/x86_64-linux-gnu/ -L/usr/lib/x86_64-linux- gnu/gstreamer-1.0 -L/usr/lib/x86_64-linux-gnu/glib-2.0 -L/usr/lib/x86_64- linux-gnu/gtk-2.0 $(binaries): gstplayer.o gst-backend.o gst-frontend.o $(binaries): CFLAGS := $(CFLAGS) $(GTK_CFLAGS) $(GST_CFLAGS) $(binaries): LIBS := $(LIBS) $(GTK_LIBS) $(GST_LIBS) all: $(binaries) $(binaries): $(CC) $(LDFLAGS) $(LIBS) -o $@ $^ %.o:: %.c $(CC) $(CFLAGS) -o $@ -c $< clean:
What do I need to do to build the application from the object files and run it?
Installed packages:


