On Sat, 02 Jun 2007 12:55:40 +0200 Christian Buhtz <[EMAIL PROTECTED]> wrote:

CB> Hm... I imported imap.vcproj in Code::Blocks. I read the source of
CB> imap.vcproj to see what happens with osdep.h. I see it is just copied
CB> from imap/osdep/nt/os_nt.h. I am right?

 Yes, but this is not all it does. I don't remember all the details but the
best you can do is probably to try building it using its standard way (as
explained in the README), maybe just doing "nmake /n" to see what it does
without really doing it. In particular, there are .bat files in osdep/nt
whose work should be done somehow too. You should look at the custom build
steps in imap.vcproj to see what needs to be done (you can open it any text
editor if you don't have MSVC).

CB> I did it manualy. Copied os_nt.h to lib/imap/c-client/osdep.h.
CB> Something compiles but there are some (over 50) errors that I do not
CB> understand.

 You shouldn't compile ip4_nt.c directly. Look at the list of files in
lib/imap/imap.vcproj, you won't find it there -- take just the files which
are in the project. In particular, ip4_nt.c is #included by os_nt.c (via
tcp_nt.c) and is not meant to be compiled independently.

 Yes, this is complicated and kind of ugly but if you just reproduce what
the VC project file does everything should be ok.

 Regards,
VZ


-------------------------------------------------------------------------
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/
_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to