** 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-X,
which is subscribed to libxi in ubuntu.

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to