Home > Back-end >  Typeinfo for XXXXX undefined reference collect2: error: ld returned 1 exit status
Typeinfo for XXXXX undefined reference collect2: error: ld returned 1 exit status

Time:09-28

I a, polymorphism and inheritance of class code can run on win10 codeblocks, but run on Linux code blocks is an error, return error for typeinfo for XXXXX undefined reference collect2: error: ld returned 1 exit status, please do me a favor, if necessary, can be paid,

Obj/Debug/mesh/mesh. O: in function 'Entity: the Entity (int) :'
/home/simba/l3/mesh/mesh. Cc: 13: "vtable for Entity undefined reference to '
Obj/Debug/mesh/mesh. O: (. The data. The rel. Ro. _ZTI4Face [_ZTI4Face] + 0 x10) : the 'typeinfo for Entity undefined reference to'
Obj/Debug/mesh/mesh. O: (. The data. The rel. Ro. _ZTI6Vertex [_ZTI6Vertex] + 0 x10) : the 'typeinfo for Entity undefined reference to'
Collect2: error: ld returned 1 exit status
Process terminated with the status (1 0 minute (s), and 0 second (s))
1 error (s), 0 warning (s) (0 minute (s), and 0 second (s))
  • Related