https://github.com/RomchikNaKaife/laba3 ... m/main.cpp
Здесь есть ссылка на файл моей программы. Работаю в XCode 14 на Mac.
Я пытался задать GPT. Они бесполезны, а может и я бесполезен

Есть лог:
Код: Выделить всё
Shape2D::GetArea() const, referenced from:
vtable for Square in main.o
Shape2D::operator==(Shape2D const&) const, referenced from:
vtable for Square in main.o
Shape2D::operator>(Shape2D const&) const, referenced from:
vtable for Square in main.o
Shape2D::operator(Shape3D const&) const, referenced from:
vtable for TriangularPyramid in main.o
vtable for Cylinder in main.o
vtable for Sphere in main.o
Shape3D::operator
Источник: [url]https://stackoverflow.com/questions/78155821/linker-command-failed-with-exit-code-1-use-v-to-see-invocation-im-only-stud[/url]