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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: areadetector on windows, xml2 |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>, tech-talk <tech-talk at aps.anl.gov> |
Date: | Thu, 9 Mar 2023 19:17:25 +0000 |
Hi William, I just tested building xml2Src and it worked fine for me. This is an abbreviated version of the build output. ************************************* J:\epics\devel\areaDetector\ADSupport\supportApp\xml2Src>make clean perl -CSD -MExtUtils::Command -e rm_rf O.windows-x64 O.Common J:\epics\devel\areaDetector\ADSupport\supportApp\xml2Src>make perl -CSD H:/epics-devel/base-7.0.7/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../.. perl -CSD -MExtUtils::Command -e mkpath O.Common make -C O.windows-x64 -f ../Makefile TOP=../../.. \ T_A=windows-x64 install make[1]: Entering directory 'J:/epics/devel/areaDetector/ADSupport/supportApp/xml2Src/O.windows-x64' perl -CSD H:/epics-devel/base-7.0.7/bin/windows-x64/mkmf.pl -m nanohttp_stream.d -I. -I../O.Common -I. -I. -I../os/WIN32 -I../os/default -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include -IJ:/epics/devel/asyn-4-43/include -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include/os/WIN32 -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include -IJ:/epics/devel/areaDetector-3-12-1/ADCore/include -IH:/epics-devel/base-7.0.7/include/compiler/msvc
-IH:/epics-devel/base-7.0.7/include/os/WIN32 -IH:/epics-devel/base-7.0.7/include nanohttp_stream.obj ../nanohttp_stream.c perl -CSD H:/epics-devel/base-7.0.7/bin/windows-x64/mkmf.pl -m xmlstring.d -I. -I../O.Common -I. -I. -I../os/WIN32 -I../os/default -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32
-I../../../include -IJ:/epics/devel/asyn-4-43/include -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include/os/WIN32 -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include -IJ:/epics/devel/areaDetector-3-12-1/ADCore/include -IH:/epics-devel/base-7.0.7/include/compiler/msvc
-IH:/epics-devel/base-7.0.7/include/os/WIN32 -IH:/epics-devel/base-7.0.7/include xmlstring.obj ../xmlstring.c … cl -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -DPIC -DNOLIBTOOL -DHAVE_ZLIB_H -DWIN32 -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL
-I. -I../O.Common -I. -I. -I../os/WIN32 -I../os/default -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/asyn-4-43/include -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include/os/WIN32 -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include
-IJ:/epics/devel/areaDetector-3-12-1/ADCore/include -IH:/epics-devel/base-7.0.7/include/compiler/msvc -IH:/epics-devel/base-7.0.7/include/os/WIN32 -IH:/epics-devel/base-7.0.7/include -c ../catalog.c catalog.c … link -nologo -subsystem:windows -dll -LTCG -incremental:no -opt:ref -release -MACHINE:X64 -out:xml2.dll -implib:xml2.lib buf.obj c14n.obj catalog.obj chvalid.obj debugXML.obj dict.obj DOCBparser.obj
encoding.obj entities.obj error.obj globals.obj hash.obj HTMLparser.obj HTMLtree.obj legacy.obj list.obj nanoftp.obj nanohttp.obj parser.obj parserInternals.obj pattern.obj relaxng.obj SAX2.obj SAX.obj schematron.obj threads.obj tree.obj uri.obj valid.obj
xinclude.obj xlink.obj xmlIO.obj xmlmemory.obj xmlreader.obj xmlregexp.obj xmlmodule.obj xmlsave.obj xmlschemas.obj xmlschemastypes.obj xmlunicode.obj xmlwriter.obj xpath.obj xpointer.obj xmlstring.obj ../../../lib/windows-x64/zlib.lib ws2_32.lib Creating library xml2.lib and object xml2.exp Generating code Finished generating code cl -nologo -FC -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Ox -GL -Oy- -W3 -DPIC -DNOLIBTOOL -DHAVE_ZLIB_H -DWIN32 -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL
-I. -I../O.Common -I. -I. -I../os/WIN32 -I../os/default -I.. -I../../../include/compiler/msvc -I../../../include/os/WIN32 -I../../../include -IJ:/epics/devel/asyn-4-43/include -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include/os/WIN32 -IJ:/epics/devel/areaDetector-3-12-1/ADSupport/include
-IJ:/epics/devel/areaDetector-3-12-1/ADCore/include -IH:/epics-devel/base-7.0.7/include/compiler/msvc -IH:/epics-devel/base-7.0.7/include/os/WIN32 -IH:/epics-devel/base-7.0.7/include -c ../nanohttp_stream.c nanohttp_stream.c … make[1]: Circular xml2.lib <- nanohttp_stream.dll dependency dropped. "Installing shared library ../../../bin/windows-x64/xml2.dll" "Installing library ../../../lib/windows-x64/xml2.lib" link -nologo -subsystem:windows -dll -LTCG -incremental:no -opt:ref -release -MACHINE:X64 -out:nanohttp_stream.dll -implib:nanohttp_stream.lib nanohttp_stream.obj buf.obj c14n.obj catalog.obj
chvalid.obj debugXML.obj dict.obj DOCBparser.obj encoding.obj entities.obj error.obj globals.obj hash.obj HTMLparser.obj HTMLtree.obj legacy.obj list.obj nanoftp.obj nanohttp.obj parser.obj parserInternals.obj pattern.obj relaxng.obj SAX2.obj SAX.obj schematron.obj
threads.obj tree.obj uri.obj valid.obj xinclude.obj xlink.obj xmlIO.obj xmlmemory.obj xmlreader.obj xmlregexp.obj xmlmodule.obj xmlsave.obj xmlschemas.obj xmlschemastypes.obj xmlunicode.obj xmlwriter.obj xpath.obj xpointer.obj xmlstring.obj ../../../lib/windows-x64/xml2.lib
../../../lib/windows-x64/zlib.lib ws2_32.lib Creating library nanohttp_stream.lib and object nanohttp_stream.exp Generating code Finished generating code "Installing shared library ../../../bin/windows-x64/nanohttp_stream.dll" "Installing library ../../../lib/windows-x64/nanohttp_stream.lib" make[1]: Leaving directory 'J:/epics/devel/areaDetector/ADSupport/supportApp/xml2Src/O.windows-x64' ************************************* Note that it first build xml2.lib and xml2.dll and then built nanohttp.stream.lib and .dll. The only reason it would not do this is if you have not defined XML2_EXTERNAL=NO.
Did you install CONFIG_SITE.local from EXAMPLE_CONFIG_SITE.local as explained in the InstallGuide?
https://areadetector.github.io/master/install_guide.html#release-and-config-files I think the behavior you see can only be explained if you don’t have an areaDetector/configure/CONFIG_SITE.local file at all, or if you do have that file but have modified
it from EXAMPLE_CONFIG_SITE.local. EXAMPLE_CONFIG_SITE.local does define XML2_EXTERNAL=NO in this line:
https://github.com/areaDetector/areaDetector/blob/78fae55898b9028e756eb080367cd6aad8913b54/configure/EXAMPLE_CONFIG_SITE.local#L115 Mark
From: William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>
Hi Mark,
I haven't configured CONFIG_SITE.local at all - NO seems to be the default. (?)
no, and no. thanks for helping :)
Am 07.03.2023 um 13:43 schrieb Mark Rivers:
|