Open devilkingsatan666 opened 1 month ago
@devilkingsatan666 --osmesa
builds VisIt with offscreen rendering support, so it should not need to use your system GL libs. Wiring them back in may have confused he build.
Are you trying to use the compiler wrappers from an existing visit install, I see:
/opt/visit/3.4.1/linux-x86_64/bin/mpicc
I suggest using --mpich to let visit build a copy of mpich thats not package in another visit build.
@cyrush Thank you so much for your reply. I wired them back to solve the CMake error: "Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_INCLUDE_DIR)." Should I wire them back to the GL provided in the /Path_To_VisIt/third_party/osmesa
directory?
/opt/visit/3.4.1/linux-x86_64/bin/mpicc
is OpenMPI of version 4.1.6 I pre-installed for this build of VisIt.
Yes, the intent is for Mesa to take the place of system GL. Not sure what went wrong, but you may need to start with a clean build and dive into the VTK configure issue.
If you installed OpenMPI that should work --- we also can package mpich with visit and it would end up in a similar path if you installed a visit binary. I wanted to make sure something wasn't cross wired there.
Describe the bug
When building dependencies for VisIt 3.4.1 with the following command:
CMake complains that it cannot find OpenGL with the following error:
So, I changed the build file and specified the full path to my system's
libGL.so
andlibGLU.so
as follows:When I further built VisIt,
ld
reported undefined references toXOpenDisplay
,XDisplayName
, andXCloseDisplay
. So, I manually added-lX11
to the tail of the following files:Finally, VisIt was successfully built, packaged, and installed under
/opt/visit
. Unfortunately, the following error occurred when I tried to run VisIt:Helpful additional information
Expected behavior
The viewer should appear without exiting abnormally.
Desktop