[gdal-dev] Building ECW on Mc OSX
jluis at ualg.pt
jluis at ualg.pt
Sat May 31 13:01:03 EDT 2008
William,
Thanks a lot for this info.
Joaquim
> The ermapper forums are still operating, and there you'll find my
> thread that mentions a few other patches. Besides the NCSSocket
> patch, there are problems with threading that need fixing:
>
> http://forums.ermapper.com/viewtopic.php?t=2446
>
> Also, I have a few other patches to get it working on OSX 10.5
> Leopard. I didn't realize the forums were still operating until
> just now, so I haven't updated that thread with the latest yet.
>
> Even so, the ECW library will fail to write ECW, it can only read.
> I think it's JP2 can both read and write. I'm not a C++ programmer
> to be able to try a thorough fix.
>
> On May 31, 2008, at 10:02 AM, jluis at ualg.pt wrote:
>
>> Hi,
>>
>> For the record.
>> I built the ecw 3.3 library on OSX but I had to change line 191 of
>> NCSSocket.cpp
>>
>> # ifdef MACOSX
>> //int tempSize = sizeof(struct sockaddr); <== THIS
>> socklen_t tempSize = sizeof(struct sockaddr); <== TO THIS
>> # else
>> socklen_t tempSize = sizeof(struct sockaddr);
>> # endif
>>
>>
>> Joaquim Luis
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>>
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "Oh, look, I seem to have fallen down a deep, dark hole. Now what
> does that remind me of? Ah, yes - life."
>
> - Marvin
>
>
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the gdal-dev
mailing list