libdc1394 API Version 2 calls absent from 2.1.2
I currently use libdc1394-2.0.2 for firewire camera control. I have a Point Grey Research (PGR) Firefly MV camera which is USB, but allows the use of libusb and libdc1394-2.1.2 to control this camera. I've installed version 2.1.2 and am attempting to use the PGR example files for this configuration. They, by default, import libdc1394 .h files with a strange filename - each is referenced in the code as <dc1394/
An example of a failed build:
~/Desktop/grabdma# make
g++ -c -I. -Wall -g -DLINUX grabdma.cpp
grabdma.cpp:71: error: ‘FORMAT_
grabdma.cpp:72: error: ‘MODE_640x480_MONO’ was not declared in this scope
grabdma.cpp:73: error: ‘FRAMERATE_30’ was not declared in this scope
grabdma.cpp:116: error: ‘dc1394_
grabdma.cpp: In function ‘void cleanup()’:
grabdma.cpp:136: error: ‘dc1394Camera’ was not declared in this scope
grabdma.cpp:136: error: ‘dc1394_
grabdma.cpp:137: error: ‘dc1394_
grabdma.cpp: In function ‘int main(int, char**)’:
grabdma.cpp:155: error: ‘dc1394_
grabdma.cpp:176: error: ‘dc1394_
grabdma.cpp:233: error: ‘dc1394_
grabdma.cpp:251: error: ‘SPEED_400’ was not declared in this scope
grabdma.cpp:256: error: ‘dc1394Camera’ was not declared in this scope
grabdma.cpp:256: error: ‘dc1394_
grabdma.cpp:274: error: ‘dc1394_
grabdma.cpp:290: error: ‘dc1394_
grabdma.cpp:296: error: ‘dc1394_
grabdma.cpp:313: error: ‘dc1394_
grabdma.cpp:356: error: ‘dc1394_
grabdma.cpp:361: error: ‘dc1394_
make: *** [grabdma.o] Error 1
The checksum for the libdc1394-2.1.2 distro I'm trying to use:
~/Desktop# md5sum libdc1394-
b85f1ade88d8d96
And the source files that, supposedly, should contain the above methods:
~/Desktop/
-rw-rw-r-- 1 500 500 8281 2009-06-10 22:05 camera.h
-rw-rw-r-- 1 500 500 3921 2009-06-10 22:05 capture.h
-rw-rw-r-- 1 500 500 14422 2009-06-10 22:05 control.h
-rw-rw-r-- 1 500 500 9398 2009-06-10 22:05 conversions.h
-rw-rw-r-- 1 500 500 1911 2009-06-10 22:05 dc1394.h
-rw-rw-r-- 1 500 500 7844 2009-06-10 22:05 format7.h
-rw-rw-r-- 1 500 500 7625 2009-06-10 22:05 internal.h
-rw-rw-r-- 1 500 500 6940 2009-06-10 22:05 iso.h
-rw-rw-r-- 1 500 500 11281 2009-06-10 22:05 log.h
-rw-rw-r-- 1 500 500 5577 2009-06-10 22:05 offsets.h
-rw-rw-r-- 1 500 500 3342 2009-06-10 22:05 platform.h
-rw-rw-r-- 1 500 500 6477 2009-06-10 22:05 register.h
-rw-rw-r-- 1 500 500 5361 2009-06-10 22:05 types.h
-rw-rw-r-- 1 500 500 3541 2009-06-10 22:05 utils.h
-rw-rw-r-- 1 500 500 10789 2009-06-10 22:05 video.h
~/Desktop/
-rw-rw-r-- 1 500 500 83294 2009-06-10 22:05 bayer.c
-rw-rw-r-- 1 500 500 3076 2009-06-10 22:05 capture.c
-rw-rw-r-- 1 500 500 71935 2009-06-10 22:05 control.c
-rw-rw-r-- 1 500 500 31998 2009-06-10 22:05 conversions.c
-rw-rw-r-- 1 500 500 9348 2009-06-10 22:05 enumeration.c
-rw-rw-r-- 1 500 500 34381 2009-06-10 22:05 format7.c
-rw-rw-r-- 1 500 500 10241 2009-06-10 22:05 internal.c
-rw-rw-r-- 1 500 500 4310 2009-06-10 22:05 iso.c
-rw-rw-r-- 1 500 500 4262 2009-06-10 22:05 log.c
-rw-rw-r-- 1 500 500 10644 2009-06-10 22:05 register.c
-rw-rw-r-- 1 500 500 11974 2009-06-10 22:05 utils.c
Can you help me find these methods?
Thanks!
Thomson
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- libdc1394 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Thomson Comer
- Solved:
- Last query:
- Last reply: