EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  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  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem linking a Channel Access application on Windows using Visual Studio
From: "Jeff Hill" <[email protected]>
To: <[email protected]>, <[email protected]>
Date: Thu, 8 Jan 2004 15:55:23 -0700
Steve,

The file README.WIN32 in the R3.14.4 distribution has a discussion about
building application outside of the EPICS build system. Read section (6) for
the details. Let me know if you are still experiencing troubles.

Jeff


> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> Sent: Tuesday, January 06, 2004 10:06 PM
> To: [email protected]
> Subject: Problem linking a Channel Access application on Windows using
> Visual Studio
> 
> G'day,
> 
> I'm hoping that someone can help me with a problem I'm having with
> linking
> a Channel Access (3.14.4) program that I'm writing on windows 2000 using
> Visual Studio C++ Version 6.0.
> 
> Everything was compiling and linking fine (using a variety of different
> Channel Access functions) until I found that I needed to use the
> dbf_type_to_DBR_TIME macro which is defined in db_access.h.  At this
> point,
> attempting to link the application resulted in the following error:
> 
> ============================================================
> --------------------Configuration: mcatest - Win32
> Debug--------------------
> Linking...
> Channel.obj : error LNK2001: unresolved external symbol _dbf_text_dim
> Debug/mcatest.exe : fatal error LNK1120: 1 unresolved externals
> Error executing link.exe.
> 
> mcatest.exe - 2 error(s), 0 warning(s)
> ============================================================
> 
> The symbol dbf_text_dim is used by the macro dbf_type_to_DBR_TIME and is
> defined in access.cpp.  I've checked with the Visual Studio Dependency
> Walker and have verified that dbf_text_dim is in the ca.dll and ca.lib
> files.
> 
> I am at a loss to understand why the linker cannot resolve this symbol.
> Is
> there anyone out there who can tell me what I need to do to get my
> application to link correctly so that I can use the dbf_type_to_DBR_TIME
> macro?
> 
> Steve Banks
> Australian Synchrotron Project
> Department of Infrastructure
> Level 18, 80 Collins Street
> Melbourne   VIC   3000
> tel:  +613 9655 6303
> fax:  +613 9655 8666
> web: www.synchrotron.vic.gov.au




References:
Problem linking a Channel Access application on Windows using Visual Studio Steven . Banks

Navigate by Date:
Prev: RE: EPICS R3.14.4 for vxWorks-pentium Jeff Hill
Next: RE: Problem linking a Channel Access application on Windows using Visual Studio Russ Berg
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem linking a Channel Access application on Windows using Visual Studio Steven . Banks
Next: RE: Problem linking a Channel Access application on Windows using Visual Studio Russ Berg
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  <20042005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·