Date: Sun, 30 Jan 2022 14:53:47 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 261567] science/chrono: clang-12 crashes when option OPENGL=ON Message-ID: <bug-261567-29464-fGvkBifH1Z@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-261567-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-261567-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261567 --- Comment #2 from Dimitry Andric <dim@FreeBSD.org> --- (In reply to Yuri Victorovich from comment #1) For me it doesn't go beyond the configure step, it ends with: ... -- Found OpenGL: /usr/local/lib/libOpenGL.so -- Could NOT find GLM (missing: GLM_INCLUDE_DIR) Cannot build ChronoEngine_OpenGL (missing dependencies). -- =3D=3D=3D=3D Chrono models =3D=3D=3D=3D -- Robot models... -- Configuring done CMake Error: The following variables are used in this project, but they are= set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GLEW_INCLUDE_DIR used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl GLEW_LIBRARY linked by target "ChronoEngine_opengl" in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl GLFW_INCLUDE_DIR used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl used as include directory in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl GLFW_LIBRARY linked by target "ChronoEngine_opengl" in directory /wrkdirs/share/dim/ports/science/chrono/work/chrono-6.0.0/src/chrono_opengl CMake Error in src/chrono_opengl/CMakeLists.txt: Found relative path while evaluating include directories of "embedfile": "GLEW_INCLUDE_DIR-NOTFOUND" CMake Error in src/chrono_opengl/CMakeLists.txt: Found relative path while evaluating include directories of "ChronoEngine_opengl": "GLEW_INCLUDE_DIR-NOTFOUND" -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS CMake Generate step failed. Build files cannot be regenerated correctly. Not sure where it wants to get the GLEW lib from, but it apparently isnt' listed in the build-depends-list. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261567-29464-fGvkBifH1Z>