It requires scan_video.c, which includes linux/videodev2.h, so the code is clearly not meant to be built for Windows, even if GTK is available there. Signed-off-by: Руслан Ижбулатов <lrn1986@xxxxxxxxx> --- zbarcam/Makefile.am.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zbarcam/Makefile.am.inc b/zbarcam/Makefile.am.inc index b112783..ad16d3c 100644 --- a/zbarcam/Makefile.am.inc +++ b/zbarcam/Makefile.am.inc @@ -5,12 +5,14 @@ zbarcam_zbarcam_LDADD = zbar/libzbar.la CLEANFILES += zbarcam/.libs/zbarcam zbarcam/moc_zbarcam_qt.h if HAVE_GTK +if !WIN32 bin_PROGRAMS += zbarcam/zbarcam-gtk zbarcam_zbarcam_gtk_SOURCES = zbarcam/zbarcam-gtk.c zbarcam/scan_video.c zbarcam_zbarcam_gtk_CPPFLAGS = $(GTK_CFLAGS) $(AM_CPPFLAGS) zbarcam_zbarcam_gtk_LDADD = $(GTK_LIBS) gtk/libzbargtk.la zbar/libzbar.la \ $(AM_LDADD) endif +endif if HAVE_QT bin_PROGRAMS += zbarcam/zbarcam-qt -- 2.4.0