madhu Posted August 25, 2016 Report Share Posted August 25, 2016 Hi, I'm facing the following error while building the widget demo.I'm building demo for Linux-Frame buffer. Please someone help me to resolve it. .build/obj/GFXLIB/src/ginput/ginput_mouse.o: In function `_gmouseInit': /home/user/Downloads/ugfx_2.5/src/ginput/ginput_mouse.c:653: undefined reference to `GMOUSEVMT_OnlyOne' /home/user/Downloads/ugfx_2.5/src/ginput/ginput_mouse.c:654: undefined reference to `GMOUSEVMT_OnlyOne' collect2: error: ld returned 1 exit status make: *** [.build/example] Error 1 Link to comment Share on other sites More sharing options...
Joel Bodenmann Posted August 25, 2016 Report Share Posted August 25, 2016 The Linux-Framebuffer board files only contain drivers & board files for passive display output. They don't contain anything that handles mouse/touch inputs. If your touchscreen/mouse is accessible through the Linux input event system, you can simply use the Linux-Framebuffer-Touch board files which will automatically include the /drivers/ginput/touch/Linux-Event driver. You can find more information about this here: https://wiki.ugfx.io/index.php/Linux#Touchscreen_.2F_Mouse And a complete tutorial here: https://wiki.ugfx.io/index.php/Raspberry_Pi Also, this new Linux-Framebuffer-Touch board file has been added just a few days ago. You might want to click the "Follow" button on the µGFX-Development blog to stay up-to-date about these kind of new things, updates & bug fixes: I hope that helps. Let us know if you have any other questions. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now