[Spice-devel] how to build win32/vd_agent?

Frediano Ziglio fziglio at redhat.com
Wed May 23 14:16:39 UTC 2018


> Hello, everyone !
> I'm a new bird in windows/spice. I want to build vd_agent for win64, and I
> clone it from [1],
> then I run ./autogen.sh && make, but it failed, see [2], what should I do to
> build it? is there any document?

> [1]
> https://gitlab.freedesktop.org/spice/win32/vd_agent

> [2]
> $ make
> make all-recursive
> make[1]: Entering directory '/home/pencc/Project/srcCode/vd_agent_win32'
> make[2]: Entering directory '/home/pencc/Project/srcCode/vd_agent_win32'
> CXX common/vdagent-vdcommon.o
> In file included from common/vdcommon.cpp:20:0:
> common/vdcommon.h:26:21: fatal error: windows.h: No such file
> compilation terminated.

You need mingw64-headers or mingw32-headers package (depending on 
32/64 bit) for this file. 

> Makefile:985: recipe for target 'common/vdagent-vdcommon.o' failed
> make[2]: *** [common/vdagent-vdcommon.o] Error 1
> make[2]: Leaving directory '/home/pencc/Project/srcCode/vd_agent_win32'
> Makefile:1131: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/pencc/Project/srcCode/vd_agent_win32'
> Makefile:695: recipe for target 'all' failed
> make: *** [all] Error 2

I think would be great to have a README file in the project 

Frediano 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180523/eaa12615/attachment.html>


More information about the Spice-devel mailing list