Hi Hang,
yes, you'd need Ice 3.6, Python 2.7, Java-SDK 8, and the Apache tools Ant, Maven and Ivy; no need for cmake.
There is extensive documentation around:
https://docs.openmicroscopy.org/omero/5 ... index.html , or especially with respect to getting started/building from source:
https://docs.openmicroscopy.org/omero/5 ... ystem.html .
A very brief quick start summary, in case your using Eclipse IDE:
- You clone the Github repository
https://github.com/openmicroscopy/openmicroscopy- Then run './build.py build-dev' : This will build everything and already create the respective Eclipse projects.
- Then you import the whole openmicroscopy directory into Eclipse "as existing Maven projects" and you'll have all components in Eclipse as separate projects. Even if you just want to have Insight, it's good to have the code for example the Blitz component (which contains the Java Gateway Insight uses to access the Java API of the server) at hand. Just clicking on the method in Eclipse and jumping to the respective code can often be quicker than looking for the documentation/Javadoc.
Depending on the OS you're using and the way various components have been installed, you might see problems like "ant not found", "slice2java not found", etc. In that case you'd have to set some environment variables pointing to the right locations, like: ICE_HOME, SLICE_HOME, ...
Over time I ended up setting all of these in my .bash_profile:
- Code: Select all
export SLICE_HOME=/usr/local/share/Ice-3.6.4/slice
export ICE_HOME=/usr/local/share/Ice-3.6.4
export ICE_CONFIG=/Users/dlindner/Repositories/openmicroscopy/dist/etc/ice.config
export PYTHONPATH=/usr/local/lib/python2.7/site-packages
Although some are just needed if you want to start up a local server (like "ICE_CONFIG"), which you'll find in the "dist" directory, if you ran "./build.py build-dev".
Regards,
Dominik