Changes between Version 12 and Version 13 of ECW


Ignore:
Timestamp:
Feb 28, 2011, 7:51:43 AM (13 years ago)
Author:
advicepig
Comment:

build hint for ECW library in SuSE11

Legend:

Unmodified
Added
Removed
Modified
  • ECW

    v12 v13  
    2020}}}
    2121
    22 You might find it necessary to define -DPOSIX and -DLINUX  in CPPFLAGS in gdal/frmts/ecw/GNUmakefile as mentioned in #3344 if there are build problems.  After these steps, you should be able to see the ECW in the list of formats supported by your GDAL installation:
     22You might find it necessary to define -DPOSIX and -DLINUX  in CPPFLAGS in gdal/frmts/ecw/GNUmakefile as mentioned in #3344 if there are build problems.
     23
     24After these steps, you should be able to see the ECW in the list of formats supported by your GDAL installation:
    2325
    2426{{{
     
    8890where the last step should be run as superuser.
    8991
     92On SuSE 11, you need to pass a flag to the configure script so it uses c99 compatability.
     93
     94{{{
     95$ cd /path/to/libecwj2-3.3
     96$ ./configure CFLAGS="-std=c99"
     97$ make
     98# make install
     99}}}
     100
    90101By default, the '''libecwj''' is installed using installation prefix pointing to '''/usr/local'''. You can change this location with '''--prefix''' option of '''configure''' script. Run ''./configure --help'' for more details.
    91102