What is the function "set_pixel_brightness", does it belong to something ?
Please modify you first post and put code tags around the sketch.
You use a pointer to a long value "Color", and then you use the content of something that is pointed by "color". Can you check your sketch again ?