multi-touch-dev team mailing list archive
-
multi-touch-dev team
-
Mailing list archive
-
Message #00661
Re: not able to compile using arm-linux-g++
On Thu, Dec 16, 2010 at 08:44:47PM +0100, Armando Visconti wrote:
> All,
>
> 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,
The preprocessor directives can be found in mtdev 1.1, which will
arrive in natty alpha 2. You can also use them immediately from the
utouch unstable ppa.
Thanks,
Henrik
Follow ups
References