#1 Linux1394Capture.cpp doesn't compile

closed
nobody
None
5
2008-08-30
2008-06-24
No

While trying to build ivt, compilation of Linux1394Capture.cpp fails:

VideoCapture/Linux1394Capture.cpp: In constructor 'CLinux1394Capture::CLinux1394Capture(CVideoCaptureInterface::VideoMode, CVideoCaptureInterface::ColorMode, ImageProcessorCV::BayerPatternType, CVideoCaptureInterface::FrameRate, int, ...)':
VideoCapture/Linux1394Capture.cpp:124: error: 'transform' was not declared in this scope
VideoCapture/Linux1394Capture.cpp: In constructor 'CLinux1394Capture::CLinux1394Capture(CVideoCaptureInterface::VideoMode, int, int, int, int, int, CVideoCaptureInterface::ColorMode, ImageProcessorCV::BayerPatternType, int, ...)':
VideoCapture/Linux1394Capture.cpp:212: error: 'transform' was not declared in this scope

Where is transform supposed to come from? This is current ivt 1.1.4 and libdc1394 2.0.2 on
x86_64-suse-linux (openSUSE 11.0).

Discussion

  • Pedram Azad

    Pedram Azad - 2008-08-30

    Logged In: YES
    user_id=1410475
    Originator: NO

    Hi,

    you are using the wrapper for version 1.x of libdc1394 with a version 2.x being installed on your system. Try setting USE_LIBDC1394 = 0 and USE_LIBDC1394_V2 in IVT/src/Makefile.base. That should resolve the problem.

    Pedram

     
  • Pedram Azad

    Pedram Azad - 2008-08-30
    • status: open --> closed
     

Log in to post a comment.