I want to compile and install geany text editor in Windows 7 by using cygwin.
I follow the usual way to compile and install C source:
./configure
make
make install
the configure script was successfully running and give me no errors.In the
make
step i have the following errors :
ctags.c:23:18: fatal error: glib.h: No such file or directory
#include
I have installed pkg-config and also add the pkg-config output to makefile by doing the
following:
CFLAGS = $(shell pkg-config --cflags glib-2.0)
CXXFLAGS = $(shell pkg-config --cflags glib-2.0)
LIBS = $(shell pkg-config --libs glib-2.0)
This is the output of the pkg-config
$pkg-config --cflags --libs glib-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -lglib-2.0 -lintl -lpcre -lintl - liconv -lpcre
$ pkg-config --libs glib-2.0
-lglib-2.0 -lintl -lpcre -lintl -liconv -lpcre
Any idea how to fix this ?
Asked by user106624
(21 rep)
Mar 15, 2015, 04:34 AM
Last activity: Aug 27, 2021, 04:09 AM
Last activity: Aug 27, 2021, 04:09 AM