Opened 9 years ago

Closed 9 years ago

#5867 closed enhancement (fixed)

ERDASEcwJpeg2000 5.1.1 SDK on Mac

Reported by: Martin Mikita Owned by: warmerdam
Priority: normal Milestone: 1.11.3
Component: ConfigBuild Version: 1.11.2
Severity: normal Keywords: ecw mac sdk static
Cc: jcztery

Description

Actual configure file can't recognize static library of ECW SDK 5.1.1 on Mac.

SDK's lib folder tree: lib/

  • libNCSEcw.a -> libc++/static/libNCSEcw.a
  • libc++/
    • dynamic/
      • libNCSEcw.dylib
    • static/
      • libNCSEcw.a
  • libstdc++ /
    • dynamic/
      • libNCSEcw.dylib
    • static/
      • libNCSEcw.a

Link for libNCSEcw.a in root can be changed to libstdc++ (which compiles correctly and is working)

I attach patch file for 1.11.2 release. You can use it, or modify to better recognize static linking of ECW 5.1.1 SDK

Attachments (1)

gdal-1.11.2-ecw511-mac.patch (1.6 KB ) - added by Martin Mikita 9 years ago.

Download all attachments as: .zip

Change History (6)

by Martin Mikita, 9 years ago

comment:1 by Even Rouault, 9 years ago

Did you try trunk ? There has been changes in ECW detection.

in reply to:  1 comment:2 by Martin Mikita, 9 years ago

Replying to rouault:

Did you try trunk ? There has been changes in ECW detection.

Yes, trunk is working. Will it be joined? Or will be possible to change it in next stable release (1.11.3)?

comment:3 by Even Rouault, 9 years ago

Cc: jcztery added

jcztery, related to ECW, is it safe to backport trunk's configure.in into 1.11 branch ? I see 1.11 references libEcwJp2SDK.a and trunk no longer.

comment:4 by jcztery, 9 years ago

Hi,
libEcwJp2SDK was a name that was used only in prerelease of 5.1. Unfortunately it has been changed after the change that added 5.1 support to GDAL but before release. So released versions of ECW JP2 SDK uses libNCS.* name.

So libEcwJp2SDK is no longer in use.
Did this patch http://trac.osgeo.org/gdal/ticket/5390 not help for the original issue?

comment:5 by Even Rouault, 9 years ago

Milestone: 1.11.3
Resolution: fixed
Status: newclosed

@jcztery: it helped. But was in trunk only up to now

branches/1.11 r28600 "configure: backport trunk fix for detection of ECW SDK 5.1 on Mac (#5867, #5390)"

Note: See TracTickets for help on using tickets.