Public bug reported:

Binary package hint: libdc1394-22

I need some backwards compatibility with libdc1394-13, so I want to
allow the user to specify a port.  So, I'm trying to use the
dc1394/linux/control.h:dc1394_camera_get_linux_port().

However, a simple test program reveals that this will not link against
libdc1394.  See blow.  MY feeling is that the libdc1394-22 shared
library is built without support for the linux/*.cc commands even though
the headers are included in libdc1394-22-dev.

If this is untrue, please advise.  Thanks.

-----------------------------
#include <dc1394/dc1394.h>
#include <dc1394/linux/control.h>

int main () {
  unsigned int cam_port;
  dc1394camera_t * camera;

  dc1394_camera_get_linux_port(camera, &cam_port);
}
------------------------------
m...@computer:~/test$ g++ -o test test.cc -L/usr/lib -ldc1394
/tmp/ccwaJsYq.o: In function `main':
test.cc:(.text+0x1f): undefined reference to 
`dc1394_camera_get_linux_port(__dc1394_camera*, unsigned int*)'
collect2: ld returned 1 exit status

** Affects: libdc1394-22 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
cannot link libdc1394 when using dc1394/linux functions
https://bugs.launchpad.net/bugs/335873
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to