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/WebcamDriver.h:
In member function 'virtual void V4LWebcamDriver::run()':
/home/pascal/src/qutecom/qutecom-2.2/libs/webcam/include/webcam/WebcamDriver.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
QuteCom-dev@lists.qutecom.org
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

_______________________________________________
QuteCom-dev mailing list
QuteCom-dev@lists.qutecom.org
http://lists.qutecom.org/mailman/listinfo/qutecom-dev

Reply via email to