EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: areadetector on windows, xml2
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk <tech-talk at aps.anl.gov>, William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>
Date: Tue, 7 Mar 2023 12:43:49 +0000
Hi William,

Your error is coming when building the nanohttp_stream.dll.  That depends on xml2.lib, which is built earlier in that same Makefile if XML2_EXTERNAL is defined to be NO.


2 questions:

  • Is XML2_EXTERNAL defined to be NO in areaDetector/configure/CONFIG_SITE.local?
  • Just before you get that error do you see xml2.lib being built?  Does it exist in the ADSupport/lib/windows-x64 directory?
Mark




From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of William Kirstaedter via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, March 7, 2023 5:25 AM
To: tech-talk <tech-talk at aps.anl.gov>
Subject: areadetector on windows, xml2
 
I would like to use areadetector on windows, in combination with
Princeton Lightfield Software.
when compiling ADSupport, it fails with an error regarding xml2 library.

make[3]: Entering directory
'C:/EPICS/epics-support/areaDetector/ADSupport/supportApp/xml2Src/O.windows-x64'
link -nologo -subsystem:windows -dll -LTCG -incremental:no -opt:ref
-release  -MACHINE:X64      -out:nanohttp_stream.dll
-implib:nanohttp_stream.lib    nanohttp_stream.obj         xml2.lib
ws2_32.lib
LINK : fatal error LNK1181: cannot open input file 'xml2.lib'
make[3]: *** [C:/EPICS/epics-base/configure/RULES_BUILD:316:
nanohttp_stream.dll] Error 1181
make[3]: Leaving directory
'C:/EPICS/epics-support/areaDetector/ADSupport/supportApp/xml2Src/O.windows-x64'
make[2]: *** [C:/EPICS/epics-base/configure/RULES_ARCHS:58:
install.windows-x64] Error 2
make[2]: Leaving directory
'C:/EPICS/epics-support/areaDetector/ADSupport/supportApp/xml2Src'
make[1]: *** [C:/EPICS/epics-base/configure/RULES_DIRS:85:
xml2Src.install] Error 2
make[1]: Leaving directory
'C:/EPICS/epics-support/areaDetector/ADSupport/supportApp'
make: *** [C:/EPICS/epics-base/configure/RULES_DIRS:85:
supportApp.install] Error 2

the manual states that since R2-5, the support package holds source code
for xml2 lib.
clearly, it tries to compile but fails. is it a known issue?
Am I doing it wrong?
Should I fulfill other prerequisites before compiling AD Stuff?

I'd be happy to get some hints,
thanks in advance!

--
William Kirstaedter (PP&B)
Fritz-Haber-Institut der MPG

Faradayweg 4-6
14195 Berlin

Tel: 030 8413 5405
Mail: kirstaedter at fhi-berlin.mpg.de

Replies:
Re: areadetector on windows, xml2 William Kirstaedter via Tech-talk
References:
areadetector on windows, xml2 William Kirstaedter via Tech-talk

Navigate by Date:
Prev: Re: Re:Re: Segmentation fault (core dumped) using SimDetector ioc Mark Rivers via Tech-talk
Next: CSS Main Display screen size Patel, Anjali Himanshukumar via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: areadetector on windows, xml2 William Kirstaedter via Tech-talk
Next: Re: areadetector on windows, xml2 William Kirstaedter via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024 
ANJ, 09 Mar 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·