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 <2023> 2024 2025 | 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 <2023> 2024 2025 |
<== 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:
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 |