[Uml-devel] slightly off-topic: ld weirdness

Oliver Kellogg Oliver.Kellogg at t-online.de
Mon Nov 24 12:41:13 UTC 2003


BARTKO, Zoltan wrote:
>
> [...] in UmlApp I have put an attribute
> DocGenerator* m_docGenerator, and it compiles, but ld gives me things like
> there is an undefined reference in UmlApp::UmlApp[in-charge] and in
> UmlApp::UmlApp[not-in-charge] to DocGenerator::DocGenerator[in-charge]. Then
> it is not willing to recognize the methods of the DocGenerator class in
> UmlApp.

Did you make sure to send the header file thru moc, and #include
the generated moc file in the C++ body?
I got similar messages when I forgot to do that.

Just my $0.02
Oliver





More information about the umbrello-devel mailing list