← Back to team overview

multi-touch-dev team mailing list archive

Re: not able to compile using arm-linux-g++

 

> 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



Follow ups

References