Linking to other libraries..

Pascal A. Niklaus Pascal.Niklaus at unibas.ch
Tue Jul 10 04:44:00 BST 2001


>
>Hi I'm trying to link against hk_classes and commonc++ libraries with no
>success.
>I've added -lhk_classes -lccio -lccstd and -lccxx(commonc++ libs) in
>Project/Options/Linker Options/ additional libraries , and also indicated
>-I/usr/hk_classes/include -L/usr/local/hk_classes/ in Additional flags with
>no success , the same sources I compiled with g++ -o example example.cpp
>-lstdc++ -ldl -lhk_classes -L/usr/local/hk_classes/ -I
>/usr/local/hk_classes/include/ and they worked here.
>Can anybody tell me what's wrong?
>
>Thanks in advance.
>
>
>Ciao
>
>Francesco

I had the same problem and added the full path to the library in the 
library field... e.g. /usr/local/lib/libxxxname.so
This works, although it is not nice :-(( This should help until someone 
else can give you a better advice...

Pascal


-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list