[Kde-finance-apps] Re: Errors while running tests

Alvaro Soliverez asoliverez at kde.org
Sat Jul 30 17:10:34 CEST 2011


Hello Puneet,
check you CMakeLists.txt.

Your ADD_LIBRARY statements say Alkinvoice, Alkpayment, etc.

They should be AlkInvoice, etc.

If you see the output of the make statement, it builds all objects,
but with a lowercase name. So, then you call AlkInvoice  and it won't
find it.

It's the same with all the other classes.

On Sat, Jul 30, 2011 at 10:55 AM, puneet goyal <puneetgoyal08 at gmail.com> wrote:
>
> Hello,
> I am getting the error
> /home/puneet/puneet/office/alkimia/payment/backend/alkinvoicetest.cpp:38:
> undefined reference to `AlkInvoice::AlkInvoice(QObject*)'
> where line 38 is
> AlkInvoice invoice;
> and a lot of other errors popped up bcause of it. I think there is some
> linking problem
> I have pasted the full output here  http://pastebin.com/mHxrZiDi
> or http://summer-opensource.blogspot.com/2011/07/errors-while-running-tests.html
> Please let me know what could be the possible solution to this.
> Thank you
> Regards,
> Puneet
> -----------------------------------------------------------------------
> Puneet Goyal
> Student of B. Tech. III Year (Software Engineering)
> Delhi Technological University, Delhi
> -----------------------------------------------------------------------
>


More information about the Kde-finance-apps mailing list