Download the Adafruit_LSM303 library from the Arduino Library Manager.
Open up the Arduino Library Manager:
Search for the Adafruit LSM303 library and install it
Be sure you have the correct serial port and board type selected under the Tools menu, then upload the sketch to your Flora.