[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop
Subject: Re: Linkererror, undefined ref to X::X virtual table
From: John Birch <jb.nz () writeme ! com>
Date: 1999-04-25 1:25:49
[Download RAW message or body]
On Sun, 25 Apr 1999, you wrote:
> Does your project name contain and underscore? If so, automoc breaks.
>
> automoc is a program that modifies the Makefiles so moc files are
> generated automatically when you need them. moc files are extra source
> files created to expand the OBJECT macro used in Qt files.
>
> Try renaming your project from hello_world to helloworld. Then use Build
> menu, Clean/Rebuild all to remake.
>
> Alternatively, the current kde source tree has a newer, corrected version
> of automoc you could use.
>
> Try 'locate automoc' to find it on your system. I found a copy in my kde
> tree at /usr/src/kdelibs-1.1/admin/automoc.
>
> The older automoc version that might be causing your problem, distributed
> in kdevelop 1.3, is in
>
> /opt/kde/share/apps/kdevelop/templates/qt.tar.gz
>
> (with variations depending on your installation) so you have to
> uncompress/detar it, swap automoc's, then recompress it.
>
> -----------------------
> Gary N. Boone gboone@cc.gatech.edu
> Georgia Tech www.cc.gatech.edu/~gboone
> My personal information is copyright 1998 Gary Boone. Use by permission only.
>
FWIW automoc was re-written and called am_edit in the kde-1.1.1 version and
in the KDE CVS HEAD branch. am_edit does a much better job of figuring out
what moc files to produce.
Any of these versions could be used by copying am_edit over the top of your
automoc. (Backup your old automoc first though, JIC!).
The HEAD version is more advanced than the kde-1.1.1 version, but it should
still be compatible (although I've not tried this).
jbb
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic