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  <20122013  2014  2015  2016  2017  2018  2019  2020  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
<== Date ==> <== Thread ==>

Subject: AreaDetector Roper or PVCam IOC link problem
From: <giles.knap@diamond.ac.uk>
To: <tech-talk@aps.anl.gov>
Date: Mon, 30 Apr 2012 17:53:01 +0000
Hello All,

I am trying to build an IOC on windows 32 to drive a princeton instruments CCD via AreaDetector.  The exisiting roper or pvcam drivers should both be able to control this device.

I am getting the same link issue when I try to build an IOC with either of these drivers. I am getting unresolved externals in either roper.lib or pvcam.lib. The externals appear to be asynportdriver methods but are named a little differently to the actual functions in asynportdriver. I cannot discover where these dependencies are coming from despite investigating the code for both lib files.

The symbols in question are:
    getUInt32DigitalInterrupt@asynPortDriver
    getUInt32DigitalInterrupt@asynPortDriver
    clearUInt32DigitalInterrupt@asynPortDriver
    clearUInt32DigitalInterrupt@asynPortDriver
    setUInt32DigitalInterrupt@asynPortDriver
    setUInt32DigitalInterrupt@asynPortDriver
    
They do not seem to appear in any versions of asyn that I looked in. (I am trying to link against asyn 4-14)

Detailed output from the link is pasted below.

Any pointers appreciated.

Thanks,
   giles...

