I am trying to install OpenCV (intel open computer vision) on my laptop. I am running Fedora Core 3 (and I am new with linux). I installed libraw1394 and libdc1394 so that I can use a firewire camera, but when I "make" opencv, there is the following error...
[root@localhost highgui]# make
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../../cv/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -O3 -DNDEBUG -Wall -fno-rtti -pipe -MT cvcap_dc1394.lo -MD -MP -MF ".deps/cvcap_dc1394.Tpo" -c -o cvcap_dc1394.lo cvcap_dc1394.cpp; \
then mv -f ".deps/cvcap_dc1394.Tpo" ".deps/cvcap_dc1394.Plo"; else rm -f ".deps/cvcap_dc1394.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../../cxcore/include -I../../cv/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -O3 -DNDEBUG -Wall -fno-rtti -pipe -MT cvcap_dc1394.lo -MD -MP -MF .deps/cvcap_dc1394.Tpo -c cvcap_dc1394.cpp -fPIC -DPIC -o .libs/cvcap_dc1394.o
cvcap_dc1394.cpp: In function `CvCapture* icvOpenCAM_DC1394(int)':
cvcap_dc1394.cpp:202: error: invalid conversion from `int' to `const char*'
cvcap_dc1394.cpp:202: error: cannot convert `char*' to `dc1394_cameracapture*' for argument `11' to `int dc1394_dma_setup_capture(raw1394_handle*, nodeid_t, int, int, int, int, int, int, int, const char*, dc1394_cameracapture*)'
make: *** [cvcap_dc1394.lo] Error 1
If anyone else has encountered this problem, i'd like to know how you solved this build problem. If anyone has any advice or a hunch on what could be causing this error, i'd appreciate hearing anything.
Thank you!
Jason
