Wiki

Clone wiki

libeep / Home

Welcome

This is a git mirror of libeep. The main project is hosted on SourceForge. This mirror and wiki mainly exist so that I can contribute the occasional patch and provide a Debian package.

Building from Source

Generate configure

(only necessary when building from VCS checkout; tarballs have configure prebuilt)

#! bash
$ libtoolize --force
libtoolize: putting auxiliary files in `.'.
libtoolize: linking file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: linking file `m4/libtool.m4'
libtoolize: linking file `m4/ltoptions.m4'
libtoolize: linking file `m4/ltsugar.m4'
libtoolize: linking file `m4/ltversion.m4'
libtoolize: linking file `m4/lt~obsolete.m4'
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
$ aclocal
$ automake --force-missing  --add-missing
configure.ac:16: installing './compile'
configure.ac:3: installing './config.guess'
configure.ac:3: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
mex/Makefile.am:6: warning: '%'-style pattern rules are a GNU make extension
src/Makefile.am: installing './depcomp'
$ autoconf

Determine your MATLAB path

#! bash
$ ls -l $(which matlab)
lrwxrwxrwx 1 root root 29 Sep 23  2014 /usr/local/bin/matlab -> /opt/MATLAB/R2014a/bin/matlab

The link target (right of arrow) before /bin/matlab is the MATLAB path.

Configure

#! bash
$ ./configure --enable-matlab --with-matlab=/opt/MATLAB/R2014a
(output omitted)

Make

#! bash
$ make
(output omitted)

Install Library

Assuming you're doing a standard install as a system-wide shared library, you'll need root privileges.

#! bash
$ sudo make install

Install EEGLAB plugin

Updated