Hi,

On Tue, Nov 4, 2014 at 2:30 PM, <[email protected]> wrote:

> Hi Rashad,
>
> thank you for replying, nice to see you here :-)
>
> On Tuesday, November 4, 2014 6:43:36 AM UTC+1, Rashad wrote:
>>
>> Hello,
>>
>> On Tue, Nov 4, 2014 at 2:21 AM, <[email protected]> wrote:
>>
>>>
>>>
>>
>> For your problem,
>> try build ITK 4.6 with ITK_USE_SYSTEM_EXPAT=ON
>> rebuild OTB with internal LibKML
>>
>
> OK, thanks. Good to know.
>
>>
>>
>>> If I try to ignore and run make, I get
>>>
>>> [...]
>>>
>>> file_posix.cc: In static member function ‘static bool
>>> kmlbase::File::Delete(const string&)’:
>>> file_posix.cc:56:33: error: ‘unlink’ was not declared in this scope
>>>    return unlink(filepath.c_str()) == 0;
>>>                                  ^
>>> file_posix.cc: In static member function ‘static bool kmlbase::File::
>>> CreateNewTempFile(std::string*)’:
>>> file_posix.cc:68:11: error: ‘close’ was not declared in this scope
>>>    close(fd);
>>>            ^
>>> file_posix.cc: In static member function ‘static bool
>>> kmlbase::File::Delete(const string&)’:
>>> file_posix.cc:57:1: error: control reaches end of non-void function
>>> [-Werror=return-type]
>>>  }
>>>
>>
>> This is related to missing header. I remember seeing a patch in their
>> tracker some time ago.
>>
>
> Do you mean kernel headers? I do have them installed..
>

No. unistd.h  header

https://code.google.com/p/libkml/issues/detail?id=179&q=unlink


>
> Regards,
> Margherita
>
> --
> --
> Check the OTB FAQ at
> http://www.orfeo-toolbox.org/FAQ.html
>
> You received this message because you are subscribed to the Google
> Groups "otb-users" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/otb-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "otb-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
   Rashad

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to