libmikey/libmutil compilation under windows

O. Saleh alsharabi1 at gmail.com
Sun Apr 8 12:46:39 CEST 2007


Hi,

Thanks very much for your help. I managed to compile libmutil under MS VC++
2005 with no problems finally. I still get a linking error that it can't
find ltdl.h . I installed libtool on my box, but still get the error even
after adding the libtdl3.dll and libltdl.dll.a to my project's additional
libraries. Tried to lookup the libtools web page for hints, but nothing
really helpful about using it on Windows without having Cygwin or some *nix
emulation environment

http://www.delorie.com/gnu/docs/libtool/libtool_52.html



On 4/5/07, O. Saleh <alsharabi1 at gmail.com> wrote:
>
> Thanks Athanasios,
>
> I am a newbie with the MS VC environment, but will change that and update
> you.
>
> Thanks very much again,
>
> Oz
>
>
>  On 4/5/07, Athanasios Karapantelakis <athkar at kth.se > wrote:
> >
> > You need to tell the preprocessor to define exported functions for the
> > dll you are compiling. From the solution explorer, right click on the
> > project, select properties and enter LIBMUTIL_EXPORTS in the "C/C++ -
> > Preprocessor - Preprocessor definitions" section.
> >
> > O. Saleh wrote:
> > > Hi All,
> > >
> > > I am trying to compile libmikey and libmutil under windows using MS
> > > Visual Studio 2005. Since there isn't a project/solution file for
> > > these two libraries, I added the source files directly to newly
> > > created projects and tried to compile. However, I keep getting this
> > > error.
> > >
> > >
> > >  fatal error C1189: #error : Visual Studio is not set up correctly to
> > > compile libmutil to a .dll (LIBMUTIL_EXPORTS not defined)
> > >
> > > LIBMUTIL_EXPORTS  is defined in libmikey_config.h, and even including
> > > this file does not solve it.
> > >
> > > Also, the file "compilation_config.h" seems to be missing even though
> > > I checked out a fresh CVS copy just two days ago. Any hints/ideas will
> > > be greatly appreciated.
> > >
> > > Thanks,
> > >
> > > Oz
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Minisip-devel mailing list
> > > Minisip-devel at minisip.org
> > > http://lists.minisip.org/mailman/listinfo/minisip-devel
> > >
> > _______________________________________________
> > Minisip-devel mailing list
> > Minisip-devel at minisip.org
> > http://lists.minisip.org/mailman/listinfo/minisip-devel
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.minisip.org/pipermail/minisip-devel/attachments/20070408/a9310c20/attachment.html


More information about the Minisip-devel mailing list