Re: [link] apr_atomic.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'

Matthias über TortoiseSVN-dev <[email protected]>
Newsgroups gmane.comp.version-control.subversion.tortoisesvn.devel
Message-ID <[email protected]>
Solved it.

For those who might have the same problem:
I used the:
- "x64 Native command prompt" instead of the "Tools/Command Line/Developers 
Command prompt" in Visual Studio
- cleaned everything manuelly, including ignored files

Matthias schrieb am Mittwoch, 6. Januar 2021 um 23:48:45 UTC+1:

> I'm trying to compile the trunk version of TortoiseSvn in x64 mode.
> I followed the build instructions.
>
> I'm running on a fresh checkout:
> nant x64 setup
>
> in the following nested build the linking fails: ext\build\apr.build build
>
> [link] Linking 69 files.
> [link] C:\tortoisesvn\ext\apr\debug_x64\apr_atomic.obj : fatal error 
> LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
>
> In the build instructions I found the following note:
> > Note: if you set the Visual Studio tools for win32, you can not build 
> the 64-bit version of TortoiseSVN. Trying to use the 'x64' nant target will 
> result in a build error. To build the 64-bit version, you have to call the 
> 64-bit Visual Studio tools. And with the 64-bit tools, you can not build 
> the 32-bit version of TortoiseSVN. Basically: you need to set up the 
> corresponding Visual Studio tools for the build.
>
> The win32 build (nant setup) is compiling and linking with no errors.
>
> What are these Visual Studio tools?
> How can I change them?
>
> Could anyone give me a hint where I can search?
> What I'm doing wrong? Any help appriciated. Thank you.
>

-- 
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 [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn-dev/973bc08a-a575-4697-bf7d-a643089056b6n%40googlegroups.com.
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.