I am getting an error building pva2pva for the windows-x64-debug architecture on VS2010. I don’t think this is an error I have previously reported. I don’t know how to
fix it.
H:\epics-devel\base-7.0.1\include\pv/pvAccess.h(1253) : warning C4275: non dll-interface class 'epics::pvData::NoDefaultMethods' used as base for dll-interface class 'epics::pvAcce
ss::ChannelProviderFactory'
H:\epics-devel\base-7.0.1\include\pv/noDefaultMethods.h(50) : see declaration of 'epics::pvData::NoDefaultMethods'
H:\epics-devel\base-7.0.1\include\pv/pvAccess.h(1253) : see declaration of 'epics::pvAccess::ChannelProviderFactory'
link -nologo -debug -incremental:no -fixed:no -MACHINE:X64 -out:p2p.exe gwmain.obj server.obj chancache.obj moncache.obj channel.obj H:/epics-devel/base-7.0
.1/lib/windows-x64-debug/pvAccessIOC.lib H:/epics-devel/base-7.0.1/lib/windows-x64-debug/pvAccess.lib H:/epics-devel/base-7.0.1/lib/windows-x64-debug/pvData.lib H:/epics-devel/b
ase-7.0.1/lib/windows-x64-debug/Com.lib
Com.lib(Com.dll) : error LNK2005: "public: __cdecl epicsTimerNotify::epicsTimerNotify(void)" (??0epicsTimerNotify@@QEAA@XZ) already defined in server.obj
Creating library p2p.lib and object p2p.exp
p2p.exe : fatal error LNK1169: one or more multiply defined symbols found
H:/epics-devel/base-7.0.1/configure/RULES_BUILD:201: recipe for target 'p2p.exe' failed
make[2]: *** [p2p.exe] Error 1169
make[2]: Leaving directory 'H:/epics-devel/base-7.0.1/modules/pva2pva/p2pApp/O.windows-x64-debug'
H:/epics-devel/base-7.0.1/configure/RULES_ARCHS:58: recipe for target 'install.windows-x64-debug' failed
make[1]: *** [install.windows-x64-debug] Error 2
make[1]: Leaving directory 'H:/epics-devel/base-7.0.1/modules/pva2pva/p2pApp'
H:/epics-devel/base-7.0.1/configure/RULES_DIRS:84: recipe for target 'p2pApp.install' failed
make: *** [p2pApp.install] Error 2
Thanks,
Mark