[ome-devel] Building insight on Windows 7
Roger Leigh
rleigh at dundee.ac.uk
Tue Sep 13 11:26:14 BST 2016
On 12/09/2016 14:21, benjamin.schmid at fau.de wrote:
> This is my first attempt to compile OMERO, please apologize if I forgot
> something obvious..
>
> I just cloned the source code today, switched to the master branch and
> tried to compile using
> $ ./build.py release-clients
>
[...]
> To me that doesn't make much sense. I'm using Ice 3.6, I set the ICE_HOME
> environment variable accordingly, and modified the Path variable. That
> seems to work. My java version is 1.8.0_101.
>
> Any hint is appreciated. Of course I can also provide more information is
> required.
This should all work, but there may be a missing piece.
You need:
- The Ice bin directory in your PATH
- The SLICEPATH directory in the environment
[ICE_HOME should default both of these]
- The Python zeroc-ice bindings
- exe4j for Insight
This is what I did to do a build:
set "PATH=c:\Program Files (x86)\ZeroC\Ice-3.6.2\bin\vc140\x64;%PATH%"
==> Probably only needed for C++ builds
set "PATH=c:\Program Files (x86)\ZeroC\Ice-3.6.2\bin;%PATH%"
set "SLICEPATH=c:\Program Files (x86)\ZeroC\Ice-3.6.2\slice"
slice2cpp --version
3.6.2
==> Enables and confirms working slice
pip install zeroc-ice
python
Python 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice
>>> print Ice.getSliceDir()
C:\venv\27\lib\site-packages\slice
>>> exit()
==> Confirms working Python bindings (installed into a virtualenv here)
Install exe4j, and set "-Ddist.exe4j.home=c:\opt\exe4j" when running ant
ant build
ant -Ddist.exe4j.home=c:\opt\exe4j release-clients
==> Insight built and placed in target directory.
If you run ant with "> log 2>&1" this will capture the full build log in
a file called "log" It should display some information at the beginning
about whether slice2xxx and the other Ice-related settings are correct.
If you still have problems, please do paste those settings here so we
can take a closer look.
I hope the above helps.
Regards,
Roger
--
Dr Roger Leigh -- Open Microscopy Environment
Wellcome Trust Centre for Gene Regulation and Expression,
School of Life Sciences, University of Dundee, Dow Street,
Dundee DD1 5EH Scotland UK Tel: (01382) 386364
The University of Dundee is a registered Scottish Charity, No: SC015096
More information about the ome-devel
mailing list