Closed vinod-mv closed 7 years ago
Hi, When trying to compile the source for android using instructions in the Readme, I encountered the following error:
"/lib/source/gainput/touch/GainputInputDeviceTouch.cpp:32:6: error: 'variant' was not declared in this scope"
I got it compiled by changing the line:
InputDeviceTouch::InputDeviceTouch(InputManager& manager, DeviceId device, unsigned index, DeviceVariant /variant/) :
to:
InputDeviceTouch::InputDeviceTouch(InputManager& manager, DeviceId device, unsigned index, DeviceVariant variant) :
Am I right to uncomment variant?
Yes, this variable must be uncomment for iOS and android. You can create pull request with this fix.
Sorry, it's fixed on the master branch now.
Hi, When trying to compile the source for android using instructions in the Readme, I encountered the following error:
"/lib/source/gainput/touch/GainputInputDeviceTouch.cpp:32:6: error: 'variant' was not declared in this scope"
I got it compiled by changing the line:
InputDeviceTouch::InputDeviceTouch(InputManager& manager, DeviceId device, unsigned index, DeviceVariant /variant/) :
to:
InputDeviceTouch::InputDeviceTouch(InputManager& manager, DeviceId device, unsigned index, DeviceVariant variant) :
Am I right to uncomment variant?