Keep on getting very many errors for the script and don't know how to fix them

In reply #2 you were asked to use code tags. Read How to use this forum, point 7.

In reply #2 you were also asked to post at least some of the error messages. Why don't you do that? Some vague description of the error will not help us to help you. There is more in the output window than just two lines; copy all of them and paste them here.

Please provide links to the libraries that you used. Usually libraries come with examples; do the examples compile?