FEAP User Forum
FEAP => Installation => Topic started by: jian_chen on October 25, 2017, 11:52:37 PM
-
I installed FEAP 8.5 on MacOS High Sierra, but it gave an error: ld: library not found for -ljpeg.
I have installed quartz for X11. Anybody has an idea about that?
Thanks in advance.
-
Have you copied the file jpgd.c from the unix/jpeg directory into the unix directory?
-
If the compiler complains that you do not have the jpeg library on link you should remove -ljpeg from the -L loader options in makefile.in. Also in makefile change the line
(cd unix/jpeg; make archive)
to
(cd unix/nojpeg; make archive)
You other option is to load the jpeg development tools (libraries and header files) from fink, macports, or homebrew.
-
Thanks for the kind instructions.
I installed the homebrew package and used "brew install libjpeg" to include jpeg library.