_XiGetDevicePresenceNotifyEvent can't be used from C++
Bug #373711 reported by
Alberto Milone
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libxi (Ubuntu) |
Fix Released
|
Medium
|
Alberto Milone | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Alberto Milone |
Bug Description
Binary package hint: libxi-dev
Architecture: any
Distro: Ubuntu 9.04
If I call the DevicePresence() function (in XInput.h) from C++ I get the following error:
undefined reference to `_XiGetDevicePr
TEST CASE:
install libxi-dev
create a new C++ program
include XInput.h
call the DevicePresence() function
try to compile the program
NOTE: it works well using C
Upstream has the fix already:
http://
Changed in libxi (Ubuntu): | |
assignee: | nobody → Alberto Milone (albertomilone) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in libxi (Ubuntu Karmic): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
To post a comment you must log in.
SRU Request:
I have cherrypicked the fix from upstream and it works for me. Please accept in in jaunty-proposed.
Use case:
It should be possible to catch Xinput events from C++ as we do in C.