lib == static Visual Studio libraries? As far as I know no, MingW uses GCC which uses different conventions for generated files (although it seems to use PE+ files like Visual Studio for object files). So get DLLs and use IMPLIB to generate import libraries (still .lib) for Visual Studio.
Frediano ----- Original Message ----- > From: "阳光男孩" <779862...@qq.com> > To: "fziglio" <fzig...@redhat.com> > Sent: Tuesday, 27 November, 2018 9:14:07 AM > Subject: Re:Re: [Spice-devel] spice-client > can mingw generate lib? > ------------------ 原始邮件 ------------------ > 发件人: "Frediano Ziglio" <fzig...@redhat.com>; > 发送时间: 2018年11月27日(星期二) 16:52 > 收件人: "阳光男孩" <779862...@qq.com>; > 抄送: "spice-devel" <spice-devel@lists.freedesktop.org>; > 主题: Re: [Spice-devel] spice-client > > hello,i want to build spice-client project with visual studio 2015,but how > If you mean spice-gtk client the easy answer is that you can't. > In theory is C so you could try to build it. Get all dependency in place, > download the sources, make a project, fix and build. > As build system we are moving to Meson. Meson can generate projects for > Visual Studio so this could potentially save time to build the project and > find the correct flags. > Said that take into account that porting to Visual Studio could take time > and requires the knowledge of build systems and libraries deployment on both > sides (Linux with its tools and Windows). > If you want just to use part of the client in your code you can compile > with standard toolchain (MingW) and use the generated DLLs, the ABI is the > same. > Frediano
_______________________________________________ Spice-devel mailing list Spice-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/spice-devel