link -nologo  /LTCG /incremental:no /opt:ref /release               -out:BL16I-EA-IOC-11.exe       BL16I-EA-IOC-11_regis
terRecordDeviceDriver.obj BL16I-EA-IOC-11Main.obj     W:/prod/R3.14.11/support/dxp/3-0dls3/lib/win32-x86/dxp.lib  W:/pro
d/R3.14.11/support/dxp/3-0dls3/lib/win32-x86/handel.lib  W:/prod/R3.14.11/support/seq/2-0-12dls1/lib/win32-x86/seq.lib
W:/prod/R3.14.11/support/seq/2-0-12dls1/lib/win32-x86/pv.lib  C:/epics/support/areaDetector/lib/win32-x86/roper.lib  W:/
epics/R3.14.11/base/lib/win32-x86/recIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/softDevIoc.lib  W:/epics/R3.14.11/bas
e/lib/win32-x86/miscIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/rsrvIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/dbto
olsIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/asIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/dbIoc.lib  W:/epics/R3.
14.11/base/lib/win32-x86/registryIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/dbStaticIoc.lib  W:/epics/R3.14.11/base/l
ib/win32-x86/ca.lib  W:/epics/R3.14.11/base/lib/win32-x86/Com.lib  W:/prod/R3.14.11/support/dxp/3-0dls3/lib/win32-x86/DL
PORTIO.lib  W:/prod/R3.14.11/support/dxp/3-0dls3/lib/win32-x86/PlxApi.lib  C:/epics/support/areaDetector/lib/win32-x86/N
DPlugin.lib  C:/epics/support/areaDetector/lib/win32-x86/ADBase.lib  C:/epics/support/areaDetector/lib/win32-x86/netCDF.
lib  W:/prod/R3.14.11/support/calc/2-8dls2/lib/win32-x86/calc.lib  W:/prod/R3.14.11/support/busy/1-3dls3/lib/win32-x86/b
usy.lib  W:/prod/R3.14.11/support/sscan/2-6-6dls1/lib/win32-x86/sscan.lib  W:/prod/R3.14.11/support/autosave/4-6dls2/lib
/win32-x86/autosave.lib  W:/prod/R3.14.11/support/mca/6-12-4dls1/lib/win32-x86/mca.lib  W:/prod/R3.14.11/support/asyn/4-
14/lib/win32-x86/asyn.lib  W:/epics/R3.14.11/base/lib/win32-x86/recIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/softDev
Ioc.lib  W:/epics/R3.14.11/base/lib/win32-x86/miscIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/rsrvIoc.lib  W:/epics/R3
.14.11/base/lib/win32-x86/dbtoolsIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/asIoc.lib  W:/epics/R3.14.11/base/lib/win
32-x86/dbIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/registryIoc.lib  W:/epics/R3.14.11/base/lib/win32-x86/dbStaticIoc
.lib  W:/epics/R3.14.11/base/lib/win32-x86/ca.lib  W:/epics/R3.14.11/base/lib/win32-x86/Com.lib  C:/epics/support/areaDe
tector/lib/win32-x86/PvAPI.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_Magick++_.lib  C:/epics/support/area
Detector/lib/win32-x86/CORE_RL_wand_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_magick_.lib  C:/epics/supp
ort/areaDetector/lib/win32-x86/CORE_RL_coders_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_filters_.lib  C:
/epics/support/areaDetector/lib/win32-x86/CORE_RL_bzlib_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_jbig_.
lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_jp2_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_j
peg_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_lcms_.lib  C:/epics/support/areaDetector/lib/win32-x86/COR
E_RL_libxml_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_png_.lib  C:/epics/support/areaDetector/lib/win32-
x86/CORE_RL_tiff_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_ttf_.lib  C:/epics/support/areaDetector/lib/w
in32-x86/CORE_RL_wmf_.lib  C:/epics/support/areaDetector/lib/win32-x86/CORE_RL_xlib_.lib  C:/epics/support/areaDetector/
lib/win32-x86/CORE_RL_zlib_.lib  C:/epics/support/areaDetector/lib/win32-x86/NeXus.lib  C:/epics/support/areaDetector/li
b/win32-x86/hdf5dll.lib  C:/epics/support/areaDetector/lib/win32-x86/szip.lib  C:/epics/support/areaDetector/lib/win32-x
86/zlib1.lib setupapi.lib ole32.lib oleaut32.lib Gdi32.lib Oleaut32.lib ws2_32.lib advapi32.lib user32.lib kernel32.lib
winmm.lib
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LI
BCMT.lib(new.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMT.
lib(delete.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined in
 LIBCMT.lib(new2.obj)
nafxcw.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in LIBC
MT.lib(delete2.obj)
nafxcw.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in
LIBCMT.lib(new.obj); second definition ignored
nafxcw.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCM
T.lib(delete.obj); second definition ignored
nafxcw.lib(afxmem.obj) : warning LNK4006: "void * __cdecl operator new[](unsigned int)" (??_U@YAPAXI@Z) already defined
in LIBCMT.lib(new2.obj); second definition ignored
nafxcw.lib(afxmem.obj) : warning LNK4006: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in LI
BCMT.lib(delete2.obj); second definition ignored
   Creating library BL16I-EA-IOC-11.lib and object BL16I-EA-IOC-11.exp
roper.lib(roper.obj) : error LNK2001: unresolved external symbol "public: virtual enum asynStatus __thiscall asynPortDri
ver::getUInt32DigitalInterrupt(int,unsigned int *,enum interruptReason)" (?getUInt32DigitalInterrupt@asynPortDriver@@UAE
?AW4asynStatus@@HPAIW4interruptReason@@@Z)
roper.lib(roper.obj) : error LNK2001: unresolved external symbol "public: virtual enum asynStatus __thiscall asynPortDri
ver::getUInt32DigitalInterrupt(int,int,unsigned int *,enum interruptReason)" (?getUInt32DigitalInterrupt@asynPortDriver@
@UAE?AW4asynStatus@@HHPAIW4interruptReason@@@Z)
roper.lib(roper.obj) : error LNK2001: unresolved external symbol "public: virtual enum asynStatus __thiscall asynPortDri
ver::clearUInt32DigitalInterrupt(int,unsigned int)" (?clearUInt32DigitalInterrupt@asynPortDriver@@UAE?AW4asynStatus@@HI@
Z)
roper.lib(roper.obj) : error LNK2001: unresolved external symbol "public: virtual enum asynStatus __thiscall asynPortDri
ver::clearUInt32DigitalInterrupt(int,int,unsigned int)" (?clearUInt32DigitalInterrupt@asynPortDriver@@UAE?AW4asynStatus@
@HHI@Z)
roper.lib(roper.obj) : error LNK2001: unresolved external symbol "public: virtual enum asynStatus __thiscall asynPortDri
ver::setUInt32DigitalInterrupt(int,unsigned int,enum interruptReason)" (?setUInt32DigitalInterrupt@asynPortDriver@@UAE?A
W4asynStatus@@HIW4interruptReason@@@Z)
roper.lib(roper.obj) : error LNK2001: unresolved external symbol "public: virtual enum asynStatus __thiscall asynPortDri
ver::setUInt32DigitalInterrupt(int,int,unsigned int,enum interruptReason)" (?setUInt32DigitalInterrupt@asynPortDriver@@U
AE?AW4asynStatus@@HHIW4interruptReason@@@Z)
BL16I-EA-IOC-11.exe : fatal error LNK1120: 6 unresolved externals
-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
RE: AreaDetector Roper or PVCam IOC link problem Mark Rivers

Navigate by Date:
Prev: Re: [Scopes] BMP image record?? Matt Newville
Next: RE: AreaDetector Roper or PVCam IOC link problem Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
Navigate by Thread:
Prev: 9th NOBUGS conference announcement - registration open Tobias.Richter
Next: RE: AreaDetector Roper or PVCam IOC link problem Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·