freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Problem in ft2-demo compilation.


From: Parth Wazurkar
Subject: Re: [ft-devel] Problem in ft2-demo compilation.
Date: Thu, 20 Sep 2018 15:17:10 +0530

>     libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
> (0x00007f40192d7000)
>
> Also, `libx11-dev' is properly installed, and `libX11.so' files are
> located in `/usr/lib/x86_64-linux-gnu/'.

Have a look into `graph/x11/rules.mk'.  There you can see the
locations where make searches for X11 libraries and header files.
This is a very simple setup and might fail easily.  However, you can
specify X11 libraries on the command line, for instance

  make X11_PATH="/X11/libraries /X11/header/files"

If this works on your Ubuntu box please update the list of directories
in `rules.mk' and provide a patch.

This `make X11_PATH="/usr/include /usr/lib/x86_64-linux-gnu/X11/rstart/commands/x11r6" '
worked for me. Thanks :-)

Here is the diff:

diff --git a/graph/x11/rules.mk b/graph/x11/rules.mk
index c8a87ea..5492fc9 100644
--- a/graph/x11/rules.mk
+++ b/graph/x11/rules.mk
@@ -55,6 +55,7 @@ ifndef X11_PATH
     X11_XLIB := include/X11/Xlib.h
     X11_PATH := $(foreach dir,$(X11_DIRS),$(wildcard $(dir)/$(X11_XLIB)))
     X11_PATH := $(X11_PATH:%/$(X11_XLIB)=%)
+   X11_PATH := /usr/include /usr/lib/x86_64-linux-gnu/X11/rstart/commands/x11r6
   endif
 endif


Thank you


 
  Parth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]