Getting error : "collect2.exe: error: ld returned 1 exit status"

HI guys having trouble with the Arduino uno , I don’t know any thing about programing and pls help me correct this code for a voice controlled Bluetooth code(HC05) pls guys find my mistake in this

the code:

#include <HC05.h>

SoftwareSerial BT(10, 11)
String readvoice;

void setup() {
BT.begin(9600);
Serial.begin(9600);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);

}
//-----------------------------------------------------------------------//
void loop() {
while (BT.available()){
delay(10);
char c = BT.read();
readvoice += c;
}
if (readvoice.length() > 0) {
Serial.println(readvoice);

if(readvoice == “forward”)
{
digitalWrite(3, HIGH);
digitalWrite (4, HIGH);
digitalWrite(5,LOW);
digitalWrite(6,LOW);
delay(100);
}

else if(readvoice == “reverse”)
{
digitalWrite(3, LOW);
digitalWrite(4, LOW);
digitalWrite(5, HIGH);
digitalWrite(6,HIGH);
delay(100);
}

else if (readvoice == “right”)
{
digitalWrite (3,HIGH);
digitalWrite (4,LOW);
digitalWrite (5,LOW);
digitalWrite (6,LOW);
delay (100);

}

else if ( readvoice == “left”)
{
digitalWrite (3, LOW);
digitalWrite (4, HIGH);
digitalWrite (5, LOW);
digitalWrite (6, LOW);
delay (100);
}

else if (readvoice == “stop”)
{
digitalWrite (3, LOW);
digitalWrite (4, LOW);
digitalWrite (5, LOW);
digitalWrite (6, LOW);
delay (100);
}

readvoice="";}}

the error is :

C:\Users\AMITSR~1\AppData\Local\Temp\ccw2AmqD.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_F1DMUR9I2F21ZQ9.ino.cpp.o.2222’:

ccw2AmqD.ltrans0.o:(.text.startup+0x64): undefined reference to `HC05::HC05(int, int)’

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Uno.

guys thx in advance , pls hurry gotta use this code on jan 1 for the project

Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.

Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read.

Please post a link to where you downloaded the HC05 library from or if you installed it via Library Manager then state the full name of the library.

Thx for the advice will keep it in mind when posting next.

the library was download from git hub link below;

thx for the response and hope to get an answer from u guys quickly

Abhinav_Srivastava:
Thx for the advice will keep it in mind when posting next.

You are aware that you can edit your opening post and add the code tags now?

To the problem; your code seems to be missing a semi-colon after SoftwareSerial BT(10, 11)

From what I can tell your code doesn't even use the HC05 library beyond the include. You might want to study the examples at File > Examples > HC05 and the documentation at GitHub - jdunmire/HC05: Arduino Library for the HC-05 bluetooth transciever