This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Error builing with IFP support

Tags: None
(comma "," separated)
Dan
Karma
0

Error builing with IFP support

Tue Mar 07, 2006 7:44 pm
Hi all,

I can\'t seem to build IFP support into 1.4 beta 1and 2. What am I missing?

then mv -f \".deps/ifpmediadevice.Tpo\" \".deps/ifpmediadevice.Plo\"; else rm -f \".deps/ifpmediadevice.Tpo\"; exit 1; fi
In file included from ifpmediadevice.cpp:25:
ifpmediadevice.h:22:21: error: usb.h: No such file or directory
ifpmediadevice.h:91: error: ISO C++ forbids declaration of \'usb_dev_handle\' with no type
ifpmediadevice.h:91: error: expected \';\' before \'*\' token
ifpmediadevice.cpp: In constructor \'IfpMediaDevice::IfpMediaDevice()\':
ifpmediadevice.cpp:108: error: class \'IfpMediaDevice\' does not have any field named \'m_dh\'
ifpmediadevice.cpp: In member function \'virtual bool IfpMediaDevice::openDevice(bool)\':
ifpmediadevice.cpp:142: error: \'usb_init\' was not declared in this scope
ifpmediadevice.cpp:144: error: \'m_dh\' was not declared in this scope
ifpmediadevice.cpp:144: error: \'usb_dev_handle\' was not declared in this scope
ifpmediadevice.cpp:144: error: expected primary-expression before \')\' token
ifpmediadevice.cpp:144: error: expected `;\' before \'ifp_find_device\'
ifpmediadevice.cpp:157: error: invalid use of undefined type \'struct usb_device\'
ifpmediadevice.h:90: error: forward declaration of \'struct usb_device\'
ifpmediadevice.cpp:169: error: invalid use of undefined type \'struct usb_device\'
ifpmediadevice.h:90: error: forward declaration of \'struct usb_device\'
ifpmediadevice.cpp:169: error: \'usb_claim_interface\' was not declared in this scope
ifpmediadevice.cpp:185: error: invalid use of undefined type \'struct usb_device\'
ifpmediadevice.h:90: error: forward declaration of \'struct usb_device\'
ifpmediadevice.cpp:185: error: \'usb_release_interface\' was not declared in this scope
ifpmediadevice.cpp: In member function \'virtual bool IfpMediaDevice::closeDevice()\':
ifpmediadevice.cpp:204: error: \'m_dh\' was not declared in this scope
ifpmediadevice.cpp:206: error: invalid use of undefined type \'struct usb_device\'
ifpmediadevice.h:90: error: forward declaration of \'struct usb_device\'
ifpmediadevice.cpp:206: error: \'usb_release_interface\' was not declared in this scope


Thank you in advance.
-Dan
Dan
Karma
0

Re:Error builing with IFP support

Tue Mar 07, 2006 8:39 pm
Never mind ....

# yum install libusb-devel

Thanks,
Dan


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]