Re: spice-client

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


From: "阳光男孩" <779862816@xxxxxx>
To: "fziglio" <fziglio@xxxxxxxxxx>
Sent: Tuesday, 27 November, 2018 9:14:07 AM
Subject: Re:Re: spice-client

can mingw generate lib?

------------------ 原始邮件 ------------------
发送时间: 2018年11月27日(星期二) 16:52
收件人: "阳光男孩" <779862816@xxxxxx>;
抄送: "spice-devel" <spice-devel@xxxxxxxxxxxxxxxxxxxxx>;
主题: Re: 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]