Git Product home page Git Product logo

ecw2tiff's People

Contributors

wkrill avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ilfrich

ecw2tiff's Issues

Version update for ECW v3 files

Hi, amazing tool!

I just encountered this issue. Any suggestions to update the ECW SDK?

Converting file 1/2: xxx.ecw
ERROR 1: An error has occurred: Error 86 "File is invalid or corrupt"  file "" line 0
ERROR 1: Cannot open /input/xxxx.ecw which looks like a ECW format v3 file, that requires ECW SDK 5.0 or later

Thank you in advance.

Pablo

build error

docker build -t ecw2tif:v0.0.1 .
Sending build context to Docker daemon 33.46MB
Step 1/10 : FROM ubuntu:22.04
22.04: Pulling from library/ubuntu
6e3729cf69e0: Pull complete
Digest: sha256:27cb6e6ccef575a4698b66f5de06c7ecd61589132d5a91d098f7f3f9285415a9
Status: Downloaded newer image for ubuntu:22.04
---> 6b7dfa7e8fdb
Step 2/10 : ARG DEBIAN_FRONTEND=noninteractive
---> Running in ca9f14132181
Removing intermediate container ca9f14132181
---> 0c7e3a253f05
Step 3/10 : RUN apt-get update && apt-get install -y g++ build-essential autoconf automake m4 libtool gcc make unzip wget swig python3 python3-pip python3-dev
---> Running in 9e5f48439e76
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:3 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [681 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [4732 B]
Get:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [745 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [795 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1002 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [8978 B]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [730 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1062 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [7286 B]
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [3520 B]
Fetched 25.3 MB in 3s (8983 kB/s)
Reading package lists...
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/.deb /var/cache/apt/archives/partial/.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
The command '/bin/sh -c apt-get update && apt-get install -y g++ build-essential autoconf automake m4 libtool gcc make unzip wget swig python3 python3-pip python3-dev' returned a non-zero code: 100
make: *** [Makefile:7: build] Error 100

`make` for mac m1

This is actually the tool I was looking for. Thank you for putting something together.

I might be looking for love in all the wrong places trying to build this image on an M1 mac aarch64 but thought I would check just incase you might know a work around. Sorry for the hassles. Should I be trying to specifying the --build= parameter during the ./configure step . This link https://stackoverflow.com/questions/72231796/install-talib-on-docker seems promising but not sure how to implement with docker. Sorry for the gorb out.

./configure --build=aarch64-unknown-linux-gnu

Error I get when trying to make is

#7 2.042   inflating: __MACOSX/._libecwj2-3.3
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJP2File.cpp
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCBuffer.cpp
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCPLTMarker.cpp
#7 2.045 patching file libecwj2-3.3/Source/C/NCSEcw/NCSJP2/NCSJPCT1Coder.cpp
#7 2.046 patching file libecwj2-3.3/Source/include/NCSJPCBuffer.h
#7 2.197 checking build system type... ./config.guess: unable to guess system type
#7 2.286
#7 2.286 This script, last modified 2005-04-22, has failed to recognize
#7 2.286 the operating system you are using. It is advised that you
#7 2.286 download the most up to date version of the config scripts from
#7 2.286
#7 2.286   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
#7 2.286 and
#7 2.286   http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
#7 2.286
#7 2.286 If the version you run (./config.guess) is already up to date, please
#7 2.286 send the following data and any information you think might be
#7 2.286 pertinent to <[email protected]> in order to provide the needed
#7 2.286 information to handle your system.
#7 2.286
#7 2.286 config.guess timestamp = 2005-04-22
#7 2.286
#7 2.286 uname -m = aarch64
#7 2.286 uname -r = 5.15.49-linuxkit
#7 2.286 uname -s = Linux
#7 2.286 uname -v = #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022
#7 2.286
#7 2.286 /usr/bin/uname -p = aarch64
#7 2.286 /bin/uname -X     =
#7 2.286
#7 2.286 hostinfo               =
#7 2.286 /bin/universe          =
#7 2.286 /usr/bin/arch -k       =
#7 2.286 /bin/arch              = aarch64
#7 2.286 /usr/bin/oslevel       =
#7 2.286 /usr/convex/getsysinfo =
#7 2.286
#7 2.286 UNAME_MACHINE = aarch64
#7 2.286 UNAME_RELEASE = 5.15.49-linuxkit
#7 2.286 UNAME_SYSTEM  = Linux
#7 2.286 UNAME_VERSION = #1 SMP PREEMPT Tue Sep 13 07:51:32 UTC 2022
#7 2.290 configure: error: cannot guess build type; you must specify one
------
executor failed running [/bin/sh -c wget https://github.com/bogind/libecwj2-3.3/raw/master/libecwj2-3.3-2006-09-06.zip     && wget http://trac.osgeo.org/gdal/raw-attachment/ticket/3162/libecwj2-3.3-msvc90-fixes.patch     && unzip libecwj2-3.3-2006-09-06.zip     && patch -p0< libecwj2-3.3-msvc90-fixes.patch     && cd libecwj2-3.3     && ./configure     && make     && make install     && cd ..]: exit code: 1
make: *** [build] Error 1

Thank you for your help! Maybe this is not quite the tool for M1 but I appreciate your time nevertheless.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.