Linux за българи: Форуми

Програмиране => Общ форум => Темата е започната от: nedy в Feb 19, 2006, 18:59



Титла: КДЕ програмиране
Публикувано от: nedy в Feb 19, 2006, 18:59
здравейте,
Програмирал съм графично под уиндоус, но отскоро мигрирам към линукс и искам да програмирам под кде. Качех си Кдевелоп но като дам Build ->Run automake & friends ми дава следната грешка:
cd '/home/nedy/kde.prob/main' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs
/bin/sh: make: command not found
*** Exited with status: 127 ***

освен това четох туториал от http://developer.kde.org/documentation/tutorials/khello/khello1.htm
пиша от там програмата с кате, но като компилирам ми дава грешка: kapp.h file not found kmainwindow.h file not found

Та не знам какво да правя. Моля помогнете.


Титла: КДЕ програмиране
Публикувано от: kennedy в Feb 19, 2006, 21:46
/bin/sh: make: command not found

да неби да ти липсва командата маке ??? дистро ? версия? упдейти?


Титла: КДЕ програмиране
Публикувано от: poisoner в Feb 19, 2006, 22:51
The GNU version of the "make" utility.
http://packages.ubuntu.com/breezy/devel/make


Титла: КДЕ програмиране
Публикувано от: nedy в Feb 19, 2006, 22:52
Да наистина това беше проблем, който оправих, но сега при build project ми дават следните грешки:
: In function `main':
/usr/share/qt3/include/qglist.h:150: multiple definition of `main'
main.o:/usr/share/qt3/include/qglist.h:150: first defined here
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x48): undefined reference to `main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x50): undefined reference to `main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x4c0): undefined reference to `non-virtual thunk to main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x4c8): undefined reference to `non-virtual thunk to main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x528): undefined reference to `non-virtual thunk to main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x530): undefined reference to `non-virtual thunk to main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x600): undefined reference to `virtual thunk to main::~main()'
main.moc.o:(.gnu.linkonce.r._ZTV4main[vtable for main]+0x608): undefined reference to `virtual thunk to main::~main()'
collect2: ld returned 1 exit status
make[2]: *** [main] Error 1
make[2]: Target `all' not remade because of errors.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
*** Exited with status: 2 ***