Redeclaration of Code Error

I am developing a code that incorporates two example codes (T5403 Barometric Sensor & Sparkfun Micro OLED Breakout). I keep getting an error code that says:

In file included from /Users/nedim/Documents/Arduino/sketch_Air_Pressure___LED_final_/sketch_Air_Pressure___LED_final_.ino:7:0:
/Users/nedim/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master 2/src/SFE_MicroOLED.h:130:2: error: redeclaration of ‘MODE_SPI’
MODE_SPI,
^
In file included from /Users/nedim/Documents/Arduino/sketch_Air_Pressure___LED_final_/sketch_Air_Pressure___LED_final_.ino:4:0:
/Users/nedim/Documents/Arduino/libraries/Sparkfun_T5403_Barometric_Sensor_Library/src/SparkFunT5403.h:42:2: note: previous declaration ‘interface_mode MODE_SPI’
MODE_SPI,
^
In file included from /Users/nedim/Documents/Arduino/sketch_Air_Pressure___LED_final_/sketch_Air_Pressure___LED_final_.ino:7:0:
/Users/nedim/Documents/Arduino/libraries/SparkFun_Micro_OLED_Arduino_Library-master 2/src/SFE_MicroOLED.h:131:2: error: redeclaration of ‘MODE_I2C’
MODE_I2C,
^
In file included from /Users/nedim/Documents/Arduino/sketch_Air_Pressure___LED_final_/sketch_Air_Pressure___LED_final_.ino:4:0:
/Users/nedim/Documents/Arduino/libraries/Sparkfun_T5403_Barometric_Sensor_Library/src/SparkFunT5403.h:43:2: note: previous declaration ‘interface_mode MODE_I2C’
MODE_I2C,
^

exit status 1
Error compiling."

If anyone has any idea what could be wrong, it would be very helpful, My code for the project is as follows: #include <Wire.h> //Include Wire if you’re using I2C
#include <SparkFunT5403.h> //Include Sparkfun Sensor Library
#include <Wire.h> //Include Wire if using I2C
#include <SPI.h> // Include SPI if you’re using SPI
#include <SFE_MicroOLED.h> // Include the SFE_MicroOLED library

T5403 barometer(MODE_I2C);
//Create variables to store results
float temperature_c, temperature_f;
double pressure_abs, pressure_relative, altitude_delta, pressure_baseline;

// Create Variable to store altitude in (m) for calculations;
double base_altitude = 1655.0; // Altitude of SparkFun’s HQ in Boulder, CO. in (m)

void setup() {
Serial.begin(9600);
//Retrieve calibration constants for conversion math.
barometer.begin();
// Grab a baseline pressure for delta altitude calculation.
pressure_baseline = barometer.getPressure(MODE_ULTRA);
}

void loop() {

// Read temperature from the sensor in deg C. This operation takes about
// 4.5ms to complete.
temperature_c = barometer.getTemperature(CELSIUS);

// Read temperature from the sensor in deg F. This operation takes about
// 4.5ms to complete. Converting to Fahrenheit is not internal to the sensor.
// Additional math is done to convert a Celsius reading.
temperature_f = barometer.getTemperature(FAHRENHEIT);

// Read pressure from the sensor in Pa. This operation takes about
// 67ms to complete in ULTRA_MODE. Other Modes are available for faster, yet
// less precise measurements.
// MODE_LOW = 5 ms
// MODE_STANDARD = 11 ms
// MODE_HIGH = 19 ms
// MODE_ULTRA = 67 ms

pressure_abs = barometer.getPressure(MODE_ULTRA);

// Convert abs pressure with the help of altitude into relative pressure
// This is used in Weather stations.
pressure_relative = sealevel(pressure_abs, base_altitude);

// Taking our baseline pressure at the beginning we can find an approximate
// change in altitude based on the differences in pressure.
altitude_delta = altitude(pressure_abs , pressure_baseline);

// Report values via UART
Serial.print("Temperature C = ");
Serial.println(temperature_c / 100);

Serial.print("Temperature F = ");
Serial.println(temperature_f / 100);

Serial.print("Pressure abs ¶= ");
Serial.println(pressure_abs);

Serial.print("Pressure relative (hPa)= ");
Serial.println(pressure_relative);

Serial.print("Altitude change (m) = ");
Serial.println(altitude_delta);

delay(1000);
}

