Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #10252 (new)

Opened 11 years ago

Last modified 11 years ago

Bug: Build issues with 'test' target of OmeroCpp — at Version 2

Reported by: bpindelski Owned by:
Priority: major Milestone: OMERO-4.4.9
Component: Tools Version: n.a.
Keywords: n.a. Cc: rleigh, jamoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by bpindelski)

Testing conducted on Windows 7 Enterprise 64bit edition.
Installed Windows SDK 7.1 and the full .Net Framework 4.0. Invoked

build.bat -f components\tools\OmeroCpp\build.xml test

The compilation failed first, as the Windows 7 SDK Prompt has been started without the '/x86' switch. After that the build failed again, as the 'SConstruct' file has the following line

compiler_env["ARCH"] = (env.is64bit() and "64" or "32")

which sets the 'ARCH' variable to 64 bit, and that could conflict with the SDK setting.

Other possible causes:

  • during build:
    test-compile:
    Building with ICE_HOME=/usr/share/Ice
    Debug setting: True (debug)
    64-Bit build: True (detect)
    
  • 'ARFLAGS': ['/nologo', '/MACHINE:X64'] in scons.log


Error message:

target\omero\api\Exporter.obj : fatal error LNK1112: module machine type 'X86' c
onflicts with target machine type 'x64'
scons: *** [omero_client.dll] Error 1112

BUILD FAILED
C:\dev\openmicroscopy\components\tools\OmeroCpp\build.xml:35: The following erro
r occurred while executing this line:
C:\dev\openmicroscopy\components\antlib\resources\global.xml:498: exec returned:
 2

Total time: 1 minute 8 seconds

C:\dev\openmicroscopy>

Change History (3)

comment:1 Changed 11 years ago by bpindelski

  • Description modified (diff)

comment:2 Changed 11 years ago by bpindelski

  • Description modified (diff)

Changed 11 years ago by bpindelski

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68801 sec.)

We're Hiring!