top bar

Configuration options

Revision as of 17:56, 15 November 2008 by Nico (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

As of Micro-Manager version 1.3 the following config options are available:

--with-imagej=/PathToImageJ This needs to be set or ImageJ needs to be found automatically. Building without imagej does not work at present.

--with-javaincl=path Only needs to be set when the java include directory is not found automatically (the configure script does an extensive search.

--without-core Allows you to build only the deviceadapters. Not building the Core means that you do not need to build ACE, i.e. this is much simpler and should allow you to start working on DeviceAdapters without much fuss. Default is '--with-core'. To add your own Deviceadapter, create a directory with your code in 'DeviceAdapters', copy a '' from an existing DeviceAdapter and edit to reflect the names used in your project, edit DeviceAdapters/ (add the name of your DeviceAdapter to the line starting with 'AC_OUTPUT') and DeviceAdapters/ (add the name of your adapter to the line starting with 'SUBDIRS'). Typing 'make' should start building your project (if it does not, try 'autoreconf', or 'autoconf', automake', './configure')

It can also be useful to specify compiler flags. I often use the following: CXXFLAGS="-g -O2 -isysroot /Developer/SDKs/MacOSX10.4u.sdk" Where -g signals to include debug symbols, -O2 specifies an optimization level, and -isyroot is a Mac-specific flag that in this case generates code compatible with Mac OS X 10.4

Example: ./configure --with-imagej=/Applications/Micro-Manager1.3 CXXFLAGS="-g -O2 -isysroot /Developer/SDKS/MacOSX10.4u.sdk"

© Micro-Manager : Vale Lab, UCSF 2006-2011 | All Rights Reserved | Contact