← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 373711] Re: _XiGetDevicePresenceNotifyEvent can't be used from C++

 

** 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.



References