I'm Facing same problem, implemented all the steps provided in the video and github repo but this is what i'm getting
Executing task: C/C++: gcc.exe build active file
Starting build...
cmd /c chcp 65001>nul && C:\MinGW\bin\gcc.exe -fdiagnostics-color=always -g P:\cgm\graphics.h-project-template\Home\src\Hut.cpp -o P:\cgm\graphics.h-project-template\Home\src\Hut.exe
C:\Users\nitin\AppData\Local\Temp\ccF2yzX2.o: In function main': P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:14: undefined reference to
initgraph'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:15: undefined reference to getmaxx' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:16: undefined reference to
getmaxy'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:17: undefined reference to cleardevice' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:18: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:19: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:20: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:21: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:22: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:23: undefined reference to circle' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:24: undefined reference to
setfillstyle'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:25: undefined reference to floodfill' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:26: undefined reference to
setfillstyle'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:27: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:28: undefined reference to
floodfill'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:29: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:30: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:31: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:32: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:34: undefined reference to setfillstyle' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:35: undefined reference to
floodfill'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:36: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:37: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:38: undefined reference to setfillstyle' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:39: undefined reference to
floodfill'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:40: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:41: undefined reference to
setfillstyle'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:42: undefined reference to floodfill' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:43: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:44: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:45: undefined reference to
ellipse'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:47: undefined reference to setfillstyle' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:48: undefined reference to
floodfill'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:49: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:50: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:51: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:52: undefined reference to
line'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:53: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:55: undefined reference to
setfillstyle'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:56: undefined reference to floodfill' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:57: undefined reference to
setfillstyle'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:58: undefined reference to floodfill' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:60: undefined reference to
setcolor'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:62: undefined reference to arc' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:64: undefined reference to
setcolor'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:65: undefined reference to line' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:68: undefined reference to
setcolor'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:69: undefined reference to settextstyle' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:73: undefined reference to
outtextxy'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:74: undefined reference to delay' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:75: undefined reference to
setcolor'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:76: undefined reference to settextstyle' P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:78: undefined reference to
outtextxy'
P:/cgm/graphics.h-project-template/Home/src/Hut.cpp:81: undefined reference to `closegraph'
collect2.exe: error: ld returned 1 exit status
Build finished with error(s).