qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Building nsis installer - cross compile for Windows


From: Adam Baxter
Subject: [Qemu-devel] Building nsis installer - cross compile for Windows
Date: Mon, 28 Jan 2019 15:34:38 +1100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]