title: How to fix "Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY)"
body: <p>It appears you are building natively for Linux with GCC</p>
  
  <pre><code>Cocos2dx on Linux : "cmake -G 'CodeBlocks - Unix Makefiles'
  -- OpenGL include dirs: /usr/include
  CMake Error at /usr/local/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
    Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY)
  Call Stack (most recent call first):
    /usr/local/share/cmake-3.4/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
    /usr/local/share/cmake-3.4/Modules/FindGLEW.cmake:44 (find_package_handle_standard_args)
    cocos2d/cmake/Modules/CocosBuildHelpers.cmake:44 (find_package)
    cocos2d/CMakeLists.txt:190 (cocos_find_package)
  
  -- Configuring incomplete, errors occurred!
  See also "/home/daw/Dev/cocos2d-x-3.9/allProject/testC/CMakeFiles/CMakeOutput.log".
  </code></pre>