curl-library
Re: curl-library on Windows Embedded CE
Date: Wed, 20 Apr 2016 15:17:26 +0300
Hello,
My 2 cents.
2016-04-20 14:52 GMT+03:00 Daniel Stenberg <daniel_at_haxx.se>:
> On Wed, 20 Apr 2016, Giuseppe Assalve wrote:
>
>> I'm working on a project based on Windows Embedded CE.
>
>
> From what I recall, Windows CE has a few differences to regular Windows and
> I'm not sure our code builds out of the box for it. We have gotten a few
> patches for CE over the years but I don't think it ever built without some
> sort of extra hoops required.
>
> So be aware. You may need to poke some code. We are of course interested in
> receiving patches that help the next fellow do the same thing.
>
>> the curl cmake build system is poorly maintained. Be aware
>
>
> This is still true.
Well, not exactly.
All current pull request checked with cmake.
Daniel, should I submit pull request to remove this warning? :)
>
>> Found no *nroff program
>
>
> Should be harmless.
>
>> Could NOT find LibSSH2 (missing: LIBSSH2_INCLUDE_DIR LIBSSH2_LIBRARY)
>
>
> Just prevents you from using SCP or SFTP.
>
>> Unable to link function recv
>
>
> That seems like something you need to address. libcurl needs recv.
>
Here the some twist.
I have not much experience with Windows Embedded CE, but as per MSDN
recv for Desktop and Windows Phone 8 used Ws2_32.lib
https://msdn.microsoft.com/en-us/library/windows/desktop/ms740121(v=vs.85).aspx
On Windows CE 5.0 it requires Ws2.lib
https://msdn.microsoft.com/ru-ru/library/aa450869.aspx
So, perhaps, you should update cmake script to handle this fact.
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette: https://curl.haxx.se/mail/etiquette.html
-- Best Regards, Sergei Nikulov ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-04-20