libmikey/libmutil compilation under windows
Athanasios Karapantelakis
athkar at kth.se
Fri Apr 6 02:37:25 CEST 2007
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
>
More information about the Minisip-devel
mailing list