Pagina 1 di 1

kdevelop

Inviato: mer 29 giu 2005, 16:01
da marco79
Ciao so che qualcuno di voi ha detto di usare kdevelop.
Io l'ho installato assieme alla slack 10.1 ma nn riesco a compliare neanche il programma hello world.Faccio:nuovo progetto ->C++ ->Hello world program e do esegui.Mi dice che deve priam crea il make file do ok ma questo e l'output che ottengo:



cd '/home/marco/Progettikdevelop/hello' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -f Makefile.cvs && cd '/home/marco/Progettikdevelop/hello/debug' && CXXFLAGS="-O0 -g3" "/home/marco/Progettikdevelop/hello/configure" --enable-debug=full && cd '/home/marco/Progettikdevelop/hello/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
/usr/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION
/usr/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS
/usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG
/usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG
/usr/share/aclocal/nspr.m4:8: warning: underquoted definition of AM_PATH_NSPR
/usr/share/aclocal/libmikmod.m4:11: warning: underquoted definition of AM_PATH_LIBMIKMOD
/usr/share/aclocal/libIDL.m4:6: warning: underquoted definition of AM_PATH_LIBIDL
/usr/share/aclocal/imlib.m4:9: warning: underquoted definition of AM_PATH_IMLIB
/usr/share/aclocal/imlib.m4:167: warning: underquoted definition of AM_PATH_GDK_IMLIB
/usr/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK
/usr/share/aclocal/gnet-2.0.m4:8: warning: underquoted definition of AM_PATH_GNET_2_0
/usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB
/usr/share/aclocal/gdk-pixbuf.m4:12: warning: underquoted definition of AM_PATH_GDK_PIXBUF
/usr/share/aclocal/audiofile.m4:12: warning: underquoted definition of AM_PATH_AUDIOFILE
/usr/share/aclocal/ao.m4:9: warning: underquoted definition of XIPH_PATH_AO
/usr/share/aclocal/aalib.m4:12: warning: underquoted definition of AM_PATH_AALIB
/usr/share/aclocal/ORBit.m4:4: warning: underquoted definition of AM_PATH_ORBIT
*** Uscito con stato: 1 ***


Quanle puo essere il problema?

Inviato: mer 29 giu 2005, 19:40
da Vlk
Io in C scrivo il programma con l'estensione .c quindi lo compilo da shell, sempre però restando in kdevelop, e quindi eseguo sempre da shell l'eseguibile. Fai così: scrivi il sorgente in kdevelop, te lo salvi magari sull'hd e dai "g++ -o nomeprogramma nomesorgente". Quindi esegui il file nomeprogramma.

Inviato: gio 30 giu 2005, 11:36
da Bart
Vlk ha scritto:Io in C scrivo il programma con l'estensione .c quindi lo compilo da shell, sempre però restando in kdevelop, e quindi eseguo sempre da shell l'eseguibile. Fai così: scrivi il sorgente in kdevelop, te lo salvi magari sull'hd e dai "g++ -o nomeprogramma nomesorgente". Quindi esegui il file nomeprogramma.
gcc -o nomeEseguibile sorgente

Ciao.

Inviato: gio 30 giu 2005, 14:08
da marco79
Si da riga di comando compila solo che volevo usare kdevelop per poi poter fare cose + complesse e gestire poi piu file separati,creare classi ecc