Menu

VMIME build with VS2008/VC9

Help
2009-04-06
2013-04-25
  • Robin Rawson-Tetley

    Hi, the company I work for are using vmime for an internal project. As a result of this, we needed it to build with VS2008/VC9 as a shared DLL (yes, yes, I know, I despise Windows and VS too).

    I made all the modifications needed to the latest release and have it working nicely with a VC9 build file, appropriate exports, etc.

    I'd like to submit the changes back (if anyone is interested), what do I need to do? Do you want a patch, or just the source tree?

    Cheers,

    Bob

     
    • Robin Rawson-Tetley

      P.S. Am I right in thinking there's no mbox support? I can only find support for maildir, and it fails when given an mbox, since it treats the path part of the URI as a complete directory and tries to create it.

      I can work round it, or add an mbox handler if one doesn't exist, just wanted to make sure I didn't miss something.

      Thanks.

       
      • Vincent Richard

        Vincent Richard - 2009-04-06

        Hello,

        That's right. Currently, there is no handler for "mbox", only "maildir" (which is not compatible with mbox).

        Regards,

        Vincent

         
    • Vincent Richard

      Vincent Richard - 2009-04-06

      Hello,

      Thank you for using VMime.

      Current VMime version comes with an old VS project file, which do not seem to work anymore with latest versions of VS.

      It would be great if you could send me the project file, along with a minimal patch for source code changes, if any.

      Regards,

      Vincent

       
      • Robin Rawson-Tetley

        No problem, I'll mail it through in the morning when I get to work.

        I'll have a look at how complicated it is to add an mbox handler (it would be very useful to us).

        Our software has to be deployed internally to a number of Unix platforms, so I've built vmime for Linux, Solaris, HP-UX, AIX and Tru64 as well as Windows.

        Couple of things I noticed:

        1. The Tru64 build fails because the linker does not support the -pipe parameter. I hacked it out of the configure script to get it to work.

        2. HP-UX fails to build with the file system error handler class, two of its constants equate to the same value (ENOEXIST and something else, I'll look them up tomorrow when I send the patch through), so I had to comment one of them out to get it to build.

        3. As expected, Linux/Solaris went without a hitch. Unexpectedly, so did AIX.

        Regards,

        Rob

         
      • Robin Rawson-Tetley

        Ok, I've sent the patch.

        The issue I had with HPUX wasn't HPUX after all - I got them mixed up. HPUX built fine out of the box, it was AIX with the issue.

        posixFile.cpp, EEXIST and ENOTEMPTY expand to the same value on AIX, which causes a duplicate in the switch statement and gcc to barf. I added an
        #ifndef AIX
        around the ENOTEMPTY line in the switch.

        Rob

         
  • Clmtk4

    Clmtk4 - 2011-09-20

    Hello,

    I'm very interesting to get your visual 2008 Vmime  Project.

    I need as you, VMime as shared Library !

    Thanks,

    Clm

     

Log in to post a comment.