We're Hiring!

Building openmicroscopy-5.4.6 on Windows10 (scons)

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby allenwinter » Wed Jul 11, 2018 3:29 pm

Using CMake to build on windows10, build.py fails after a while.

I see the following at the end of CMakeFiles/OmeroBuildOutput.txt:
os.chdir('C:\\work\\Qi\\openmicroscopy-5.4.6\\components\\blitz')
scons: *** [omero_api_Exporter_ice.py] The system cannot find the file specified

java is in my %PATH%
java -version says
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.172-b11, mixed mode)

do I need to set PYTHONPATH or some other variable?
I have c:\python27 in %PATH% but I don't set PYTHONPATH

Here's how I build from a plain old Windows terminal:
cd openmicroscopy-5.4.6
mkdir build-windows10
cd build-windows10
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=c:\OMERO ..
[fails with that scons error show above]
allenwinter
 
Posts: 4
Joined: Thu Jul 05, 2018 3:29 pm

Re: Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby rgozim » Fri Jul 13, 2018 10:02 am

Hi Allen,

From the error you've provided, it looks like zeroc-ice has failed to generate omero_api_Exporter_ice.py from omero/api/Exporter.ice

I'm not entirely sure why this is occurring and we don't have any Windows machines to test on as Windows isn't officially supported.

Have you tried using any other CMake generators to see if a similar error occurs? Also, are you following any particular OMERO docs?

Best regards,
Riad
User avatar
rgozim
Team Member
 
Posts: 25
Joined: Thu Jul 20, 2017 9:09 am

Re: Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby allenwinter » Thu Jul 19, 2018 9:37 pm

driving me a little crazy.
I managed to build it on one of my Windows machines.. somehow.
but I can't reproduce on a second machine.

At first I thought for sure I needed to build my own zeroc-ice and not use the web installer version from https://zeroc.com/download/Ice/3.6/Ice- ... taller.exe

then I thought I need to put %ICE_HOME%\bin\x64 in %PATH%

I'll start fresh tomorrow.
thanks for you interest.
allenwinter
 
Posts: 4
Joined: Thu Jul 05, 2018 3:29 pm

Re: Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby allenwinter » Mon Jul 23, 2018 3:17 pm

Is there anyway to show the full command lines that are being executed?

I cannot figure out exactly what scons is trying to do and what file(s) are missing
allenwinter
 
Posts: 4
Joined: Thu Jul 05, 2018 3:29 pm

Re: Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby Dominik » Wed Jul 25, 2018 3:02 pm

Sorry for the late reply. I tried to replicate the issue on a Windows 8 VM, but got stuck an various other errors.
I will bring up the issue again next week when some people from the team are back again from holiday. They will hopefully be able to help you with this matter.

Regards,
Dominik
User avatar
Dominik
Team Member
 
Posts: 149
Joined: Mon Feb 10, 2014 11:26 am

Re: Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby jmoore » Thu Aug 23, 2018 3:06 pm

User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Building openmicroscopy-5.4.6 on Windows10 (scons)

Postby allenwinter » Tue Sep 04, 2018 4:15 pm

for the record, the error turned out to be that I didn't have slice2py installed on Windows; you need to build slice2py explicitly on Windows (or you can install with pip)

unfortunately, still unable to build omero 5.4.6 on Windows because the omero-ice.dll won't link due to more than 65535 objects.

"LINK : fatal error LNK1189: library limit of 65535 objects exceeded"

I'm stuck
allenwinter
 
Posts: 4
Joined: Thu Jul 05, 2018 3:29 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest

cron