Re: Can't build TortoiseSVN 64 bit

Stefan Küng <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>
On 17.02.2016 19:54, Sara M wrote:
> Hello,
>
> I can successfully build a 32 bit version of TortoiseSVN on my 64 bit machine but when I get to this step:
>
> \section build64 Building 64 bit packages on x64
>
>    To build native packages on your 64 bit Windows, just open
>    "Microsoft Visual Studio 2015" -> "Visual Studio Tools" ->
>    "Visual Studio 2015 Win64 Command Prompt", change to the
>    TortoiseSVN source directory and run
>
>    Note that to build the x64 msi file, you also have to build the
>    win32 version of TortoiseSVN first since the x64 msi includes
>    the win32 version of the shell extension.
>
> \verbatim
>    > nant x64 release setup
> \endverbatim
>
>
> When I try to run the command above, the error I receive is:
>
>                               [link] Linking 67 files.
>                               [link] c:\svn\TortoiseSVN\ext\apr\release_x64\apr_a
> tomic.obj : fatal error LNK1112: module machine type 'X86' conflicts with target
>   machine type 'x64'
>
>                          BUILD FAILED
>
>                          c:\svn\TortoiseSVN\ext\build\apr.build(233,6):
>                          External Program Failed: link (return code was 1112)
>
>                          Total time: 2.5 seconds.
>
> What does the above mean? Why can't I build a 64 bit version on a 64 bit machine?
>
> Also, one thing to note, there is no "Visual Studio 2015 Win64 Command Prompt" that is exactly named as such.
>
>
> Did you mean "Developer Command Prompt for VS2015" or did you mean "VS2015 x64 Native Tools Command Prompt"?

Of course the "VS2015 x64 Native Tools Command Prompt" - that's the one 
for x64 builds as it states in the name.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3161224

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.