[Qgis-developer] vtable linker error

Steven Bell botsnlinux at gmail.com
Wed Dec 19 15:11:12 EST 2007


Thanks for the quick reply.  I realized what the problem was - I hadn't
added my new cpp files to the CMakeLists.txt file, so they weren't being
compiled and found.
Steven



>
> Date: Wed, 19 Dec 2007 14:19:26 -0500
> From: Mark Coletti <mcoletti at lychnobite.org>
> Subject: Re: [Qgis-developer] vtable linker error
> To: qgis-developer at qgis.org
> Message-ID: <20071219191926.GX30465 at lychnobite.org>
> Content-Type: text/plain; charset=us-ascii
>
> On Wed, Dec 19, 2007 at 01:31:49PM -0500, Steven Bell wrote:
> > However, I keep getting linker errors, saying:
> > Linking CXX executable qgis
> > /home/steven/QGIS_work/composer_redesign/build/src/core/libqgis_core.so:
> > undefined reference to `vtable for QgsBasicSymbolRenderer'
>
> > From what I've read, this error occurs when the derived class doesn't
> > implement certain virtual methods, but I don't see anything wrong with
> my
> > code.  [...]
>
>  This is making a stab, but does your derived class have a virtual
> destructor?
>
> Cheers,
>
> Mark
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20071219/7d141442/attachment.html


More information about the Qgis-developer mailing list