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/bdd8d80e-70b1-40b9-b6aa-53f6424e23a8n%40googlegroups.com.

Reply via email to