Arduino UNO + LSM9DS1 problem

seems this is code for another library

as the code resembles this example