Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/01/2009, à 01:30

mbooma

probleme avec kdevelop (*** Exited with status: 77 ***)

salut


voila, je viens d'installer kdevelope sous ubuntu 8.10 et j'arrive meme pas a executé le "hello world" venant par défaut avec le programme

voila en image

http://img232.imageshack.us/img232/6385/kdevelopsn0.png


j'ai installé tout les pré requis (automake autoconf build-essential libtool)

une idée ??

merci ^^

Hors ligne

#2 Le 15/01/2009, à 04:38

idcpif

Re : probleme avec kdevelop (*** Exited with status: 77 ***)

Bonsoir,
que donne :

c++ test3.cpp

http://www.pier-infor.eu

Hors ligne

#3 Le 15/01/2009, à 10:09

Link31

Re : probleme avec kdevelop (*** Exited with status: 77 ***)

http://forum.ubuntu-fr.org/viewtopic.php?id=134558

Hors ligne

#4 Le 26/01/2009, à 16:30

mbooma

Re : probleme avec kdevelop (*** Exited with status: 77 ***)

le package est deja installé


j'ai fais un tour sur le net, cette érreur semble etre provoqué quand le programme Win32...


en attendant voila l'érreur complete quand j'execute le hello world

cd '/home/abdelkader/C++/testee' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -f Makefile.cvs && cd '/home/abdelkader/C++/testee' && CC="i586-mingw32msvc-c" CXX="i586-mingw32msvc-c++" LD="i586-mingw32msvc-ld" "/home/abdelkader/C++/testee/configure" && cd '/home/abdelkader/C++/testee/./src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make testee
aclocal
autoheader
automake
autoconf
installing -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name... 
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***

Dernière modification par mbooma (Le 26/01/2009, à 16:36)

Hors ligne

#5 Le 26/01/2009, à 16:39

mbooma

Re : probleme avec kdevelop (*** Exited with status: 77 ***)

voila une autre érreur en essaynt un autre hello worl*ld proposé par kdevelop (pas celui de win32)

le programme ici

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include <ncurses.h>

void create_box(int y, int x, int w, int h)
{
	mvaddch(y, x, '+');
	mvaddch(y, x + w, '+');
	mvaddch(y + h, x, '+');
	mvaddch(y + h, x + w, '+');
	mvhline(y, x + 1, '-', w - 1);
	mvhline(y + h, x + 1, '-', w - 1);
	mvvline(y + 1, x, '|', h - 1);
	mvvline(y + 1, x + w, '|', h - 1);
}

int main()
{
	int startx, starty, height, width;
	
	initscr();
	start_color();
	cbreak();
	keypad(stdscr, TRUE);
	noecho();

	init_pair(1, COLOR_BLACK, COLOR_CYAN);
	
	height = 2;
	width = 30;
	starty = (LINES - height)/2;
	startx = (COLS - width)/2;

	attron(COLOR_PAIR(1));
	
	create_box(starty, startx, width, height);
	mvprintw(starty, startx + 3, " Hello World! " );
	mvprintw(starty+1,startx+1," Type any char to exit       ");
	mvprintw(0,0,"");
	refresh();
	getch();
	
	endwin();
	return 0;

et voici l'érreur

cd '/home/abdelkader/C++/teste' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -f Makefile.cvs && mkdir '/home/abdelkader/C++/teste/debug' && cd '/home/abdelkader/C++/teste/debug' && CXXFLAGS="-O0 -g3" "/home/abdelkader/C++/teste/configure" --enable-debug=full && cd '/home/abdelkader/C++/teste/debug/./src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" make -k teste
aclocal
automake
autoconf
installing -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
installing -c
checking whether make sets $(MAKE)... (cached) yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
configure: error: Couldn't find ncurses headers.
*** Exited with status: 1 ***

Hors ligne

#6 Le 26/01/2009, à 22:15

rniamo

Re : probleme avec kdevelop (*** Exited with status: 77 ***)

configure: error: Couldn't find ncurses headers.

installe ncurses ... (-dev)

... et fait l'édition de liens si besoin dans les options du projet

Dernière modification par rniamo (Le 26/01/2009, à 22:16)


< Quelques un des mes programmes  | Cuisine Facile (pour les gourmands) | Fast MVC for PHP >
        \   ^__^
         \  (o o)\_______
            (___)\            )\

Hors ligne

#7 Le 27/01/2009, à 16:55

mbooma

Re : probleme avec kdevelop (*** Exited with status: 77 ***)

daccord, je vais essayer...


et pour l'erreur du premier programme, aucune soluce ??

Hors ligne