Opened 8 years ago
Closed 8 years ago
#6361 closed defect (invalid)
Gnu compiler and ECW V5.2 linking Errors - Solved
Reported by: | jfloyd | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | 1.11.4 |
Severity: | blocker | Keywords: | |
Cc: |
Description
Issue with gcc-5.3 maybe earlier.
Compiler generate code using std::cxx11::basic_string Binary ECW library has code using std::basic_string.
Results in undefined functions due to changes in the abi being used.
Fix by adding -D_GLIBCXX_USE_CXX11_ABI=0 to all compile statements.
Tried just adjusting the ECW compile but this option must apply across the whole suite else segmentation errors arise.
Possibly needed for all ECW binary libraries.
Note:
See TracTickets
for help on using tickets.
I've captured this in https://trac.osgeo.org/gdal/wiki/ECW