kompiliert jetzt auch auf ubuntu 16.04 lts

test16bit
Stefan Jahn 4 years ago
parent 608e546366
commit 23dc1a1471

@ -2,7 +2,7 @@
TARGET = $(APP)
CPP = c++
CPPFLAGS = -ggdb -Wall -O0 `pkg-config --cflags gtk+-3.0 gmodule-export-2.0` -Wl,--export-dynamic -I/usr/include -DBUILD_LINUX=1
CPPFLAGS = -std=c++11 -ggdb -Wall -O0 `pkg-config --cflags gtk+-3.0 gmodule-export-2.0` -Wl,--export-dynamic -I/usr/include -DBUILD_LINUX=1
INCLUDES =
LDFLAGS =
LIBS = `pkg-config --libs gtk+-3.0 gmodule-export-2.0` -L/usr/lib -ljpeg

@ -7,6 +7,7 @@
#include <list>
#include <string>
#include <stdlib.h>
#include <string.h>
#include "gui.h"
#include "video.h"
#include "filter.h"

@ -9,6 +9,7 @@
#include <string>
#include <list>
#include <stdint.h>
#include <jpeglib.h>
#include <linux/videodev2.h>
#include <setjmp.h>

@ -6,6 +6,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/ioctl.h>
@ -306,7 +307,9 @@ void VideoDev::PrintCaps(uint32_t caps) {
if (caps & V4L2_CAP_VIDEO_CAPTURE) printf (" V4L2_CAP_VIDEO_CAPTURE\n");
if (caps & V4L2_CAP_EXT_PIX_FORMAT) printf (" V4L2_CAP_EXT_PIX_FORMAT\n");
#ifdef V4L2_CAP_META_CAPTURE
if (caps & V4L2_CAP_META_CAPTURE) printf (" V4L2_CAP_META_CAPTURE\n");
#endif
if (caps & V4L2_CAP_STREAMING) printf (" V4L2_CAP_STREAMING\n");
if (caps & V4L2_CAP_DEVICE_CAPS) printf (" V4L2_CAP_DEVICE_CAPS\n");
if (caps & V4L2_CAP_TUNER) printf (" V4L2_CAP_TUNER\n");

@ -1,4 +1,5 @@
#include <string.h>
#include "video.h"
#include "config.h"
#include "gui.h"

Loading…
Cancel
Save