Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

opengl

Featured Replies

Posté(e)

Salut a tous voila big probleme.

J'essayes de compiler un prog en C++ avec devcpp et voila les erreurs :

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0x85):main_sdl.cpp: undefined reference to `glLoadIdentity@0'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0xbc):main_sdl.cpp: undefined reference to `gluPerspective@32'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0xc9):main_sdl.cpp: undefined reference to `glMatrixMode@4'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0xd1):main_sdl.cpp: undefined reference to `glLoadIdentity@0'

C:\DOCUME~1\M2\LOCALS~1\Temp\cckpcaaa.o(.text+0x204):main_sdl.cpp: undefined reference to `SDL_Init'

etc etc...

j'ai lu qq pars de rajouter les options -lopengl -lglu32 -lglut32 etc...

Mais lorsque je fais ca, erreurs :

C:\DEV-C_~1\Bin\ld.exe: cannot open -lopengl: No such file or directory

etc...

Je ne sais que faire, j'ai essayé d'installer les libs mais rien a faire

A l'aiddddeeeeee !!!!!

  • 1 mois après...
Posté(e)

Menu Projet > Options du projet

puis Onglet Paramètres

puis tu rajoutes les fichiers dont tu as besoin dans la partie "Editeur de liens"

Posté(e)

Tu dois indiquer une reference a -lopengl32 et non -lopengl tout court.

Tu peux egalement ajouter -lglaux.

De plus tu sembles utiliser les SDL, qui sont une librairie a part.

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.