[ome-devel] building OMERO cpp 4.3.4

Jerome Avondo jeromeavondo at msn.com
Tue Mar 20 11:20:00 GMT 2012


Hi again,
Some progress...
As a sanity check I tested with VS2008 and both server + cpp library compile fine.
With respect to VS2010, I had an issue with my javac.exe not being in my PATH env. variable.So no doing:
set ICE_HOME=c:\Ice-3.3.1-VC90set PATH=C:\Program Files\Java\jdk1.7.0\bin;C:\Ice-3.3.1-VC90\bin;%PATH%C:\Python27\python build.py
I am able to compile the server with VS2010.But when I try to:
C:\Python27\python build.py build-cpp
using VS2010 I encounter the following error, which I know was previously reported:
e:\OMERO>python build.py build-cppBuildfile: e:\OMERO\build.xml
check-ivy::: Ivy 2.1.0 - 20090925235825 :: http://ant.apache.org/ivy/ :::: loading settings :: file = e:\OMERO\etc\ivysettings.xml
build-cpp:Entering e:\OMERO\components\tools\OmeroCpp...
tools-init:Copying 665 files to e:\OMERO\components\tools\OmeroCpp\target
build:Building with ICE_HOME=c:\Ice-3.3.1-VC90Debug setting: True (debug)64-Bit build: False (x86)AttributeError: OmeroEnvironment instance has no attribute 'MSVSProject':  File "E:\OMERO\components\tools\OmeroCpp\SConstruct", line 147:    msproj = env.MSVSProject(target = 'omero_client' + env['MSVSPROJECTSUFFIX'],
BUILD FAILEDe:\OMERO\build.xml:174: The following error occurred while executing this line:e:\OMERO\components\antlib\resources\global.xml:110: The following error occurred while executing this line:e:\OMERO\components\tools\OmeroCpp\build.xml:23: The following error occurred while executing this line:e:\OMERO\components\antlib\resources\global.xml:234: exec returned: 2
So my question is this issue still unresolved?Is there any hope for VS2010 omero-cpp libraries?Thanks,
J.
From: jeromeavondo at msn.com
To: ome-devel at lists.openmicroscopy.org.uk
Date: Mon, 19 Mar 2012 17:00:38 +0000
Subject: [ome-devel] building OMERO cpp 4.3.4







Hi all,
I'm having a few issues building the 4.3.4 OMERO cpp library with VS2010.running the following:
set ICE_HOME=c:\Ice-3.3.1-VC90C:\Python26\python build.py cleanC:\Python27\python build.pyC:\Python27\python build.py build-cpp
which is what I was using for older versions (4.2.x) seems to choke at the point below:
icegen2:Copying 143 files to E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\generatedCopying 143 files to E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\generatedCopying 143 files to E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\generatedCopying 143 files to E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\generatedCopying 143 files to E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\generatedCopying 1 file to E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\generatedBuilding with ICE_HOME=c:\Ice-3.3.1-VC90Debug setting: True (debug)64-Bit build: False (x86)os.chdir('E:\\SVN\\-=OMERO_DEV=-\\OMERO\\components\\blitz\\resources')slice(["omero\api\Exporter.h", "omero\api\Exporter.cpp"], ["omero\api\Exporter.ice"])os.chdir('E:\\SVN\\-=OMERO_DEV=-\\OMERO\\components\\blitz')scons: *** [omero\api\Exporter.h] The system cannot find the file specified
BUILD FAILEDE:\SVN\-=OMERO_DEV=-\OMERO\build.xml:126: The following error occurred while executing this line:E:\SVN\-=OMERO_DEV=-\OMERO\components\antlib\resources\global.xml:110: The following error occurred while executing this line:E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\build.xml:27: The following error occurred while executing this line:E:\SVN\-=OMERO_DEV=-\OMERO\components\blitz\build.xml:219: The following error occurred while executing this line:E:\SVN\-=OMERO_DEV=-\OMERO\components\antlib\resources\global.xml:234: exec returned: 2
Any help/pointers would be appreciated...Thanks,
J.
 		 	   		  

_______________________________________________
ome-devel mailing list
ome-devel at lists.openmicroscopy.org.uk
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-devel/attachments/20120320/59508b15/attachment.html>


More information about the ome-devel mailing list