[mythtv] lcddevice.cpp:137: error: ‘system’ was not declared in this scope

Bart Schelstraete bart at schelstraete.org
Sun Nov 4 12:23:45 UTC 2007


> > Anybody who has the same problem, and knows what to do?
>
> wild guess: you are using a gcc-4.3 snapshot.
> try to include <stdlib.h> or <cstdlib> which should help.
>
> I've already got a patch to be able to compile mythtv with
> gcc-4.3 but haven't got around to go all the way through mythplugins
> yet.
>

Indeed, I'm currently solving this by adding "#include <stdlib.h>" to
the cpp files.
And until now the build is working, except for the osdsurface.h, which
contained the  'int ystride' 2 times..which resulted in an error.



Bart

-- 
Schelstraete Bart
http://www.schelstraete.org
bart at schelstraete.org


More information about the mythtv-dev mailing list