Hi, On Tue, Feb 07, 2023 at 05:10:53PM +0800, 王正浩 wrote: > Hi Team, > I'd like to build my own spice-vd_agent(for windows 10). Is > there any guide to build it? I failed to build it with > mingw64 on ubuntu 20.04 and vs2019 on win10. > On windows it blocked by " LNK1181: cannot open input file > zlibwapi.lib", and on ubuntu it shows "configure: error: > Package requirements (libpng) were not met:" That means you need to install libpng mingw version. > If I shouldn't ask this question here, Plz tell me the correct mail list. > Thx a lot. You can ask, no problem. In my Fedora 37 box, as of now, I had to install mingw64-libpng-static and mingw64-zlib-static. Build steps: $ autoreconf -if $ mingw64-configure ... vdagent-win 0.10.0.68-5017 ================ prefix: /usr/x86_64-w64-mingw32/sys-root/mingw datadir: /usr/x86_64-w64-mingw32/sys-root/mingw/share compiler: x86_64-w64-mingw32-g++ cxxflags: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 cppflags: $ mingw64-make ... $ ll *.xe .rwxr-xr-x@ 605k toso 7 Feb 13:45 -I vdagent.exe* .rwxr-xr-x@ 210k toso 7 Feb 13:45 -I vdservice.exe* $ make msi ... GEN spice-vdagent-x64-0.10.0.68-5017.msi Feel free to submit a documentation patch for build process ;) Cheers, Victor
Attachment:
signature.asc
Description: PGP signature