For Windows, if you haven't done so already, I recommend obtaining the pre-compiled libraries (64-bit) for GLEW and GLFS. GLM is headers-only, so no issues there.
Here are the relevant entries in my CMakeCache.txt. You will
need to adjust accordingly, based on where you placed your various
packages. Note that I am using older versions of these packages.
Please let us know if you encounter issues with the newer
releases.
/The GLEW DLL
GLEW_DLL:FILEPATH=C:/Users/udarn/Packages/glew-1.13.0/bin/Release/x64/glew32.dll
//The directory where GL/glew.h resides
GLEW_INCLUDE_DIR:PATH=C:/Users/udarn/Packages/glew-1.13.0/include
//The GLEW library
GLEW_LIBRARY:FILEPATH=C:/Users/udarn/Packages/glew-1.13.0/lib/Release/x64/glew32.lib
//The GLFW DLL
GLFW_DLL:FILEPATH=C:/Users/udarn/Packages/glfw-3.1.1/lib-vc2013/glfw3.dll
//Path to GLFW include directory.
GLFW_INCLUDE_DIR:PATH=C:/Users/udarn/Packages/glfw-3.1.1/include/GLFW
//Absolute path to GLFW library.
GLFW_LIBRARY:FILEPATH=C:/Users/udarn/Packages/glfw-3.1.1/lib-vc2013/glfw3dll.lib
//Path to a file.
GLM_INCLUDE_DIR:PATH=C:/Users/udarn/Packages/glm-0.9.7.1
Hope that this helps. When I get a chance, I will add more
details on this on the installation documentation page for
Chrono::OpenGL.
Radu
Hi, I am new to Chrono and cmake. I would like to install OpenGL module, but I didn't know how to add GLEW and GLFW libraries. I tried to set all the values for GLM_..., GLEW_..., GLFW_... to proper directory / file values. However, I found there are two .lib file for GLEW and GLFW.I really appreciate it if anyone could help me with this issue.
--
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/cefcd0cf-c4c9-4117-b13c-075ff6d88b78%40googlegroups.com.
Library 'ChronoEngine_mkl' in package Chrono is not installed properly
Library 'ChronoEngine_opengl' in package Chrono is not installed properly
DLL 'ChronoEngine_mkl.dll' in package Chrono is not installed properly
DLL 'ChronoEngine_opengl.dll' in package Chrono is not installed properly
By the way, I am using the newest releases. GLEW 2.2.2, GLFW 3.3.2, and MKL 2020.To unsubscribe from this group and stop receiving emails from it, send an email to projec...@googlegroups.com.