-- The C compiler identification is GNU 4.9.2 -- The CXX compiler identification is GNU 4.9.2 -- Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinG .exe -- Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinG .exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/CodeBlocks/Mi ++.exe -- Check for working CXX compiler: C:/Program Files (x86)/CodeBlocks/Mi ++.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done It appears you are building natively for Windows Desktop with Mingw GCC -- Found OpenGL: opengl32 -- OpenGL include dirs:
> CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/FindPacka
> tandardArgs.cmake:137 (message):
> Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY)
> Call Stack (most recent call first):
> C:/Program Files/CMake/share/cmake-3.9/Modules/FindPackageHandleStand
> make:377 (_FPHSA_FAILURE_MESSAGE)
> C:/Program Files/CMake/share/cmake-3.9/Modules/FindGLEW.cmake:38 (fin
> _handle_standard_args)
cocos2d/cmake/Modules/CocosBuildHelpers.cmake:44 (find_package) cocos2d/cmake/Modules/BuildModules.cmake:7 (cocos_find_package) cocos2d/CMakeLists.txt:98 (BuildModules) -- Configuring incomplete, errors occurred! See also "C:/Cocos2D/Project1/Project1/CMakeFiles/CMakeOutput.log". See also "C:/Cocos2D/Project1/Project1/CMakeFiles/CMakeError.log".
I’m trying to compile on Windows for use Code::Blocks and I had this issue. Someone can tell me how to fix it, please?