** Description changed:

+ 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 `_XiGetDevicePresenceNotifyEvent(_XDisplay*)'
  
+ 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://cgit.freedesktop.org/xorg/lib/libXi/tree/include/X11/extensions/XInput.h#n160

-- 
_XiGetDevicePresenceNotifyEvent can't be used from C++
https://bugs.launchpad.net/bugs/373711
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