Salut,

J'ai téléchargé la bibliothèque binvox qui permet de voxéliser une scène.obj

J'ai l'erreur suivante lorsque je compile:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
1>------ Build started: Project: binvox, Configuration: Debug Win32 ------
1>Linking...
1>ply_gatech.obj : error LNK2019: unresolved external symbol _drand48 referenced in function _get_new_props_ply
1>C:\Users\...: fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:\Users\..."
1>binvox - 2 error(s), 0 warning(s)
2>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32 ------
2>Project not selected to build for this solution configuration
J'ai ajouté les librairies opengl et glut dans Project -->Properties -->Linker -->Input

Comment corriger cette erreur et quelle est le fichier lib qui dépend au variable _drand48?

Merci.