-
-
Notifications
You must be signed in to change notification settings - Fork 216
Building sc‐im with xls support on macOS
Ryan Knutson edited this page Mar 24, 2025
·
1 revision
- Install command line tools from Xcode.
xcode-select --install
- Clone SC-IM:
git clone https://github.com/andmarti1424/sc-im
cd sc-im
- Install libxls with make:
curl -L https://github.com/libxls/libxls/releases/download/v1.6.3/libxls-1.6.3.tar.gz | tar -zxvf -
cd libxls-1.6.3
./configure
make
sudo make install
cd ..
- Install libxml2 (requires Homebrew):
brew install libxml2
- Move to src directory:
cd src
- Add the following to the Makefile (under
name
is a good spot):
CFLAGS += -DXLS $(shell pkg-config --cflags libxml-2.0 libxls)
LDFLAGS += $(shell pkg-config --libs libxml-2.0 libxls)
LDLIBS += -lxlsreader
- Install SC-IM:
make clean
make
sudo make install