[ome-users] Attempt to build "build-cpp"

John Webber (NBI) John.Webber at nbi.ac.uk
Thu May 9 12:07:19 BST 2013


Hi Roger, (et al)

Thank you for the response.

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:

      scons: Configure: Checking for C library Ice...
      .sconf_temp\conftest_2.c <-
        |
        |
        |
        |int
        |main() {
        |
        |return 0;
        |}
        |
      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
      conftest_2.c
      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
      .sconf_temp\conftest_2.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
      scons: Configure: no

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:

        LIBPATH includes:  "D:\Ice\lib\vc100\x64"
        PATH includes: "D:\Ice\bin\vc100\x64"
        And ICE_HOME is set to "D:\Ice".

My complete LIBPATH is:

      LIBPATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\F
      ramework\v3.5;c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Prog
      ram Files (x86)\Microsoft Visual Studio 10.0\VC\ATLMFC\LIB;C:\Windows\Microsoft.
      NET\Framework\v4.0.30319;C:\Windows\Microsoft.NET\Framework\v3.5;c:\Program File
      s (x86)\Microsoft Visual Studio 10.0\VC\LIB;c:\Program Files (x86)\Microsoft Vis
      ual Studio 10.0\VC\ATLMFC\LIB;D:\GitHub\OMERO/lib;D:\Ice\lib\vc100\x64

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:

      D:\Ice
      D:\Ice\lib
      D:\Ice\lib\vc100
      D:\Ice\lib\vc100\x64
      D:\Ice\bin
      D:\Ice\bin\vc100
      D:\Ice\bin\vc100\x64

Thanks
John



-----Original Message-----
From: ome-users-bounces at lists.openmicroscopy.org.uk [mailto:ome-users-bounces at lists.openmicroscopy.org.uk] On Behalf Of Roger Leigh
Sent: 09 May 2013 10:43
To: ome-users at lists.openmicroscopy.org.uk
Subject: Re: [ome-users] Attempt to build "build-cpp"

On 09/05/2013 10:33, Roger Leigh wrote:

> One thought is that if you have both 32- and 64-bit versions of the
> Ice library (or any other dependencies), this may result in a failure
> to link 32- and 64-bit code.  If so, this should show up in the logs.

Just to clarify, I mean having both 32- and 64-bit variants in the library search path.


--
Dr Roger Leigh -- Open Microscopy Environment Wellcome Trust Centre for Gene Regulation and Expression, College of Life Sciences, University of Dundee, Dow Street,
Dundee DD1 5EH Scotland UK   Tel: (01382) 386364

The University of Dundee is a registered Scottish Charity, No: SC015096

_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20130509/4d05cf84/attachment.html>


More information about the ome-users mailing list