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: Windows 10 LNK1181 error on xml2.lib
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>, Ralph Lange <ralph.lange at gmx.de>
Date: Wed, 6 Dec 2023 15:59:37 +0000
  • Under Windows, PATH needs to point to the DLLs, i.e. should contain the "bin" location.

And the DLLs only need to be found at run-time, not at build-time.  Since the error is at build-time, PATH is not involved.

Mark



From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, December 6, 2023 2:59 AM
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: Windows 10 LNK1181 error on xml2.lib
 
On Wed, 6 Dec 2023 at 06:40, Abdalla Ahmad via Tech-talk <tech-talk at aps.anl.gov> wrote:

[...], the “link” command even points to ADSupport/lib/linux-x86_64, and the windows PATH variable points to the same location but still I get the same LNK1181 issue.


Keep in mind that Windows DLLs are in the "bin" install location, while statically linked libraries and the DLL stub libraries are under "lib". Under Windows, PATH needs to point to the DLLs, i.e. should contain the "bin" location.

~Ralph


References:
Windows 10 LNK1181 error on xml2.lib Abdalla Ahmad via Tech-talk
Re: Windows 10 LNK1181 error on xml2.lib Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: Simulated limit switches on motorSim motor Nariyoshi, Pedro via Tech-talk
Next: Re: CaSnooper Update? Johnson, Andrew N. 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: Re: Windows 10 LNK1181 error on xml2.lib Ralph Lange via Tech-talk
Next: RE: Windows 10 LNK1181 error on xml2.lib Mark Rivers 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, 06 Dec 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·