“L'exécution du code ne peut pas continuer car Glew32.dll n'a pas été trouvé” Réponses codées

L'exécution du code ne peut pas continuer car Glew32.dll n'a pas été trouvé

//if you are using "glew32s.lib" file you may have to add GLEW_STATIC in the 
//c/c++ preprocessor, if you are using visual studio go to project-> 
//properties -> c/c++ -> Preprocessor -> Preprocessor Definitions 
//and add GLEW_STATIC.
//or use '#define GLEW_STATIC' before every include of glew.h

//the next part is copied from glew.h
//which is why you have to add GLEW_STATIC in Preprocessor Definitions or define it
//or the code will look for the glew32.dll file
///////////////////////////////////////
/*
 * GLEW_STATIC is defined for static library.
 * GLEW_BUILD  is defined for building the DLL library.
 */

#ifdef GLEW_STATIC
#  define GLEWAPI extern
#else
#  ifdef GLEW_BUILD
#    define GLEWAPI extern __declspec(dllexport)
#  else
#    define GLEWAPI extern __declspec(dllimport)
#  endif
#endif

///////////////////////////////////////
LOGNST

C Code Executio Canntot Continue parce que Glew32.dll n'était pas ferond

You may have to put the "glew32.dll" file in the "C:\Windows\System32 folder."

If you wonder about "what if i want to release" just add the file into the users pc
by adding a install script i.e. batch that copies the file.
Av3

Réponses similaires à “L'exécution du code ne peut pas continuer car Glew32.dll n'a pas été trouvé”

Questions similaires à “L'exécution du code ne peut pas continuer car Glew32.dll n'a pas été trouvé”

Parcourir les réponses de code populaires par langue

Parcourir d'autres langages de code