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/02ec3265-9f8f-4dc2-8714-5986d2984f97n%40googlegroups.com.
