All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Building nsis installer - cross compile for Windows
@ 2019-01-28  4:34 Adam Baxter
  2019-01-28 13:46 ` Peter Maydell
  0 siblings, 1 reply; 7+ messages in thread
From: Adam Baxter @ 2019-01-28  4:34 UTC (permalink / raw)
  To: qemu-devel

I'm getting stuck trying to build the NSIS installer for Windows


export CFLAGS="-Wno-stringop-truncation"
./configure --python=$(command -v python3)
--cross-prefix=x86_64-w64-mingw32- --enable-docs
echo 3.99.99 > VERSION
make -j`nproc`
make -j`nproc` installer

results in:

make[1]: Leaving directory '/drone/src'
(cd /tmp/qemu-nsis; \
         for i in qemu-system-*.exe; do \
           arch=${i%.exe}; \
           arch=${arch#qemu-system-}; \
           echo Section \"$arch\" Section_$arch; \
           echo SetOutPath \"\$INSTDIR\"; \
           echo File \"\${BINDIR}\\$i\"; \
           echo SectionEnd; \
         done \
        ) >/tmp/qemu-nsis/system-emulations.nsh
makensis -V2 -NOCD \
                -DCONFIG_DOCUMENTATION="y" \
                 \
                -DBINDIR="/tmp/qemu-nsis" \
                 \
                -DSRCDIR="/drone/src" \
                -DOUTFILE="qemu-setup-3.99.99.exe" \
                -DDISPLAYVERSION="3.99.99" \
                /drone/src/qemu.nsi
File: "/tmp/qemu-nsis\*.bmp" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "/drone/src/qemu.nsi" on line 122 -- aborting creation process
make: *** [Makefile:915: qemu-setup-3.99.99.exe] Error 1

Any ideas?

Platform is Fedora / mingw x86_64-w64-mingw32 in a Docker container.

Thanks,
Adam

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-13 15:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-28  4:34 [Qemu-devel] Building nsis installer - cross compile for Windows Adam Baxter
2019-01-28 13:46 ` Peter Maydell
2019-01-28 14:56   ` Daniel P. Berrangé
2019-01-28 15:03     ` Peter Maydell
2019-01-28 15:11       ` Daniel P. Berrangé
2019-01-28 15:15         ` Peter Maydell
2019-07-13 15:38           ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.