Experimental Physics and Industrial Control System
|
Hello,
I'm trying to build the 'database' example from the V4 C++ examples project (https://github.com/epics-base/exampleCPP). I get the following error:
../pv/exampleHelloRPC.h:40: error: 'epics::pvAccess' has not been declared
../pv/exampleHelloRPC.h:40: error: expected `{' before 'RPCService'
../pv/exampleHelloRPC.h:40: error: invalid function declaration
../pv/exampleHelloRPC.h:71: error: 'epics::pvAccess' has not been declared
../pv/exampleHelloRPC.h:71: error: ISO C++ forbids declaration of 'shared_pointer' with no type
../pv/exampleHelloRPC.h:71: error: 'shared_pointer' declared as a 'virtual' field
../pv/exampleHelloRPC.h:71: error: expected ';' before 'getService'
../pv/exampleHelloRPC.h:80: error: 'epics::pvAccess' has not been declared
../pv/exampleHelloRPC.h:80: error: ISO C++ forbids declaration of 'shared_pointer' with no type
../pv/exampleHelloRPC.h:80: error: expected ';' before 'service'
It looks like maybe there is an include statement missing in the example. If I add '#include <pv/rpcService.h>' to exampleHelloRPC.h, I get a different error:
../pv/exampleHelloRPC.h:54: error: looser throw specifier for 'virtual epics::pvData::PVStructurePtr epics::exampleCPP::database::ExampleHelloRPCService::request(const epics::pvData::PVStructurePtr&)'
/afs/slac/g/lcls/epics/base/base-cpp-R4-5-0/pvAccessCPP/include/pv/rpcService.h:65: error: overriding 'virtual std::tr1::shared_ptr<epics::pvData::PVStructure> epics::pvAccess::RPCService::request(const std::tr1::shared_ptr<epics::pvData::PVStructure>&) throw
(epics::pvAccess::RPCRequestException)'
Any help is appreciated!
--Matt
|
- Replies:
- Re: Problems building 'database' from exampleCPP Andrew Johnson
- Navigate by Date:
- Prev:
Re: epicsEventSignal() question Andrew Johnson
- Next:
Re: Problems building 'database' from exampleCPP Andrew Johnson
- 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
2023
2024
- Navigate by Thread:
- Prev:
Re: epicsEventSignal() question Michael Westfall
- Next:
Re: Problems building 'database' from exampleCPP Andrew Johnson
- 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
2023
2024
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|