Error message "no matching function for call to" appears when trying to validate

Hi, I am a bit of a novice with Arduino and are currently trying to use someone else’s code for my Electronic scale project.

Here is my code:

#include <HX711.h>
#define DOUT 3
#define CLK  2

HX711 scale(DOUT, CLK);
#include <Wire.h>
#include <LiquidCrystal_PCF8574.h>

LiquidCrystal_PCF8574 lcd(0x3F);
float calibration_factor = -96650;
const int SW = 7;
void setup() 
{
  Wire.begin();
  Wire.beginTransmission(0x3F);
  pinMode(SW, INPUT_PULLUP);
  lcd.setBacklight(255);
  lcd.begin(16, 2);
  lcd.setCursor(0,0);
  lcd.print("Nissi 3kgLoadCell");
  lcd.setCursor(0,1);
  lcd.print("Press Sw to tare");
  scale.set_scale(-849650); 
  scale.tare();           
}
void loop() 
{
  lcd.setCursor(0,1);
  lcd.print("W =  ");
  lcd.setCursor(6,1);
  lcd.print(scale.get_units(),3); 
  lcd.println(" kg   ");
  int x = digitalRead(SW);
  if(x == LOW)
  {
      scale.tare();  
  }
}

And here is the error message I am receiving:
no matching function for call to 'HX711::HX711(int, int)'

Any Ideas on where it may be going wrong?
Thanks

HX711 scale(DOUT, CLK);

The constructor takes no parameters. The pins are set in a begin statement.

// Initialize library with data output pin, clock input pin and gain factor.
// Channel selection is made by passing the appropriate gain:
// - With a gain factor of 64 or 128, channel A is selected
// - With a gain factor of 32, channel B is selected
// The library default is "128" (Channel A).
void begin(byte dout, byte pd_sck, byte gain = 128);

See the HX711.h source code.

You are probably using the wrong reference (or wrong examples).

This version of HX711 Class Reference on Intel's web site states that it has a constructor with two int parameters. But this is not an Arduino library.

This version of Arduino library for HX711 says that its HX711 class has no such constructor.

You are using the later version of the library.

My mistake. I did not expect multiple libraries of the same name, Should know better by now. That is why it asks, in the sticky, to provide links to any libraries not included with the IDE.