undefined reference to `vtable for
-
@SPlatten
To be clear: you mean that the file you have been showing us is theconfig.H
file of the error message? And the implementation file isconfig.cpp
which is compiled toconfig.o
. And the line #47staledata_t() : QObject(nullptr)
is the one just under the
public:
you show earlier? -
-
-
-
@J-Hilk said in undefined reference to `vtable for:
@SPlatten are you sure config.c is party of your project ? :D so the linker can find it
?? Look at actual linker statement being executed?
Hmm, originally you showed
.build/config.o: In function asv::scm::helm::staledata_t::staledata_t()':
immediately above the
undefined reference to vtable
message. Is that still present? Because that does imply the linker is trying to pull inconfig.o
, which would imply it does appear on the linker command line.... Is that indeed the right.build/config.o
path for theconfig.o
you keep rebuilding?