Skip to content

Instantly share code, notes, and snippets.

@beniroquai
Created February 25, 2021 07:04
Show Gist options
  • Save beniroquai/775ece6eadc5d831b10fcb91f1e9d61c to your computer and use it in GitHub Desktop.
Save beniroquai/775ece6eadc5d831b10fcb91f1e9d61c to your computer and use it in GitHub Desktop.
Install MicroManager on a Nvidia Jetson
On extrnal drive on Windows
Format sd card as NTFS
open powershell in this drive
shift right click
open powershell here
# Instal dependencies
# Here you have debian packages you can install with sudo apt-get install
# Find equivalent packages for others distributions:
#
# subversion build-essential \
# autoconf automake libtool pkg-config \
# libboost1.54-all-dev zlib1g-dev swig \
# openjdk-7-jdk ant python-dev python-numpy-dev
mkdir mm/
cd mm/
# Save directory path
MM_DIR=$(pwd)
# Get ImageJ (use it even if you already have another copy of ImageJ or Fiji)
wget http://imagej.nih.gov/ij/download/zips/ij148.zip
unzip ij148.zip
# Retrieve MM source code (can be long) - user/passw: guest/guest
#svn co https://valelab.ucsf.edu/svn/micromanager2/trunk micro-manager
git clone github
checkout mm2
svn co https://valelab.ucsf.edu/svn/3rdpartypublic
replace buildscripts/deptfetch.xml with newer master branch version
$ svn cleanup 3rdpartypublic
$ svn up up 3rdpartypublic
# Build MM
cd micro-manager/
./autogen.sh
./configure --prefix=$MM_DIR/ImageJ --enable-imagej-plugin=$MM_DIR/ImageJ --with-python
# Download build dependencies
make fetchdeps # Required since SVN r14001-r14016
# Build binaries (can take a while)
make
# Install MM as ImageJ plugin
make install
# Run MM
# $MM_DIR/mmimagej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment