| 1 |
|
| 2 |
== Compiling on Debian and derivatives =============== |
| 3 |
|
| 4 |
== 1. REQUIREMENTS == |
| 5 |
|
| 6 |
sudo apt-get install libsuitesparse-dev libz-dev |
| 7 |
|
| 8 |
|
| 9 |
== 2. DOWNLOAD == |
| 10 |
and extract biosig4c++ and change into directory |
| 11 |
cd biosig4c++/ |
| 12 |
|
| 13 |
or checkout the latest version from the git repository |
| 14 |
|
| 15 |
git clone git://git.code.sf.net/p/biosig/code biosig-code |
| 16 |
cd biosig-code/biosig4c++/ |
| 17 |
|
| 18 |
== 3. COMPILATION == |
| 19 |
|
| 20 |
./configure && make && make install |
| 21 |
make mma |
| 22 |
|
| 23 |
If it fails (file mma/sload not available), you might need to edit |
| 24 |
mma/Makefile (line 18) |
| 25 |
|
| 26 |
MLINKDIR= |
| 27 |
|
| 28 |
set it to the directory of the developerkit of your mathematica |
| 29 |
installation. |
| 30 |
|
| 31 |
Try again |
| 32 |
make mma |
| 33 |
|
| 34 |
|
| 35 |
== 4. INSTALL == |
| 36 |
copy the files |
| 37 |
|
| 38 |
mma/$SystemID/sload.exe mma/*.nb |
| 39 |
|
| 40 |
into your working directory. |
| 41 |
|
| 42 |
== 5. USAGE == |
| 43 |
Start mathematica |
| 44 |
|
| 45 |
link=Install["sload.exe"] |
| 46 |
?sload |
| 47 |
|
| 48 |
mySLOAD.nb demonstrates how to use sload in mathematica. |
| 49 |
|
| 50 |
|
| 51 |
=== OTHER PLATFORMS === |
| 52 |
are currently not maintained. The information below might be outdated. |
| 53 |
|
| 54 |
= Cross-Compiling on Linux for Windows = |
| 55 |
Prerequisites: |
| 56 |
Cross-compiler (e.g. mxe) |
| 57 |
wine |
| 58 |
Mathlink developer files from Windows |
| 59 |
e.g. C:\Program Files\Wolfram Research\Mathematica\7.0\SystemFiles\Links\MathLink\DeveloperKit\Windows* |
| 60 |
to the linux computer (copyied them into the corresponding Mathematica directory on linux) |
| 61 |
e.g. /usr/local/Wolfram/gridMathematicaServer/7.0/SystemFiles/Links/MathLink/DeveloperKit/ |
| 62 |
Adapt the user-defined variables in Makefile.win32 |
| 63 |
and run |
| 64 |
|
| 65 |
make sload.exe |
| 66 |
|
| 67 |
|
| 68 |
===== TESTING ========================================= |
| 69 |
The installation can be tested by starting Mathematica, loading and running test.nb. |
| 70 |
|
| 71 |
|
| 72 |
Copyright (C) 2011,2013,2015,2019 Alois Schloegl |
| 73 |
[1] http://pub.ist.ac.at/~schloegl/biosig/TESTED |
| 74 |
|
| 75 |
|
| 76 |
|