On 02/06/2018 01:25 PM, Mark Rivers wrote:
> 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.
...
>
> 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
Gosh Mark, you sure find some good issues.
Let's assume this is an dllimport vs. export bug. Can you add the following to p2pApp/server.cpp
above the epicsExportSharedSymbols and see if the situation changes at all?
> #include <epicsTimer.h> // add this line
> #define epicsExportSharedSymbols
- Replies:
- RE: Build error for windows-x64-debug on VS2010 Mark Rivers
- References:
- Build error for windows-x64-debug on VS2010 Mark Rivers
- Navigate by Date:
- Prev:
RE: Build error for windows-x64-debug on VS2010 Mark Rivers
- Next:
RE: Build error for windows-x64-debug on VS2010 Mark Rivers
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Build error for windows-x64-debug on VS2010 Mark Rivers
- Next:
RE: Build error for windows-x64-debug on VS2010 Mark Rivers
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
<2018>
2019
2020
2021
2022
2023
2024
|