Building openmicroscopy-5.4.6 on Windows10 (scons)
Posted: 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]
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]