From owner-freebsd-multimedia@FreeBSD.ORG Sat Oct 13 19:03:28 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A28E916A420 for ; Sat, 13 Oct 2007 19:03:28 +0000 (UTC) (envelope-from heikorecktenwald@googlemail.com) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.238]) by mx1.freebsd.org (Postfix) with ESMTP id 286BA13C467 for ; Sat, 13 Oct 2007 19:03:27 +0000 (UTC) (envelope-from heikorecktenwald@googlemail.com) Received: by hu-out-0506.google.com with SMTP id 28so820618hub for ; Sat, 13 Oct 2007 12:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; bh=S00z25qF1Mi3vPPvj8KvO2podHgO8y61JM3ppUx4pqA=; b=Aq9gfHosvb2tjIT50S95xbFqTkg5KvIPu6lsAK+a9T8yFGqAP8RfR18kYSVbwG8hqFMFGiCtFIXcoJSDguILFeygwhdg/xwS6c/8QqOX4vfhw32ZXF9zRLNT6lIWS0PCFh8Vabg19tAXCaQsIy/wWojCA57u/aSH95GVgFOPvdI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=ZTZrt3KH4t8ycqKwPj15XNc6R2I0jUld9TpPdKdN68+JHeh4q90L53UAuAeZ0VH1PhecDM97gzNx4qSYDLtr/uCp7BX8e3xZQq+XMI2K6p2GrOHNGLf308hwlfUTihfgbgSd8C5fM+gL/z0Yw8qnj31HI59CMLJPo2K3HO0vUP8= Received: by 10.86.98.18 with SMTP id v18mr3476629fgb.1192302199720; Sat, 13 Oct 2007 12:03:19 -0700 (PDT) Received: from ?192.168.70.3? ( [213.196.225.108]) by mx.google.com with ESMTPS id v23sm4446570fkd.2007.10.13.12.03.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Oct 2007 12:03:17 -0700 (PDT) Message-ID: <4711161B.1040704@uni-bonn.de> Date: Sat, 13 Oct 2007 21:01:47 +0200 User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Jeremy Messenger References: <4709E898.706@uni-bonn.de> <470BFFB2.8000500@uni-bonn.de> <20071010083828.jbheis3em8ockg4o@0x20.net> <470C7F7A.1080200@gmail.com> <20071010101425.iqz40wmlc0cw0cok@0x20.net> <471099ED.6090600@uni-bonn.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit From: Heiko Recktenwald Cc: freebsd-multimedia@freebsd.org Subject: Re: multimedia/setpwc etc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Oct 2007 19:03:28 -0000 All: Jeremy Messenger wrote: > On Sat, 13 Oct 2007 05:11:57 -0500, Heiko Recktenwald > wrote: > >> Solved! Not yet tested, but it looks good so far! >>> Seems to work!! My framerate was 5!! Btw, there is a very enthusiastic webpage of a setpwc user, an astro-photographer, at http://uk.geocities.com/greg.beeke@btinternet.com/PWC.htm with a lot of links at the bottom of the page. >>>> From setpwc.c: >>>> >>>> >>>> #include >>>> #include >>>> #include >>>> #include >>>> #include >>>> #include >>>> #include >>>> #include >>>> #include >>>> #define _LINUX_TIME_H 1 /* to get things compile on kernel 2.6.x */ >>>> #include >>>> >> >> I simply replaced the last line with >> >> #include "/usr/local/include/linux/videodev.h" > > It's not correct. You need to add -I${LOCALBASE}/include in the CFLAGS > and possible -L${LOCALBASE}/lib in LDFLAGS if it needs. > The Makefile should look like << VERSION=1.2 CFLAGS+=-Wall -O2 -DVERSION=\"$(VERSION)\" -I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib <...> >> ? But I dont know enough of the ports system, how to write "patches" etc, to submit it yet. Maybe later ;-) Best and thanks, H.