when I start an Arduino program everything is fine, but when I want to start the programming it displays: error compiling. What can I do with this problem?
(Sorry to my English but I´m not from the country where we speak English. I must use Google translator ....)
What can I do with this problem?
Write the program correctly, so that it compiles.
If you don't understand what the compiler it telling YOU, you must tell US what the compiler is telling YOU, and you must show us your code.
If the example sketches compile ok, then it is a problem with your code.