“Eksekusi kode tidak dapat dilanjutkan karena glew32.dll tidak ditemukan” Kode Jawaban

Eksekusi kode tidak dapat dilanjutkan karena glew32.dll tidak ditemukan

//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

code c executio canntot melanjutkan karena glew32.dll bukan founud

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

Jawaban yang mirip dengan “Eksekusi kode tidak dapat dilanjutkan karena glew32.dll tidak ditemukan”

Pertanyaan yang mirip dengan “Eksekusi kode tidak dapat dilanjutkan karena glew32.dll tidak ditemukan”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya