Also, wenn ich versuche, auf einem c't-VDR das Plugin zu kompilieren, passiert folgendes:
Code
vdr:/etc/vdr/plugins/src/graphlcd-0.0.7# GRAPHLCD_DRIVER=T6963 make plugins
graphlcd.c:31: warning: No include path in which to find vdr/plugin.h
graphlcd.c:32: warning: No include path in which to find vdr/status.h
In file included from graphlcd.c:35:
display.h:33: warning: No include path in which to find vdr/thread.h
display.h:34: warning: No include path in which to find vdr/player.h
In file included from graphlcd.c:37:
i18n.h:33: warning: No include path in which to find vdr/i18n.h
display.c:37: warning: No include path in which to find vdr/tools.h
display.c:38: warning: No include path in which to find vdr/menu.h
In file included from display.c:40:
display.h:33: warning: No include path in which to find vdr/thread.h
display.h:34: warning: No include path in which to find vdr/player.h
In file included from display.c:42:
i18n.h:33: warning: No include path in which to find vdr/i18n.h
graphlib.c:33: warning: No include path in which to find vdr/tools.h
font.c:32: warning: No include path in which to find vdr/tools.h
In file included from i18n.c:30:
i18n.h:33: warning: No include path in which to find vdr/i18n.h
t6963.c:87: warning: No include path in which to find vdr/tools.h
make: *** Keine Regel, um »plugins« zu erstellen. Schluss.
Alles anzeigen
Meine Sources liegen in /etc/vdr/plugins/src/graphlcd-0.0.7 .
Wahrscheinlich müssen in dem Makefile die Pfade angepasst werden, das ist mir schon klar.
Code
# Makefile for a Video Disk Recorder plugin
#
# $Id$
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name.
#
PLUGIN = graphlcd
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
### The C++ compiler and options:
CXX ?= g++
CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual
### The directory environment:
DVBDIR = ../../../../DVB
VDRDIR = ../../..
LIBDIR = ../../lib
TMPDIR = /tmp
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config
### The version number of VDR (taken from VDR's "config.h"):
VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
### The name of the distribution archive:
ARCHIVE = $(PLUGIN)-$(VERSION)
PACKAGE = vdr-$(ARCHIVE)
### Includes and Defines (add further entries here):
INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
Alles anzeigen
Bloß wohin sollen sie zeigen ?
Habe keinen Plan...
Brauche ich womöglich noch den Sourcecode des VDR, da er ja weiter oben die 'config.h' anziehen will ?