[ome-devel] Building OMERO-CPP bindings on Windows

Josh Moore josh at glencoesoftware.com
Fri Aug 26 16:03:13 BST 2011


Hi Donald!

Can you look in the config.log file under OmeroCpp? It should show you just went wrong with header detection. If it's still not clear, send config.log along with compiler.log and scons.log so we can try to figure things out. Info on which compiler you're using and how it's installed / initialized would also be helpful. The initialization we do in docs\hudson\OMERO-cpp.bat is:

  call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
  if errorlevel 1 exit /b 1

but I don't know how that translates to VS versions on Win7. There's even an outside chance that we'll need to upgrade the SCons versions to have Win7 completely supported.

Cheers,
~Josh.

On Aug 26, 2011, at 4:49 PM, Donald MacDonald wrote:

> Hi all,
> 
> I'm trying to build the OMERO-CPP bindings on windows 7, I've got the rest of the server running but I'm unable to build the C++ bindings
> 
> C:\Users\DonaldMacDonald\Desktop\ome>python build.py build-cpp
> Buildfile: C:\Users\DonaldMacDonald\Desktop\ome\build.xml
> 
> check-ivy:
> :: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ ::
> :: loading settings :: file = C:\Users\DonaldMacDonald\Desktop\ome\etc\ivysettin
> gs.xml
> 
> build-cpp:
> Entering C:\Users\DonaldMacDonald\Desktop\ome\components\tools\OmeroCpp...
> 
> build:
> Building with ICE_HOME=C:\Ice-3.3.1
> Debug setting: True (debug)
> 64-Bit build: False (detect)
> Ice/Ice.h not found
> 
> BUILD FAILED
> C:\Users\DonaldMacDonald\Desktop\ome\build.xml:174: The following error occurred
> while executing this line:
> C:\Users\DonaldMacDonald\Desktop\ome\components\antlib\resources\global.xml:110:
> The following error occurred while executing this line:
> C:\Users\DonaldMacDonald\Desktop\ome\components\tools\OmeroCpp\build.xml:23: The
> following error occurred while executing this line:
> C:\Users\DonaldMacDonald\Desktop\ome\components\antlib\resources\global.xml:234:
> exec returned: 1
> 
> Total time: 5 seconds
> 
> C:\Users\DonaldMacDonald\Desktop\ome>
> 
> I've install scons, I've tried moving the include files around, is there something I've missed?
> 
> Regards
> 
> Donald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 243 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20110826/22cbbf56/attachment.pgp>


More information about the ome-devel mailing list