Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Error #123

Open
xiaohunqupo opened this issue Nov 8, 2024 · 2 comments
Open

Make Error #123

xiaohunqupo opened this issue Nov 8, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@xiaohunqupo
Copy link

When I make wtih CMake Gui, get some errors:

CMake Error at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.28/Modules/FindGLEW.cmake:242 (find_package_handle_standard_args)
  CMakeLists.txt:48 (find_package)

I seted the GLEW_DIR, but get the same erros.

image

@MorcilloSanz
Copy link
Owner

Hello, it seems like CMake does not find the following file:

https://github.com/Kitware/CMake/blob/master/Modules/FindGLEW.cmake

You can try to create a folder called "cmake" in the same location as the main CMakeListst.txt (in your case, D:/Users/Documents/GitHub/RendererGL) and place the FindGLEW.cmake file there.

I guess it will fix it.

Thanks.

@MorcilloSanz MorcilloSanz added bug Something isn't working help wanted Extra attention is needed and removed bug Something isn't working labels Nov 11, 2024
@Kikio229
Copy link

Kikio229 commented Dec 2, 2024

I'm having a similar issue, where it can't seem to find FindGLEW.cmake (despite it being in my CMake install files).
Adding it as a cmake module in the source files of it doesn't seem to he working either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants