Hi,
In the startup directory of epics there are two bat files "win32.bat"
and "windows.bat" - which did you use to setup the compiler path etc. ?
win32.bat choses the compiler for 32bit builds and windows.bat for
64bit builds. Your EPICS_HOST_ARCH environment variable is set for a
64bit builds, but the error message suggests your build may be using
the 32bit compiler instead as the linker cannot target x64. If you type
where cl
do you see a path with x64 in it like
C:\Program Files\Microsoft Visual
Studio\2022\Enterprise\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe
Or do you see x86 present instead?
Regards,
Freddie
-----Original Message-----
From: Federico Galdenzi <galdenzi at roma2.infn.it>
Sent: 16 April 2025 08:15
To: Akeroyd, Freddie (STFC,RAL,ISIS) <freddie.akeroyd at stfc.ac.uk>;
Rivers <rivers at cars.uchicago.edu>
Cc: tech-talk at aps.anl.gov
Subject: Re: EPICS build problem
Thanks in advance for the help. I made the log for make and also i can
tell that i'm following by letter the tutorial that i've linked to
download and build epic base. I've installed perl and make manually.
Best regards.
Il 2025-04-15 14:07 Freddie Akeroyd - STFC UKRI ha scritto:
Hi,
We'll need to see a bit more of your build log to see exactly which
libraries it is having a problem with, can you please post the whole
build log by doing something like
make clean uninstall
make > make.log 2>&1
And posting make.log
Thanks,
Freddie
-----Original Message-----
From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Federico
Galdenzi via Tech-talk
Sent: 15 April 2025 12:36
To: tech-talk at aps.anl.gov
Subject: EPICS build problem
Good morning all,
I have a problem for installing EPICS on my machine. I've followed
the instruction given in this site:
https://urldefense.us/v3/__https://docs.epics-
controls.org/en/latest/getting-started/installation-windows-
plain.html__;!!G_uCfscf7eWS!a8JQwg02mRdcrkywW5dKHGcNsNeXLRf67b5
q5862JV6Ua7PGUqoY-cZfs9LwLV3OMeJndOUxaevRC33Kk58OGeOCCW8$
but it seems that i'm missing something, because i get the "make"
fatal error
LNK1112: module machine type 'x86' conflicts with target machine type
'x64'.
I'm kinda new to this world but i cant' manage to understand what i'm
doing wrong. It seems that i'm using 32 bit libraries on a 64 bit
environment, but i'm using Visual Studio latests kit's for developing
in C++ in both 64 and
32 bit.
What can i do?