<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:11pt;">
<div>Hi Roger, (et al)</div>
<div> </div>
<div>Thank you for the response.</div>
<div> </div>
<div>I have had another look this morning and am still at a loss!  I have re-run the " python build.py build-cpp" and see the following error in the "config.log" flle within .. \components\tools\OmeroCpp:</div>
<div> </div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">scons: Configure: Checking for C library Ice... </span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">.sconf_temp\conftest_2.c <-</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |int</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |main() {</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |  </span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |return 0;</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |}</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">  |</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">C:\PROGRA~2\MICROS~2.0\VC\bin\cl.EXE /Fo.sconf_temp\conftest_2.obj /c .sconf_temp\conftest_2.c /nologo /DOMERO_API_EXPORTS /D_REENTRANT /DNDEBUG /DWIN32_LEAN_AND_MEAN /Isrc /Itarget
/ID:\GitHub\openmicroscopy_v4.4.7\components\blitz\generated /ID:\Ice\include</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">conftest_2.c</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">C:\PROGRA~2\MICROS~2.0\VC\bin\link.EXE /nologo /MACHINE:X64 /DEBUG /OUT:.sconf_temp\conftest_2.exe /LIBPATH:. /LIBPATH:C:\Windows\Microsoft.NET\Framework\v4.0.30319 /LIBPATH:C:\Windows\Microsoft.NET\Framework\v3.5
"/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB" /LIBPATH:D:\GitHub\OMERO\lib /LIBPATH:D:\Ice\lib\vc100\x64 "/LIBPATH:C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\lib"
/LIBPATH:D:\Ice\lib\x64 /LIBPATH:D:\Ice\lib Ice.lib .sconf_temp\conftest_2.obj</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">.sconf_temp\conftest_2.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">scons: Configure: no</span></font></div>
<div> </div>
<div>As you can see from this error, it appears to be using ice.lib from D:\ice\lib, but I have no idea why!  I have checked ALL of my environment variables (with the "set" command) and every mention of Ice points to the 64 bit version, as follows:</div>
<div> </div>
<div>        <font size="2"><span style="font-size:9pt;">LIBPATH includes:  “</span></font><font size="2"><span style="font-size:9pt;">D:\Ice\lib\vc100\x64</span></font><font size="2"><span style="font-size:9pt;">”</span></font></div>
<div><font size="2"><span style="font-size:9pt;">        PATH includes: “D:\Ice\bin\vc100\x64”</span></font></div>
<div><font size="2"><span style="font-size:9pt;">        And ICE_HOME is set to “D:\Ice”.</span></font></div>
<div><font size="2"><span style="font-size:9pt;"> </span></font></div>
<div>My complete LIBPATH is:</div>
<div> </div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\F</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">ramework\v3.5;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Prog</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">ram Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB;C:\Windows\Microsoft.</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;c:\Program File</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">s (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files (x86)\Microsoft Vis</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">ual Studio 10.0\VC\ATLMFC\LIB;D:\GitHub\OMERO/lib;D:\Ice\lib\vc100\x64</span></font></div>
<div> </div>
<div>My only thought is that I am not setting the ICE_HOME correctly… should this be something other than “D:\ice” ?  The structure under D:\Ice is:</div>
<div> </div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice\lib</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice\lib\vc100</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice\lib\vc100\x64</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice\bin</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice\bin\vc100</span></font></div>
<div style="padding-left:36pt;"><font size="2"><span style="font-size:9pt;">D:\Ice\bin\vc100\x64</span></font></div>
<div> </div>
<div>Thanks</div>
<div>John</div>
<div> </div>
<div> </div>
<div> </div>
<div>-----Original Message-----</div>
<div>From: ome-users-bounces@lists.openmicroscopy.org.uk [<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">mailto:ome-users-bounces@lists.openmicroscopy.org.uk</a>] On Behalf Of Roger Leigh</div>
<div>Sent: 09 May 2013 10:43</div>
<div>To: ome-users@lists.openmicroscopy.org.uk</div>
<div>Subject: Re: [ome-users] Attempt to build "build-cpp"</div>
<div> </div>
<div>On 09/05/2013 10:33, Roger Leigh wrote:</div>
<div> </div>
<div>> One thought is that if you have both 32- and 64-bit versions of the </div>
<div>> Ice library (or any other dependencies), this may result in a failure </div>
<div>> to link 32- and 64-bit code.  If so, this should show up in the logs.</div>
<div> </div>
<div>Just to clarify, I mean having both 32- and 64-bit variants in the library search path.</div>
<div> </div>
<div> </div>
<div>--</div>
<div>Dr Roger Leigh -- Open Microscopy Environment Wellcome Trust Centre for Gene Regulation and Expression, College of Life Sciences, University of Dundee, Dow Street,</div>
<div>Dundee DD1 5EH Scotland UK   Tel: (01382) 386364</div>
<div> </div>
<div>The University of Dundee is a registered Scottish Charity, No: SC015096</div>
<div> </div>
<div>_______________________________________________</div>
<div>ome-users mailing list</div>
<div>ome-users@lists.openmicroscopy.org.uk</div>
<div><a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a></div>
<div> </div>
</span></font>
</body>
</html>