Re: Problem Compiling libetpan in Windows .

"DINH Viêt Hoà" <[email protected]> Mon, 4 Jun 2007 14:38:01 +0200
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
Could you try to add some #ifdef around the unistd.h include so that
it won't get included when compiling for windows ?

Thanks.

On 6/1/07, Supriyo Bose <[email protected]> wrote:
>  Hi,
>   I took the latest libetpan 0.49 project. I tried compiling this
> project with OPEN_SSL option (preprocessor) ON WINDOWS.
>   (Included right path to openssl project. Separately checked out.)
>   Initially, I faced an error which says : Could not find 'timeutils.h'.
> On including the appropriate directory (data-types/src) in the list of
> include dirs, this error was solved.
>   But now, I am getting the following errors:
>
> Compiling...
> mailstream_cancel.c
> d:\workspace_m2\3rdparty\libetpan-0.49\src\data-types\mailstream_cancel.c(12)
> : fatal error C1083: Cannot open include file: 'unistd.h': No such file
> or directory
>
> Anyone have any experience with compiling libetpan on windows (with SSL
> support) successfully ?

-- 
DINH Viêt Hoà

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/