[ome-users] C++ bindings build failed on Windows

Joe Ping-Lin Hsiao phsiao at cs.unc.edu
Thu Aug 20 17:34:59 BST 2015


Thanks, Roger! I switched Java from 1.8 to 1.7 and now I can build it
without errors.

Joe

On Thu, Aug 20, 2015 at 11:35 AM, Roger Leigh <rleigh at dundee.ac.uk> wrote:

> On 20/08/2015 15:18, Joe Ping-Lin Hsiao wrote:
>
>> Hi,
>>
>> I am trying to build bio-formats 5.1.3 C++ binding on Windows, but got
>> the following errors after the first 'mvn' command:
>>
>> [ERROR] Failed to execute goal
>> loci.maven.plugins:cppwrap-maven-plugin:1.1.1:wrap (default-cli) on
>> project formats-bsd: Execution default-cli of goal
>> loci.maven.plugins:cppwrap-maven-plugin:1.1.1:wrap failed: An API
>> incompatibility was encountered while executing
>> loci.maven.plugins:cppwrap-maven-plugin:1.1.1:wrap:
>> java.lang.ClassFormatError: Unrecognized constant tag value <15>
>>
>
> Dear Joe,
>
> Please could you confirm which version of Java you are using ("java
> -version")?
>
> If it's Java 1.8, then I'm afraid this Java version is not currently
> supported by the JACE C++ wrapping code; support is currently limited to
> Java 1.7 or 1.6.
>
>
> Kind regards,
> Roger
>
> --
> 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/20150820/b1ccf71d/attachment.html>


More information about the ome-users mailing list