CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

[c++ openGL] probleme de compilation

gollumkawder
gollumkawder
Niveau 10
18 octobre 2003 à 15:26:43

quand je veux executer mon code openGL il met ça dans le débuggeur pourriez vous m´aider ?

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x8e):main.cpp: undefined reference to `GetStockObject@4´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x16c):main.cpp: undefined reference to `glClearColor@16´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x179):main.cpp: undefined reference to `glClear@4´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x181):main.cpp: undefined reference to `glPushMatrix@0´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x198):main.cpp: undefined reference to `glRotatef@16´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x1a2):main.cpp: undefined reference to `glBegin@4´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x1b6):main.cpp: undefined reference to `glColor3f@12´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x1c8):main.cpp: undefined reference to `glVertex2f@8´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x1dc):main.cpp: undefined reference to `glColor3f@12´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x1ff):main.cpp: undefined reference to `glVertex2f@8´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x213):main.cpp: undefined reference to `glColor3f@12´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x236):main.cpp: undefined reference to `glVertex2f@8´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x23e):main.cpp: undefined reference to `glEnd@0´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x243):main.cpp: undefined reference to `glPopMatrix@0´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x24f):main.cpp: undefined reference to `SwapBuffers@4´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x388):main.cpp: undefined reference to `ChoosePixelFormat@8´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x3a6):main.cpp: undefined reference to `SetPixelFormat@12´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x3b7):main.cpp: undefined reference to `wglCreateContext@4´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x3d5):main.cpp: undefined reference to `wglMakeCurrent@8´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x3f2):main.cpp: undefined reference to `wglMakeCurrent@8´

C:\DOCUME~1\DANIEL~1.JUR\LOCALS~1\Temp\cc8maaaa.o(
.text+0x401):main.cpp: undefined reference to `wglDeleteContext@4´

Gonath
Gonath
Niveau 52
19 octobre 2003 à 16:08:16

Je crois que ca avoir avec la dll qui doit etre mis avec le programme. Les erreurs sont des adresses de fonctions qui n´ont pas été trouvé. Et les dll sont en général des fichiers qui regroupent des fonctions. Enfin, vérifie à ce niveau.

Calculator_V2
Calculator_V2
Niveau 10
19 octobre 2003 à 20:13:30

arf, tu utilisekel kompil?

si c devC++, va dans project, project option, links et tu met:
-opengl32
-glut32
-glu32

JeanYvesYves
JeanYvesYves
Niveau 10
20 octobre 2003 à 09:26:44

il faut que tu linkes les fichiers . lib a ton projet.

Sous forums
  • Aide à l'achat Mac
  • Steam Deck
  • Création de sites web
  • Création de Jeux
  • Linux
  • Programmation
  • Internet
  • Macintosh
  • Hardware
La vidéo du moment