Making Install Kits

From LIBISIS
Revision as of 10:04, 22 August 2008 by Dean Whittaker (talk | contribs)
Jump to navigation Jump to search

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. This will work with whichever set of Matlab versions were used above.


Linux Kits

Mac Kits