[ome-users] Building openmicroscopy from source
Josh Moore
josh at glencoesoftware.com
Tue Apr 8 20:10:25 BST 2014
On Apr 8, 2014, at 6:24 PM, John Webber (NBI) wrote:
> Hi,
Hi John,
> I'm seeing a strange error when trying to build openmicroscopy from source on Windows:
>
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> :: UNRESOLVED DEPENDENCIES ::
>
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> :: ome#bio-formats;UNKNOWN: not found
>
> ::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
> D:\GitHub\openmicroscopy_v5.0\build.xml:265: The following error occurred while
> executing this line:
> D:\GitHub\openmicroscopy_v5.0\components\antlib\resources\global.xml:434: The fo
> llowing error occurred while executing this line:
> D:\GitHub\openmicroscopy_v5.0\components\antlib\resources\lifecycle.xml:62: impo
> ssible to resolve dependencies:
> resolve failed - see output for details
>
> Total time: 52 seconds
>
> D:\GitHub\openmicroscopy_v5.0>
>
> I have "git cloned" this version of openmicroscopy from as follows:
>
> git clone -branch dev_5_0 https://github.com/openmicroscopy/openmicroscopy.git openmicroscopy
>
> Following the above, I have also run the following commands:
>
> git submodule init
> git submodule update
Are the two sets of commands (build ... && git ...) run in different shells?
> I then run the following in the following to build openmicroscopy:
>
> set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51
> Set ICE_HOME=C:\Program Files (x86)\ZeroC\Ice-3.5.1
> Set OMERO_HOME=D:\GitHub\openmicroscopy_v5.0
> set PATH=C:\Program Files (x86)\ZeroC\Ice-3.5.1\bin\vc100\x64;C:\Program Files\Java\jdk1.7.0_51\bin;C:\Python27;%PATH%
Could you also try adding the `git` exe to your %PATH% at this stage and re-launch?
> set ARCH=x64
> set RELEASE=Os
> python build.py clean
> python build.py
> python build.py build-cpp
>
> It is the python build.py which is resulting in the "ome#bio-formats;UNKNOWN: not found" error.
>
> Please can someone point me in the direction of where I am going wrong?
>
> Thanks
> John
Cheers,
~Josh.
More information about the ome-users
mailing list