Re: pragma's and variables in library
Your pragma statements can't be in the header file; they have to be in your program. What you can do is put the pragma statements in the header file as a comment, and then paste it into your program. That way, you can ensure that all of your sensors are set up correctly.
With your variables, you'll probably want to use parameters in your functions as in this example: http://www.education.rec.ri.cmu.edu/previews/robot_c_products/teaching_rc_tetrix_preview/reference/hp_functions.pdf
Because the robots for Ring it Up are configured differently, you're right, you can't just make one library.
Sorry for the delay in the response. I hope that helps. If you have any other questions, please let us know.