-
-
Notifications
You must be signed in to change notification settings - Fork 216
Ubuntu 16.04.1 with libxlsreader
jjinkou2 edited this page Aug 11, 2016
·
11 revisions
You can compile scim with libxls. Just compile the xls library from sourceforge. libxlsreader http://libxls.sourceforge.net/
1)add this line
LDFLAGS="-L/usr/local/libxls/lib"
- change CFLAGS to
CFLAGS := $(LINUX) $(FREEBSD) $(NETBSD) $(MACOSX) -O2 -Wall -pipe -g -I/usr/include/libxml2 -I/usr/local/libxls/include/libxls -I/usr/local/libxls/include
3)and change LDLIBS to :
LDLIBS := -lm -lncursesw -lxlsreader -lzip -lxml2
4)then in the file xls.c change the line :
xls_close(pWB);
to this
xls_close_WB(pWB);