I get errorC:\Users\Administrator\Downloads\LCR_meter-main\code\LCR_meter/LCR_meter.ino:680: undefined reference to `PushButton::IsPressed()' collect2

C:\Users\ADMINI~1\AppData\Local\Temp\cceCRvbL.ltrans0.ltrans.o: In function global constructors keyed to 65535_0_LCR_meter.ino.cpp.o.2380': <artificial>:(.text.startup+0xa8): undefined reference to PushButton::PushButton(unsigned char, unsigned int)'
:(.text.startup+0xb6): undefined reference to PushButton::PushButton(unsigned char, unsigned int)' C:\Users\ADMINI~1\AppData\Local\Temp\cceCRvbL.ltrans0.ltrans.o: In function GPIOinit':
C:\Users\Administrator\Downloads\LCR_meter-main\code\LCR_meter/LCR_meter.ino:183: undefined reference to PushButton::Init()' C:\Users\Administrator\Downloads\LCR_meter-main\code\LCR_meter/LCR_meter.ino:184: undefined reference to PushButton::Init()'
C:\Users\ADMINI~1\AppData\Local\Temp\cceCRvbL.ltrans0.ltrans.o: In function ReadPushButtonTest': C:\Users\Administrator\Downloads\LCR_meter-main\code\LCR_meter/LCR_meter.ino:689: undefined reference to PushButton::IsPressed()'
C:\Users\ADMINI~1\AppData\Local\Temp\cceCRvbL.ltrans0.ltrans.o: In function ReadPushButtonMode': C:\Users\Administrator\Downloads\LCR_meter-main\code\LCR_meter/LCR_meter.ino:680: undefined reference to PushButton::IsPressed()'
collect2.exe: error: ld returned 1 exit status
exit status 1

Compilation error: exit status 1

did you install the library for the pushbutton?

Welcome to the forum

Please post the sketch that generates this error, using code tags when you do

In my experience the easiest way to tidy up the code and add the code tags is as follows

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

It is also helpful to post error messages in code tags as it makes it easier to scroll through them and copy them for examination