Changes between Version 15 and Version 16 of ECW
- Timestamp:
- May 24, 2013, 11:51:28 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ECW
v15 v16 99 99 }}} 100 100 101 By 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. If '''libecwj''' is compiled with '''--prefix''' (e.g. /usr/local/libecwj2-3.3) make install fails, because <prefix>/include is not created automatically. do a '''mkdir <prefix>/include''' (e.g. mkdir /usr/local/libecwj2-3.3/include) and run '''make install''' again. 101 By 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. If '''libecwj''' is compiled with '''--prefix''' (e.g. /usr/local/libecwj2-3.3) make install fails, because <prefix>/include is not created automatically. do a '''mkdir <prefix>/include''' (e.g. mkdir /usr/local/libecwj2-3.3/include) and run '''make install''' again. 102 102 103 On recent platforms (Fedora 16/17/18 and RHEL/CentOS 6) libecwj2 can crash you program when reading JPG2000-files. The error is in the XML-handling code that is bundled with libecwj2 and apparently this has become an issue with recent compilers. One workaround on the above mentioned platforms is to disable optimization when compiling libecwj2. This can be done by passing -O0 to configure: 104 105 {{{ 106 $ ./configure CFLAGS="-O0" CXXFLAGS="-O0" 107 }}} 108 109 or to make: 110 111 {{{ 112 $ make CFLAGS="-O0" CXXFLAGS="-O0" 113 }}} 103 114 === Mac OS X notes === 104 115