Help - what does this error message mean?

Hello,
This is the error message i am getting.

Arduino: 1.6.9 (Mac OS X), Board: "Arduino/Genuino Uno"

/Users/jillgoodridge/Documents/Arduino/space_ship/love_o_meter.ino: In function 'void loop()':
love_o_meter:49: error: 'baseline' was not declared in this scope
}
^
/Users/jillgoodridge/Documents/Arduino/space_ship/sketch_1.ino: In function 'void setup()':
sketch_1:3: error: redefinition of 'void setup()'
void setup(){
^
love_o_meter:9: error: 'void setup()' previously defined here
pinMode(pinNumber,OUTPUT);
^
/Users/jillgoodridge/Documents/Arduino/space_ship/sketch_1.ino: In function 'void loop()':
sketch_1:10: error: redefinition of 'void loop()'
void loop(){
^
love_o_meter:18: error: 'void loop()' previously defined here
Serial.print(sensorVal);
^
exit status 1
'baseline' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

if you think baseline is proerply defined in the right place, it means you are probably missing a closing } or a ; or a ) somewhere above that...

without the code we can't help

Welcome to the Forum. To get the most from this site, please read the two posts by Nick Gammon at the top of this Forum on posting questions here, especially on properly posting program code using code tags. It will help us help you.

How many tabs have you got open in the IDE ?

It looks to me as though you have at least 2 and both of them contain a setup() and loop() function.

Helpful advice but still no luck!
Here is my code.
I am such a newbie at this...and tips from more experienced users is much appreciated!

<

  const int sensorPin = A0;
const float baselineTemp = 20.0;

void setup(){
  Serial.begin(9600); //open a serial port

  for(int pinNumber = 2; pinNumber<5; pinNumber++){
    pinMode(pinNumber,OUTPUT);
    digitalWrite(pinNumber, LOW);
  }
}

void loop (){
  int sensorVal = analogRead(sensorPin);

  Serial.print("Sensor Value: ");
  Serial.print(sensorVal);
//convert the ACD reading to voltage
float voltage = (sensorVal/1024.0) * 5.0;

Serial.print(", Volts: ");
Serial.print(voltage);

Serial.print(", degrees C: ");
//convert the voltage to temperature in degrees
float temperature = (voltage - .5) * 100;
Serial.println(temperature);

if(temperature < baselineTemp){
  digitalWrite(2, LOW);
  digitalWrite(3, LOW);
  digitalWrite(4, LOW);

}else if(temperature >= baselineTemp+2 &&
temperature < baselineTemp+4){
  digitalWrite(2, HIGH);
  digitalWrite(3, LOW);
  digitalWrite(4, LOW);
}else if(temperature >= baselineTemp+4 &&
temperature < baselineTemp+6){
  digitalWrite(2, HIGH);
  digitalWrite(3, HIGH);
  digitalWrite(4, LOW);
  
}else if(temperature >= baseline+6){
  digitalWrite(2, HIGH);
  digitalWrite(3, HIGH);
  digitalWrite(4, HIGH);

}
delay (1);
}

If figured it out. Thanks for the help!

JillGoodridge:
If figured it out. Thanks for the help!

Did you figure it out, or did Google?