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 Dimov wrote:

Ops, I only tested under Windows where case does not matter. The directory was initially named cppunit but later I renamed it to CppUnit to much the style used for naming all other packages and I haven’t modified ./Testing/Testing.pro. Just change the line:


cppunit_lib.subdir = cppunit

to

cppunit_lib.subdir = CppUnit

and rename Testing/CppUnit/cppunit.pro to Testing/CppUnit/CppUnit.pro. You should be able to build then. If you want to use your installed cppunit, then Testing/tester.pro must be modified but I chose to bundle CppUnit with Calitko to make integration and setup easier.

atul wrote:Hi Peter

I am at calitko-0.5.4 ( the base version ) and built it fine…

Next I applied the patch but get the following error:

~/calitko-0.5.4/Testing> make
cd cppunit && /usr/local/Trolltech/Qt-4.1.4/bin/qmake cppunit.pro -unix -o Makefile
Cannot find file: cppunit.pro.
make: *** [cppunit/Makefile] Error 2
~/calitko-0.5.4/Testing>

As the dir cppunit is empty… Should it read CppUnit?

Also I already do have cppunit installed… I thought it would test and skip this step….

—- cheers atul

Would you like to post a relpy?


This post is a reply to:
Re: Re: BinaryReader with documentation and unit tests + CppUnit
Ops, I only tested under Windows where case does not matter. The directory was initially named cppunit but later I renamed it to CppUnit to much the style used for (more...)

Follow-ups:
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 (more...)