Compilation error using cmake
Dear ISCE2 team,
I want to use CUDA for acceleration, but when I use cmake to compile, I encounter the following error. I need help. Thank you.
openmotif is not well maintained under conda. Use the system provided libraries instead.
conda uninstall openmotif
ldconfig -p | grep libXm
Ensure something like /lib/x86_64-linux-gnu/libXm.so exists. otherwise, install via
# Ubuntu/Debian
sudo apt install libxm4
# Redhat CentOS
yum install motif, motif-devel
@lijun99 Dear lijun, I met same issue when using scons with GPU, can not find Xlib.h and Xm.h, even I have find in my conda environments. Do you know how to fix or correct it?
With scons, you are supposed to specify the openmotif path in your SConfigISCE file as, taking conda as an example,
MOTIFLIBPATH=$CONDA_PREFIX/lib
X11LIBPATH=$CONDA_PREFIX/lib
MOTIFINCPATH=$CONDA_PREFIX/include
X11INCPATH=$CONDA_PREFIX/include
@lijun99 Dear lijun, thank you. I have blocked the compile of XM and successfully build it. Thank you