clone ssocr source code and build in my GCP Ubuntu but failed after make command

by Michael C.H. Wang   Last Updated February 11, 2019 10:02 AM - source

I ran the code below

sudo apt-get update

sudo apt-get install libx11-dev sudo apt-get install libimlib2-dev

and paste "make" in my ubuntu on GCP but requested to install make package so I use the command sudo apt-get install build-essential and after that I use make command in ssocr dir and an error message below:
make: imlib2-config: Command not found
make: imlib2-config: Command not found
cc -D_FORTIFY_SOURCE=2 -Wall -W -Wextra -pedantic -Werror -pedantic-errors -fstack-protector-all -O3 -c -o ssocr.o ssocr.c
ssocr.c:21:53: fatal error: X11/Xlib.h: No such file or directory
compilation terminated.
: recipe for target 'ssocr.o' failed
make: *** [ssocr.o] Error 1

So please comment how to fix it.

Tags : git ubuntu-make


Related Questions



Error compiling DVDStyler 3.0.4

Updated December 16, 2018 22:02 PM

Error compiling program - Maths library failure?

Updated July 12, 2019 09:02 AM


Does Umake work in Ubuntu 17.10 yet?

Updated July 17, 2017 21:02 PM