Multiple definition errors
Stephen Dzurenko
dzurenko at arlut.utexas.edu
Tue Mar 25 22:39:06 GMT 2003
On Tue, 2003-03-25 at 11:28, Caleb Tennis wrote:
> > I'm getting some odd Multiple Definition errors when I attempt to build
> > my application. I've included the error messages below. Can anyone
> > tell from the output what might be my problem? Am I using the wrong
> > version of Qt?
>
> Do your sources have #include <blah.moc> at the bottom of them?
The source file in question does indeed have #include "myapp.moc" at the
bottom of it.
> If so, is
> build system also linking in other moc files? It looks like you're compiling
> in the moc stuff into the C++ file, and linking against another moc.o file.
Yes, I was linking with two other moc.o files. They appeared to be
older versions of the user interface. I removed the offending files
from the project and did a clean and a make. No moc.o files are being
linked now.
However, the same exact error is occurring.
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list