Code doesn't name type

I have all the correct libraries for components that I am using, however, i keep having this error

'SparkFunMPL3115A2' does not name a type

code below:

#include <Wire.h>
#include "SparkFunMPL3115A2.h"
#include "SevSeg.h"
#include <Bounce2.h>

//#define SERIAL_DEBUG //Used for activating Serial Debugging

#define TITLE_MODE 1
#define VALUE_MODE 0

#define ALT 0
#define TOP 1
#define BOT 2
#define DIFF 3
#define STBY 4

//Create an instance of the object
SparkFunMPL3115A2 myPressure;
SevSeg myDisplay;

code below

That is not all of your code, and your synopsis of the error is useless. Post ALL of your code, and the COMPLETE error message(s). And, post links to the non-standard libraries you are using.

(deleted)