how to build x64 setup exe

30 views
Skip to first unread message

D.S. Qiu

unread,
Nov 29, 2018, 3:52:10 AM11/29/18
to TortoiseSVN-dev
hi, I want to build x64 setup exe with the Version 1.11.0.

Window Operation version: Window 10

Visual studio 2017 Community

And the command prompt bat list:IMG20181129_164452.png

I can use "vcvarsamd64_x86.bat" with "nant setup" command, it can build win32 setup.

But when build x64 setup with "nant x64 setup or nant cross x64 setup" in "vcvarsamd64_x86.bat", "vcvars64.bat" or "vcvarsx86_amd64.bat" command prompt. It always occured "

fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' when building openssl or fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'X64' when build apr.


how can do with it?

how you reply.

thank you!


Stefan

unread,
Nov 29, 2018, 1:14:19 PM11/29/18
to TortoiseSVN-dev


On Thursday, November 29, 2018 at 9:52:10 AM UTC+1, D.S. Qiu wrote:
hi, I want to build x64 setup exe with the Version 1.11.0.

Window Operation version: Window 10

Visual studio 2017 Community

And the command prompt bat list:IMG20181129_164452.png

I can use "vcvarsamd64_x86.bat" with "nant setup" command, it can build win32 setup.

But when build x64 setup with "nant x64 setup or nant cross x64 setup" in "vcvarsamd64_x86.bat", "vcvars64.bat" or "vcvarsx86_amd64.bat" command prompt. It always occured "

you have to call vcvars64.bat (and only that) before running 'nant x64 setup'.

D.S.Qiu

unread,
Dec 10, 2018, 4:08:21 AM12/10/18
to tortois...@googlegroups.com
thank you for reply ,I find the probleming!

when build x64 must clean previous x32 build

Stefan via TortoiseSVN-dev <tortoisesvn-dev+APn2wQckvK9F95g3...@googlegroups.com> 于2018年11月30日周五 上午2:14写道:
--
You received this message because you are subscribed to the Google Groups "TortoiseSVN-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/e42c192c-4f4f-408f-8714-5b2fef4cd941%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
                                                           College of Mathematics and Computing Science     Sun Yat-sen University
                                                                                  D.S.Qiu
Reply all
Reply to author
Forward
0 new messages