Bienvenue, Invité. Merci de vous connecter ou de vous inscrire.
Avez-vous perdu votre e-mail d'activation ?

Auteur Sujet: [Problème] LibGlew manquant ?  (Lu 3305 fois)

0 Membres et 1 Invité sur ce sujet

Meridel

  • Newbie
  • *
  • Messages: 4
    • Voir le profil
[Problème] LibGlew manquant ?
« le: Septembre 08, 2013, 03:19:26 pm »
Bien le bonjour ! J'essaye aujourd'hui d'installer SFML sur mon Code::Blocks (sous Linux, mais pas par les dépots) et mon erreur vient apparament d'un certain LibGlew:

-------------- Build: Debug in SFML1 (compiler: GNU GCC Compiler)---------------

g++ -L../../SFML/lib  -o bin/Debug/SFML1 obj/Debug/main.o    -lsfml-graphics ../../SFML/lib/libsfml-window.so ../../SFML/lib/libsfml-system.so
/usr/bin/ld: warning: libGLEW.so.1.5, needed by ../../SFML/lib/libsfml-graphics.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libjpeg.so.62, needed by ../../SFML/lib/libsfml-graphics.so, not found (try using -rpath or -rpath-link)
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_finish_compress@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_write_scanlines@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUniform1fARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_std_error@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_ARB_shader_objects »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewGetObjectParameterivARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_ARB_vertex_shader »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewFramebufferTexture2DEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUniformMatrix4fvARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_set_quality@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewGenFramebuffersEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUniform3fARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_set_defaults@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewRenderbufferStorageEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_CreateCompress@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_ARB_fragment_shader »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewActiveTextureARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_start_compress@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewShaderSourceARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « glewInit »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewBindFramebufferEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewFramebufferRenderbufferEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewLinkProgramARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUseProgramObjectARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewBlendFuncSeparateEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewGenRenderbuffersEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUniform2fARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_destroy_compress@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUniform4fARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewCreateProgramObjectARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « glewGetErrorString »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewCompileShaderARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewDeleteRenderbuffersEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewDeleteObjectARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewGetUniformLocationARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewGetInfoLogARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_EXT_blend_func_separate »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewDeleteFramebuffersEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewCheckFramebufferStatusEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewUniform1iARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_ARB_texture_non_power_of_two »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « jpeg_stdio_dest@LIBJPEG_6.2 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_ARB_shading_language_100 »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewCreateShaderObjectARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewBindRenderbufferEXT »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __GLEW_EXT_framebuffer_object »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewAttachObjectARB »
../../SFML/lib/libsfml-graphics.so: référence indéfinie vers « __glewGetHandleARB »
collect2: erreur: ld a retourné 1 code d'état d'exécution
Process terminated with status 1 (0 minutes, 1 seconds)
0 errors, 2 warnings (0 minutes, 1 seconds)

J'ai pas mal cherché sur le net, et n'ai pas trouvé vraiment de solution. Pour l'installation, j'ai fait pareil que celle de Windows, le tuto officiel sur le site officiel (^^). J'espère que vous pourrez m'aider !

Laurent

  • Administrator
  • Hero Member
  • *****
  • Messages: 32504
    • Voir le profil
    • SFML's website
    • E-mail
Re : [Problème] LibGlew manquant ?
« Réponse #1 le: Septembre 08, 2013, 03:40:09 pm »
Tu n'as pas la bonne version de GLEW et libjpeg. Il faut donc installer les versions demandées, ou recompiler SFML.
Laurent Gomila - SFML developer

Varden

  • Newbie
  • *
  • Messages: 46
    • Voir le profil
Re : [Problème] LibGlew manquant ?
« Réponse #2 le: Septembre 08, 2013, 05:31:29 pm »
j'avait le meme probleme sous ubuntu 13.04 (alors que les bonnes versions de ces lib sont dispo sous ubuntu 12.04) et donc il faut recompiler la SFML.

ps: sous code::blocks, pour avoir l'auto-complétion tu devras quand meme indiquer ou trouver les include.

Meridel

  • Newbie
  • *
  • Messages: 4
    • Voir le profil
Re : [Problème] LibGlew manquant ?
« Réponse #3 le: Septembre 09, 2013, 09:06:32 am »
Okay, dur, j'ai galéré pas mal d'heures, j'ai tout réinstallé trois fois toussa toussa ^^. Nouvelle erreur... (remarque ça fait plaisir quand ça change).

g++ -Wall  -g     -c /home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp -o obj/Debug/main.o
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp: In function ‘int main()’:
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:6:5: erreur: ‘CircleShape’ is not a member of ‘sf’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:6:21: erreur: expected ‘;’ before ‘shape’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:7:5: erreur: ‘shape’ was not declared in this scope
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:9:19: erreur: ‘class sf::RenderWindow’ has no member named ‘isOpen’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:12:23: erreur: ‘class sf::RenderWindow’ has no member named ‘pollEvent’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:14:23: erreur: ‘class sf::Event’ has no member named ‘type’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:15:24: erreur: ‘class sf::RenderWindow’ has no member named ‘close’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:18:16: erreur: ‘class sf::RenderWindow’ has no member named ‘clear’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:19:16: erreur: ‘class sf::RenderWindow’ has no member named ‘draw’
/home/brieuc/Divertissements/Programmation/C++/SFML1/main.cpp:20:16: erreur: ‘class sf::RenderWindow’ has no member named ‘display’
Process terminated with status 1 (0 minutes, 1 seconds)
10 errors, 0 warnings (0 minutes, 1 seconds)
 
Là je suppose qu'il ne trouve pas quelque chose ? :/
« Modifié: Septembre 09, 2013, 09:53:43 am par Meridel »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Messages: 32504
    • Voir le profil
    • SFML's website
    • E-mail
Re : [Problème] LibGlew manquant ?
« Réponse #4 le: Septembre 09, 2013, 12:25:48 pm »
On dirait que tu utilises SFML 1.6 maintenant.
Laurent Gomila - SFML developer

Meridel

  • Newbie
  • *
  • Messages: 4
    • Voir le profil
Re : [Problème] LibGlew manquant ?
« Réponse #5 le: Septembre 09, 2013, 12:38:40 pm »
Arf, celui des dépots est en 1.6 alors. La 2.1 n'est pas dispo dans les dépots ?

Edit: Oui effectivement ça marche en 1.6, c'est déjà ça ^^. Mais je cracherais pas sur la 2.1 x).
« Modifié: Septembre 09, 2013, 12:45:06 pm par Meridel »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Messages: 32504
    • Voir le profil
    • SFML's website
    • E-mail
Re : [Problème] LibGlew manquant ?
« Réponse #6 le: Septembre 09, 2013, 12:47:02 pm »
Citer
La 2.1 n'est pas dispo dans les dépots ?
Bientôt, mais pas encore.
Laurent Gomila - SFML developer

Meridel

  • Newbie
  • *
  • Messages: 4
    • Voir le profil
Re : [Problème] LibGlew manquant ?
« Réponse #7 le: Septembre 09, 2013, 12:53:07 pm »
Merci beaucoup de votre aide, et bonne continuation pour ce projet qui est ma foi absolument superbe ^^.

 

anything