1

Voia :
j'ai Dev C++, j'ai téléchargé la version binaire de allegro 4, j'ai donc copié les incudes dans mon dossier dev, j'ai aussi copie les lib j'ai ajouter au liker aleg.lib mais lorsque je compile un prgm comme ca :

#include <allegro.h>

int main()
{
return 0;
}

il me dit : ....\Makefile.win [Build Error] [allegro.o] Error 1

(mon prgm s'appelle allegro.c....)

euh je comprend pas...

et vous ?
ScreamX le ridestyler fou !!! aime la peuf
http://www.pgteam.fr.st

2

si j'ai bonne mémoire, il faut que tu mette un
END_OF_MAIN();
après la fonction main (je suis plus certain de la syntaxe, mais c dans ce genre)
Regarde dans la doc, ça doit être marqué smile
(du moins, il y avait un truc comme ça à marquer l'année dernière... pas utilisé allegro depuis)
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

3

bon reprenons apres cette inerruption...

j'ai telecharger sur allegro.cc les fichiers binaires pour mingw... j'ai suivie les instructions :
* SETUP *

To install, just click on the install.bat file.

If that does not work, then you will need to copy the 'include' and 'lib'
folders to your 'MINGW32' folder. The three DLLs will need to be copied to
your Windows system folder.

j'ai copié les repertoire et leur contenu et puis leur contenu tous seul dans le repertoire MINGW32 de Dec-Cpp j'ai ajouté au linker "alleg.lib" (j'ai trouvé cette instruction sur un site par la...) mais j' ai tjrs cette erreur de building...
ScreamX le ridestyler fou !!! aime la peuf
http://www.pgteam.fr.st

4

argh, bizarre sad

enfin, je peux pas trop t'aider là... j'ai jamais utilisé allegro sous Dev-C++...
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

5

mouaip ce qui est chelou c'est que la lib alleg.lib ben je la trouve pas dans les lib du fichier que j'ai telecharger...

ce qui est encore plus chelou : si j'efface alleg.lib des options du linker ca fait :
[Linker error] undefined reference to `_WinMain'

mais si je remplace "alleg.lib" par "dqsfdfsdf" ca ne fait plus
[Linker error] undefined reference to `_WinMain'

ca fait que :
[Linker error] undefined reference to `_WinMain'
what

alors la.... what what what what what what
ScreamX le ridestyler fou !!! aime la peuf
http://www.pgteam.fr.st

6

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhhhhhhhhhhhhhhh fou

je crois que ca marche c'est pas alleg.lib qui fallait mettre mais :
C:/Dev-Cpp/mingw32/lib/liballeg.a


youyou !!!! ca a compilé .... merci squal... grin
ScreamX le ridestyler fou !!! aime la peuf
http://www.pgteam.fr.st

7

ah oué, sous gcc, c'est des .a ; les .lib sont pour MSVC... même pas fait gaffe grin

enfin, sinon, te restait la solution de compiler la librairie à partir des sources, en général, ça marche pas plus mal smile
(bon, ok, la première fois que tu compile, fo le temps de comprendre comment on fait)
avatar
Tutorial C (TI-89/92+/v200) - Articles Développement Web (PHP, Javascript, ...)
« What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against? » - Larry Wall

8

cé claire j'ai vu un truc qui l'expliquer ... y plein de fichier à telecharger en plus des source ... mais bon moi je vais faire avec ca hein ??!! lol
ScreamX le ridestyler fou !!! aime la peuf
http://www.pgteam.fr.st