Linken von curses in Kedevelop?
-
hi@all ,
als Umsteiger von Pascal nach C unter Linux gibts doch so manche Frage
hier die erste: Wie kann ich unter Kdevelop in einem Programm, in dem ich ncurses.h includiert habe die -lncurses (wie beim gcc) als zu verlinkende Headerdatei übergeben?thx Pascal2C
-
Project->Project options->Linker Options. Im Feld additional libraries -lncurses eintragen.
-
Hi Patrick,
erstmal Danke für die schnelle Antwort.
Leider komme ich so aber auch nicht weiter, da der Linker eine Datei mit Namen *s* sucht?
Ich häng die Fehlermeldung mal dran, falls dir oder jemand dazu was einfällt, wäre toll.thx Pascal2C
---------------------------------------------------------------
Linker-Meldungen:
---------------------------------------------------------------
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
Reading makefiles...
Reading makefile/root/test/Makefile'... Updating makefiles.... Considering target file
/root/test/Makefile'.
Looking for an implicit rule for/root/test/Makefile'. Trying pattern rule with stem
Makefile'.
Trying implicit prerequisite/root/test/Makefile,v'. Trying pattern rule with stem
Makefile'.
Trying implicit prerequisite/root/test/RCS/Makefile,v'. Trying pattern rule with stem
Makefile'.
Trying implicit prerequisite/root/test/RCS/Makefile'. Trying pattern rule with stem
Makefile'.
Trying implicit prerequisite/root/test/s.Makefile'. Trying pattern rule with stem
Makefile'.
gmake: *** No rule to make targets'. Stop. Trying implicit prerequisite
/root/test/SCCS/s.Makefile'.
No implicit rule found for/root/test/Makefile'. Finished prerequisites of target file
/root/test/Makefile'.
No need to remake target/root/test/Makefile'. Updating goal targets.... Considering target file
s'.
Files' does not exist. Looking for an implicit rule for
s'.
Trying pattern rule with stems'. Trying implicit prerequisite
s,v'.
Trying pattern rule with stems'. Trying implicit prerequisite
RCS/s,v'.
Trying pattern rule with stems'. Trying implicit prerequisite
RCS/s'.
Trying pattern rule with stems'. Trying implicit prerequisite
s.s'.
Trying pattern rule with stems'. Trying implicit prerequisite
SCCS/s.s'.
No implicit rule found fors'. Finished prerequisites of target file
s'.
Must remake target `s'.
*** fehlgeschlagen ***