Difference between revisions of "Making Install Kits"

From LIBISIS
Jump to navigation Jump to search
m
 
m
Line 2: Line 2:
  
 
===Set The Version Of Matlab===
 
===Set The Version Of Matlab===
 +
 
Currently, two versions of kits are required to cover all versions of matlab due to differences in the way mex files are compiled
 
Currently, two versions of kits are required to cover all versions of matlab due to differences in the way mex files are compiled
  
Line 14: Line 15:
 
* Compile Libisis
 
* Compile Libisis
 
* Follow the instructions below
 
* Follow the instructions below
 +
  
 
===Making The Install Kit===
 
===Making The Install Kit===
Line 22: Line 24:
 
* Type >> cd /c/<libisis dir> where <libisis dir> is the directory libsisis is checked out to
 
* Type >> cd /c/<libisis dir> where <libisis dir> is the directory libsisis is checked out to
 
* Type >> sh createdist.sh
 
* Type >> sh createdist.sh
* A message may appear: no such directory
+
* A message may appear: cp: cannot stat. This is perfectly fine.
* A zip file now exists in the libisis directory called libisis.zip
+
* A zip file now exists in the libisis directory called libisis.zip ready for distribution.
 
 
  
  

Revision as of 08:43, 22 August 2008

Windows Kits

Set The Version Of Matlab

Currently, two versions of kits are required to cover all versions of matlab due to differences in the way mex files are compiled

  • 6.5 -> 2006a require one build (the "old" versions)
  • 2006b and above requires a different build (the "new" versions)

To change the version of matlab that the kit will be made for, change the system environment variable named MATLABDIR to the value of the root directory for the required version of Matlab. Build using one version from the "old" range and one version from the "new" range. Distribute the correct version to users.

Once the environment variable is changed:

  • Re-start the compiling program
  • Compile Libisis
  • Follow the instructions below


Making The Install Kit

Windows install kits are done using the MINGW32 interface.

  • Open MingGW (usually programfiles/minGW/msys/msys)
  • Type >> cd /c/<libisis dir> where <libisis dir> is the directory libsisis is checked out to
  • Type >> sh createdist.sh
  • A message may appear: cp: cannot stat. This is perfectly fine.
  • A zip file now exists in the libisis directory called libisis.zip ready for distribution.


Linux Kits

Mac Kits