Moi je suis sur Mac(OS X version 10.6.8 )
mais ma version de l'IDE est un peu ancienne (version 1.0.1).
Aucun des exemples que tu donnes compile : toujours "erreur de compilation".
Dessous il y a tout un tas d'explication mais je suis incapable de comprendre:
In file included from chenillard.cpp:1:
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:17: error: ISO C++ forbids initialization of member 'eOFF'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:17: error: making 'eOFF' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:17: error: ISO C++ forbids in-class initialization of non-const static member 'eOFF'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:18: error: ISO C++ forbids initialization of member 'eON'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:18: error: making 'eON' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:18: error: ISO C++ forbids in-class initialization of non-const static member 'eON'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:33: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:33: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:33: error: ISO C++ forbids in-class initialization of non-const static member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:34: error: ISO C++ forbids initialization of member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:34: error: making 'compteur' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:34: error: ISO C++ forbids in-class initialization of non-const static member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:49: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:49: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:49: error: ISO C++ forbids in-class initialization of non-const static member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:51: error: ISO C++ forbids initialization of member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:51: error: making 'compteur' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:51: error: ISO C++ forbids in-class initialization of non-const static member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:52: error: ISO C++ forbids initialization of member 'b'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:52: error: making 'b' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:52: error: ISO C++ forbids in-class initialization of non-const static member 'b'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:53: error: ISO C++ forbids initialization of member 'c'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:53: error: making 'c' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:53: error: ISO C++ forbids in-class initialization of non-const static member 'c'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:71: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:71: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:71: error: ISO C++ forbids in-class initialization of non-const static member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:72: error: ISO C++ forbids initialization of member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:72: error: making 'compteur' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:72: error: ISO C++ forbids in-class initialization of non-const static member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:73: error: ISO C++ forbids initialization of member 'e'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:73: error: making 'e' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:73: error: ISO C++ forbids in-class initialization of non-const static member 'e'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:86: error: ISO C++ forbids initialization of member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:86: error: making 'compteur' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:86: error: ISO C++ forbids in-class initialization of non-const static member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:87: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:87: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:87: error: ISO C++ forbids in-class initialization of non-const static member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:89: error: ISO C++ forbids initialization of member 'montageinverse'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:89: error: making 'montageinverse' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:89: error: ISO C++ forbids in-class initialization of non-const static member 'montageinverse'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:102: error: a brace-enclosed initializer is not allowed here before '{' token
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:102: error: ISO C++ forbids initialization of member 'lum'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:102: error: making 'lum' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:102: error: invalid in-class initialization of static data member of non-integral type 'int [32]'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:103: error: ISO C++ forbids initialization of member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:103: error: making 'compteur' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:103: error: ISO C++ forbids in-class initialization of non-const static member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:104: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:104: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:104: error: ISO C++ forbids in-class initialization of non-const static member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:117: error: ISO C++ forbids initialization of member 'boucle'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:117: error: making 'boucle' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:117: error: ISO C++ forbids in-class initialization of non-const static member 'boucle'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:119: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:119: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:119: error: ISO C++ forbids in-class initialization of non-const static member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:120: error: ISO C++ forbids initialization of member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:120: error: making 'compteur' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:120: error: ISO C++ forbids in-class initialization of non-const static member 'compteur'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:137: error: ISO C++ forbids initialization of member 'temps'
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:137: error: making 'temps' static
/Applications/Arduino 2.app/Contents/Resources/Java/libraries/AnimLum/animlum.h:137: error: ISO C++ forbids in-class initialization of non-const static member 'temps'