Linking vmime to my program

Help
Mnouh
2011-05-09
2013-04-25
  • Mnouh
    Mnouh
    2011-05-09

    Hey,

    I'm trying to link the vmime object file with my programs object file and distribute it on a windows platform. Is there anyway to do this?

    I'm trying to run my project on a machine that doesn't have the vmime library installed. I wanted to package it with my object file and make one big .exe file. How can I get a object file from the vmime library?

     
  • Hello!

    You have to compile VMime as a static library (.a on UNIX, .lib on Windows), then link your program with it.

    If you are using autotools (with MinGW for example): ./configure -enable-static

    Vincent