> I'm trying to link a simple application that is using > mtdev_open() with mtdev library, and I would like to do it using the cpp > compiler. > > It is failing, and it looks to me that you need to add the > extern "C" before the routines declaration in mtdev.h. > > I added the following patch, which seems to fix the problem. > Or am I missing anything?
Hi Armando, there has been no support for c++ so far, but your patch is generally valid. I will see to that it gets fixed. I you are having strange link problems and running natty, there could also be a transient problem. I have noticed some oddities myself. Thanks, Henrik _______________________________________________ Mailing list: https://launchpad.net/~multi-touch-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~multi-touch-dev More help : https://help.launchpad.net/ListHelp

