#45 How to use CppUnit in HP UX

open
nobody
None
5
2005-03-17
2005-03-17
Anonymous
No

I have successfully built cppunit in HP UNIX with
the compilers cc and aCC.
I have set up the environment variables SHLIB_PATH
set to cppunit lib directory. But when I use cppunit
it gives the following error:

[exec] aCC -c -AA XmlHook.cpp
-I/usrhome1/gridcomp/gc4_autobuild/cppunit/stage/include/HPUNIX
[exec] aCC -c -AA cppunitTest.cpp
-I/usrhome1/gridcomp/gc4_autobuild/cppunit/stage/include/HPUNIX
[exec] aCC -o cppunitTest XmlHook.o cppunitTest.o
-lcppunit -ldl
[exec] /usr/ccs/bin/ld: Can't find library: "cppunit"
[exec] make: *** [cppunitTest] Error 1

Can anybody help me to solve this problem.

Discussion