Closed Wayne901 closed 6 months ago
The error is
If you used CMake to build MFEM, you should use CMake to build GLVis too.
If you are on Ubuntu, try installing the package libxi-dev
which contains the file /usr/include/X11/extensions/XInput2.h
, see e.g. https://packages.ubuntu.com/mantic/amd64/libxi-dev/filelist.
If you are using a different distribution, try to find which package provides the missing file, X11/extensions/XInput2.h
.
One remark: since you are using MFEM v4.6, it's probably best to use the latest master
branch of GLVis instead of v4.2 since it is older than MFEM v4.6.
Thank you. Installing libXi-devel solved the problem.
I have built MFEM 4.6 serially with CMake. Then I build GLVis 4.2 with "make ../MFEM_DIR=xxx -j" and it first says "make: cc: command not found". So i link /usr/bin/cc to /usr/bin/gcc, with gcc version 10.1.0. However, it then returns the error ![Uploading Snipaste_2024-02-24_20-31-09.png…]()
Or when i install GLVis with CMake with "tar -zxvf glvis.tgz cd glvis mkdir build cd build cmake xxxx", it doesn not generate a Makefile in build directory.