Re: Re: Re: Re: BinaryReader with documentation and unit tests + CppUnit

Yes, tester.pro needs changing too:


LIBS += -L./cppunit -lcppunit
TARGETDEPS += ./cppunit/libcppunit.a

to

LIBS += -L./cppunit -lCppUnit
TARGETDEPS += ./cppunit/libCppUnit.a

I hope that was all.

atul wrote:Also it breaks at the link stage…

make[1]: *** No rule to make target `cppunit/libcppunit.a’, needed by `tester’. Stop.
make[1]: Leaving directory `/home/atul/calitko-0.5.4/Testing’

maybe we need to twiddle some more case…

– cheers atul

Would you like to post a relpy?


This post is a reply to:
Re: Re: Re: BinaryReader with documentation and unit tests + CppUnit
Also it breaks at the link stage... make[1]: *** No rule to make target `cppunit/libcppunit.a', needed by `tester'.  Stop. make[1]: Leaving directory `/home/atul/calitko-0.5.4/Testing' maybe we need to twiddle some more case... -- cheers atul Peter (more...)

Follow-ups:
Re: Re: Re: Re: Re: BinaryReader with documentation and unit tests + CppUnit
I needed to create a sym link for it to find the correct lib cd cppunit && ln -s ../CppUnit/libcppunit.a then the lib is found but the link fails.... Gnutella/Packets/ByeTest.o(.gnu.linkonce.t._ZN8Gnutella7Packets12QueryRouting8castFromERKNS0_6PacketE+0x12): In function `Gnutella::Packets::QueryRouting::castFrom(Gnutella::Packets::Packet (more...)