libmikey/libmutil compilation under windows
O. Saleh
alsharabi1 at gmail.com
Mon Apr 9 08:20:15 CEST 2007
What if I just include ltdl.h and ltdl.c manually in my code?? I'll try that
out tomorrow and see how that works.
Thanks,
Oz
On 4/8/07, Mikael Magnusson <mikma264 at gmail.com> wrote:
>
> On Sun, Apr 08, 2007 at 03:46:39AM -0700, O. Saleh wrote:
> > 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
> >
>
> The libltdl directory including ltdl.h is added to the distributed
> sources by libtoolize from the autotools. You may need to use a tar ball
> generated on a POSIX system when building with MSVC, but I'm not sure I
> have only built WIN32 minisip using the Mingw cross-compiler.
>
> Mikael
>
> >
> >
> > 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
> > >>
> > >
> > >
>
> > _______________________________________________
> > 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/9fe3b994/attachment.html
More information about the Minisip-devel
mailing list