Hi Mayuresh, Unless you modified the build scripts, the default install directory should be in C:\Packages\gl. It seems like you're using the build folder of OpenGL, which is incorrect. Please use the install directory and try linking the dll, include, and directory there.
Best, Thomas On Sunday, July 16, 2023 at 7:48:49 PM UTC-5 [email protected] wrote: > Hi Thomas, > > Thank you for your reply. > I followed the steps from your email by running the OpenGL scripts to > download libraries and build. > Although I was able to link the dll files to respective variables, I still > got an error with the glew directory, as shown. (attached screen capture of > CMake gui as well) > > CMake Error at C:/Program > Files/CMake/share/cmake-3.26/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.26/Modules/FindPackageHandleStandardArgs.cmake:600 > (_FPHSA_FAILURE_MESSAGE) > C:/Program Files/CMake/share/cmake-3.26/Modules/FindGLEW.cmake:238 > (find_package_handle_standard_args) > src/chrono_opengl/CMakeLists.txt:42 (find_package) > > On Friday, 14 July 2023 at 10:55:58 UTC-4 [email protected] wrote: > >> Hi Mayuresh, >> >> It seems like OpenGL was not properly installed on your computer. Please >> refer to these scripts: >> https://github.com/projectchrono/chrono/tree/main/contrib/build-scripts/opengl. >> >> (.bat since you're on Windows). Once you install OpenGL with the scripts, >> please link the {var}_DLL to the .dll files found inside OpenGL. The same >> thing applies to the include directory and lib folder. >> >> On Friday, July 14, 2023 at 8:16:20 AM UTC-5 [email protected] wrote: >> >>> Hi Thomas, >>> >>> I have attached a before and after screen capture of Cmake Gui. >>> As instructed in installation, I'm defining the route to respective >>> library directories. No error was shown for GLM and GLFW but the error was >>> recorded for GLEW. >>> >>> On Wednesday, 12 July 2023 at 18:19:43 UTC-4 [email protected] wrote: >>> >>>> Hi Mayuresh, >>>> >>>> How are you defining the variables in CMake? Any screenshots in ccmake >>>> or cmake gui would be helpful in debugging this problem. >>>> >>>> Best, >>>> Thomas >>>> >>>> >>>> On Wednesday, July 12, 2023 at 12:21:30 PM UTC-5 [email protected] >>>> wrote: >>>> >>>>> Hello, >>>>> >>>>> I'm facing an error while building chrono with OpenGL. The error is >>>>> with GLEW library and even if I have defined the path of GLEW library in >>>>> the Cmake for Windows 64 bit, the error is persistent. >>>>> >>>>> Any leads to solve this issue would be appreciated. >>>>> >>>>> ==== Chrono OpenGL module ==== >>>>> >>>>> >>>>> CMake Error at C:/Program >>>>> Files/CMake/share/cmake-3.26/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.26/Modules/FindPackageHandleStandardArgs.cmake:600 >>>>> >>>>> (_FPHSA_FAILURE_MESSAGE) >>>>> C:/Program Files/CMake/share/cmake-3.26/Modules/FindGLEW.cmake:238 >>>>> (find_package_handle_standard_args) >>>>> src/chrono_opengl/CMakeLists.txt:42 (find_package) >>>>> >>>> -- You received this message because you are subscribed to the Google Groups "ProjectChrono" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/2e2ca83f-daef-4aaf-a2fc-a605b910a4f9n%40googlegroups.com.
