On Wednesday 19 May 2010 11:47:45 Laurent Tarrisse wrote:
> Hello Pascal,
> 
> Great news !
> Thanks to port QuteCom on BSD*
> 
> I think your probem comes from _WebcamDriver_ class
> It needs to be declared as a friend of V4L(2)Webcamdriver
> 
> qutecom-2.2/libs/webcam/inlclude/webcam/WebcamDriver.h:142
> 
> #if defined(OS_WINDOWS)
>      friend class DirectXWebcamDriver;
> #elif defined(OS_MACOSX)
>      friend class QuicktimeWebcamDriver;
> #elif defined(OS_LINUX)
>      friend class V4LWebcamDriver;
>      friend class V4L2WebcamDriver;
> #endif
> 
> You need to add a case for BSD*
> 
> Laurent
> 
> Le 16/05/10 00:54, Pascal Stumpf a écrit :
> > Hello,
> > I would very much welcome a port of QuteCom to other OSes than
> > Windows, Mac OS X and Linux, namely *BSD or OpenSolaris. I’ve
> > started out by trying to compile it on FreeBSD. (Most likely, one of 
the
> > problems I will encounter is missing ALSA support, but there’s an 
ALSA
> > compatibility layer already in the works.)
> > 
> > First thing I found out: While the base dir for the header
> > linux/videodev.h is /usr/include on Linux systems, it’s
> > /usr/local/include on FreeBSD (header files installed via a
> > v4l-compat-port). Currently, cmake does not check for this, and 
there is
> > no way to add an
> > additional include directory for the pixertool/v4l stuff, at least 
none I
> > am aware of. So I had to hack
> > build/pixertool/CMakeFiles/pixertool.dir/flags.make.
> > 
> > The error I get now does not look like an OS-specific error:
> > 
> > 
/home/pascal/src/qutecom/qutecom-2.2/libs/webcam/include/webcam/WebcamDri
> > ver.h: In member function 'virtual void V4LWebcamDriver::run()':
> > 
/home/pascal/src/qutecom/qutecom-2.2/libs/webcam/include/webcam/WebcamDri
> > ver.h:159: error: 'void 
WebcamDriver::frameBufferAvailable(piximage*)' is
> > private
> > 
/home/pascal/src/qutecom/qutecom-2.2/libs/webcam/src/v4l/V4LWebcamDriver
> > .cpp:289: error: within this context
> > *** Error code 1
> > 
> > 
> > Any help is appreciated, as I don’t know much about C++ yet …
> > _______________________________________________
> > QuteCom-dev mailing list
> > [email protected]
> > http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Okay, I’m now up to the point where I’m running into ALSA issues. 
Basically, I only had to add a few defined(__FreeBSD__)s each time it 
checks for Linux, change #include <asm/types.h> to #include 
<sys/types.h> for BSD and disable integrated ffmpeg, libpurple, 
speex etc. 

An ALSA compatibility port for FreeBSD is coming up soon, so I’ll just 
wait for that, especially since there is no ‘official’ QuteCom 2.2 
release yet anyway, and hence no source tarball yet.
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to