Multiple libraries were found for GSM.h and SoftwareSerial.h

I am trying to code a program that takes an integer value from another arduino via bluetooth (HC-05) and according to that value, sends a sms. I am just trying to make this code work on IDE, I havent set up the system yet. I chose Arduino Mega 2560 for debugging but Im getting these errors :

Multiple libraries were found for GSM.h and SoftwareSerial.h

Please mind that I am noob in Arduino so can you guys tell me how can I make this code work ? And also how should I connect hc 05 bluetooth module and gsm shield to Arduino Mega 2560 or Arduino Uno?

#include <GSM.h>
#include <SoftwareSerial.h>
#define PINNUMBER ""        
SoftwareSerial BluetoothSerial(11, 10); // TX | RX

GSM gsm;
GSM_SMS sms;
char remoteNum[20] = "*******";   // 
void SEND_SMS(char text[200]) 
{
  sms.beginSMS(remoteNum);
  sms.print(text);
  sms.endSMS();
  delay(5000);              // 
}
</code>

 
void setup()
{
  
  Serial.begin(9600);
  BluetoothSerial.begin(9600);  
  gsm.begin();   
}
 
void loop(){
 int message;
if (BluetoothSerial.available()>0){
 message=BluetoothSerial.read();
}
 if (message==1)
 {
      SEND_SMS("1 no swd detected");
  
 }
 else if (message==2)
 {
   SEND_SMS("2 no swd detected "); // 
 }
 

}

Multiple libraries were found for GSM.h and SoftwareSerial.h

The IDE usually tells you in which paths it found these libraries. One of these paths is possibly wrong but as you failed to provide the complete error message it's up to you to find out.

BTW, this is only a warning, the IDE should compile nevertheless.

If you use the IDE 1.8.10: There is a - less important - error in the IDE. If your sketch compiles it should be run.
A huge number of questions are present in the forum about this wrong message!
I hope, somebody will correct it soon.