// Thanks to Mike Grusin for letting me borrow the functions below from
// the BMP180 example code.

double sealevel(double P, double A)
// Given a pressure P ¶ taken at a specific altitude (meters),
// return the equivalent pressure (mb) at sea level.
// This produces pressure readings that can be used for weather measurements.
{
return((P/100)/pow(1-(A/44330.0),5.255));
}

double altitude(double P, double P0)
// Given a pressure measurement P ¶ and the pressure at a baseline P0 ¶,
// return altitude (meters) above baseline.
{
return(44330.0*(1-pow(P/P0,1/5.255)));
}

//////////////////////////////////
// MicroOLED Object Declaration //
//////////////////////////////////
#define PIN_RESET 9 // Connect RST to pin 9
#define PIN_DC 8 // Connect DC to pin 8
#define PIN_CS 10 // Connect CS to pin 10
#define DC_JUMPER 0

MicroOLED oled(PIN_RESET, PIN_DC, PIN_CS); // SPI declaration
//MicroOLED oled(PIN_RESET, DC_JUMPER); // I2C declaration

int SCREEN_WIDTH = oled.getLCDWidth();
int SCREEN_HEIGHT = oled.getLCDHeight();

float d = 3;
float px = {
-d, d, d, -d, -d, d, d, -d };
float py = {
-d, -d, d, d, -d, -d, d, d };
float pz = {
-d, -d, -d, -d, d, d, d, d };

float p2x = {
0,0,0,0,0,0,0,0};
float p2y = {
0,0,0,0,0,0,0,0};

float r = {
0,0,0};

#define SHAPE_SIZE 600
// Define how fast the cube rotates. Smaller numbers are faster.
// This is the number of ms between draws.
#define ROTATION_SPEED 0

void setup2()
{
oled.begin();
oled.clear(ALL);
oled.display();
}

void loop2()
{
drawCube();
delay(ROTATION_SPEED);
}

void drawCube()
{
r[0]=r[0]+PI/180.0; // Add a degree
r[1]=r[1]+PI/180.0; // Add a degree
r[2]=r[2]+PI/180.0; // Add a degree
if (r[0] >= 360.0PI/180.0) r[0] = 0;
if (r[1] >= 360.0
PI/180.0) r[1] = 0;
if (r[2] >= 360.0*PI/180.0) r[2] = 0;

for (int i=0;i<8;i++)
{
float px2 = px*;*
float py2 = cos(r[0])py _- sin(r[0])pz;
float pz2 = sin(r[0])py _+ cos(r[0])pz;

_ float px3 = cos(r[1])px2 + sin(r[1])pz2;
float py3 = py2;

float pz3 = -sin(r[1])px2 + cos(r[1])pz2;
float ax = cos(r[2])px3 - sin(r[2])py3;
float ay = sin(r[2])px3 + cos(r[2])py3;
float az = pz3-150;_

p2x = SCREEN_WIDTH/2+axSHAPE_SIZE/az;

p2y = SCREEN_HEIGHT/2+aySHAPE_SIZE/az;

_ }

* oled.clear(PAGE);
for (int i=0;i<3;i++)
{
oled.line(p2x,p2y,p2x[i+1],p2y[i+1]);
oled.line(p2x[i+4],p2y[i+4],p2x[i+5],p2y[i+5]);
oled.line(p2x,p2y,p2x[i+4],p2y[i+4]);
}
oled.line(p2x[3],p2y[3],p2x[0],p2y[0]);
oled.line(p2x[7],p2y[7],p2x[4],p2y[4]);
oled.line(p2x[3],p2y[3],p2x[7],p2y[7]);
oled.display();
}*_

First, welcome to the Forum. To get the most from this Forum, please read the "How to use this Forum" post by Nick Gammon which appears at the top of this Forum, especially on the proper way to post code here.

Second, you have included the Wire.h header file twice at the top of your program. That should remove some of the errors.

Third, spend a little time reading up on the use of arrays in C. They can greatly simplify some parts of your code.