Hello everybody,
I am trying to set up FEAP 8.3 in my personal PC running Ubuntu 18.04 LTS using a pre-compiled archive file that I got from my University. I have also exported the environment variable as shown in the installation video.
I have an example problem with user defined material routine with a working 'feap' executable. Running this works without any issues. Solution converges and I can visualize results also in the plot window. But, when I change the user material routine and recompile (using 'make') the makefile in the working directory, I get the following error.
Error:
-L/usr/X11R6/lib -lX11 -lm
/usr/bin/ld: cannot find -lX11
collect2: error: ld returned 1 exit status
makefile:45: recipe for target 'feap' failed
make: *** [feap] Error 1
and the part of the makefile that I think would be relevant is
[44] $(FOBJ) $(ARFEAP)
[45] ranlib $(ARFEAP)
[46] $(FF) -o feap [44] $(FOBJ) $(ARFEAP) \
[47] $(LDOPTIONS)
where
[] = Line number in the makefile
FOBJ = list of local fortran subroutines
ARFEAP = Path to the pre-compiled archive
LDOPTIONS = -L/usr/X11R6/lib -lX11 -lm
I am working with gcc-5 and gfortran-5 compilers.
Looking forward to your help!
Thank you and wish you a nice day!