==== 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)
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)
Hi Mayuresh,
This was an issue with the Irrlicht run-time visualization which doesn’t deal properly with primitive shapes with more than 1 visual material. The Chrono::Sensor demo you were trying to run defines 2 materials for the terrain patch (for the purpose of rendering with OptiX in Chrono::Sensor) but also creates an Irrlicht run-time visualization.
I pushed a fix to correct the assert you were hitting. Please pull the latest Chrono code in the ‘main’ branch and try again.
Having said that, you are building and running Chrono demos in Debug mode (that assert would not be evaluated in Release mode and the code still works fine).
Unless you are trying to debug code or understand how Chrono works by stepping through it, I suggest you rebuild in Release mode – you will get a significant boost in performance.
--Radu
--
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
projectchron...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/projectchrono/4917d838-7947-4eb4-b685-91547741afefn%40googlegroups.com.