Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] [OT] kdevelop - libraries - KIO
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Sat Apr 16, 2005 2:38 pm    Post subject: [SOLVED] [OT] kdevelop - libraries - KIO Reply with quote

halloa,

ich such jetzt schon sooo lange nach einer beschreibung, wie man in kdevelop RICHTIG libraries einbindet.
jetzt hab ich gerade wieder einen konkreten fall: ich möchte KIO verwenden und hab daher beim automake manager unter LIBADD $(LIB_KIO) eingetragen - so hab ich es wo gelesen.
leider kann ich das teil nun nicht mehr bauen.
Code:

ar: -lkio: No such file or directory


ich muss dazusagen, dass das problem nur auftritt, wenn ich - wie im konkreten fall - ein subprojekt verwende. hab mir also eine library "in lib" angelegt (target) und eben in den target options $(LIB_KIO) eingefügt.

meine frage daher: kann mir jmd. ein beispiel oder eine erklärung posten, wie man das macht? (hab einige projekte angeschaut, aber leider kein zutreffendes gefunden :()

danke im voraus!

//EDIT: PS: es geht um C++!


Last edited by _hephaistos_ on Sun Apr 17, 2005 8:53 am; edited 2 times in total
Back to top
View user's profile Send private message
Deever
Veteran
Veteran


Joined: 06 Jul 2002
Posts: 1354
Location: Zürich / Switzerland

PostPosted: Sat Apr 16, 2005 2:54 pm    Post subject: Reply with quote

Mein Tipp:
Code:
$ emerge unmerge kdevelop
$ emerge vim

Löst jetzt dein Problem zwar nicht direkt, aber mit vim hatte ich schon viele Probleme nicht, die ich mit anderen, sog. "besseren" Tools hatte.

HTH!
/dev
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Sat Apr 16, 2005 2:58 pm    Post subject: Reply with quote

hallo,

Deever wrote:
Löst jetzt dein Problem zwar nicht direkt, aber mit vim hatte ich schon viele Probleme nicht, die ich mit anderen, sog. "besseren" Tools hatte.


danke deever :) aber ich möcht eigentlich schon bei kdevelop bleiben, da ich mehr für kde entwickeln will und da sollte das schon sehr praktisch sein - und konnte bis jetzt auch alles lösen, aber so probleme mit libraries hatte ich schon öfter :(
ausserdem: howto build de gonze sache dann?? soll ich mir die makefiles selber schreiben?

vielleicht hat wer eine lösung?
Back to top
View user's profile Send private message
Fauli
l33t
l33t


Joined: 24 Apr 2004
Posts: 760
Location: Moers, Germany

PostPosted: Sat Apr 16, 2005 3:59 pm    Post subject: Reply with quote

Wenn ich mich richtig erinnere, muss man doch bei einer lib-Bibliothek gar nicht die Abhängigkeiten angeben. Erst das Target (Programm), das die lib-Bibliothek verwendet, muss man dann z. B. mit libkio linken.
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Sun Apr 17, 2005 8:27 am    Post subject: Reply with quote

Fauli wrote:
Wenn ich mich richtig erinnere, muss man doch bei einer lib-Bibliothek gar nicht die Abhängigkeiten angeben. Erst das Target (Programm), das die lib-Bibliothek verwendet, muss man dann z. B. mit libkio linken.

jo, hätt ich leider natürlich auch schon - ohne erfolg - probiert....

thx
Back to top
View user's profile Send private message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Sun Apr 17, 2005 8:53 am    Post subject: Reply with quote

so, habs mal gelöst: #include <kio/job.h> hat gefehlt :(

cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum