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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: I'm looking for a pvacces example to read PVStructure |
From: | Heinz Junkes via Tech-talk <[email protected]> |
To: | [email protected] |
Cc: | "[email protected]" <[email protected]> |
Date: | Tue, 12 Mar 2019 11:20:30 +0100 |
Hi Will, thanks for looking it up. But I always seem to try the examples that don't work. E.G. getputmonitor.cpp In file included from ../getputmonitor.cpp:16: /Users/junkes/ABER_JETZT/epics-base/include/pv/pvaClient.h:1736:10: warning: 'epics::pvaClient::PvaClientMonitor::monitorConnect' hides overloaded virtual function [-Woverloaded-virtual] void monitorConnect( ^ /Users/junkes/ABER_JETZT/epics-base/include/pv/pvaClient.h:1603:18: note: hidden overloaded virtual function 'epics::pvaClient::PvaClientMonitorRequester::monitorConnect' declared here: type mismatch at 2nd parameter ('const epics::pvaClient::PvaClientMonitorPtr &' (aka 'const shared_ptr<epics::pvaClient::PvaClientMonitor> &') vs 'const epics::pvData::MonitorPtr &' (aka 'const shared_ptr<epics::pvAccess::Monitor> &')) virtual void monitorConnect(epics::pvData::Status const & status, ^ /Users/junkes/ABER_JETZT/epics-base/include/pv/pvaClient.h:1740:10: warning: 'epics::pvaClient::PvaClientMonitor::unlisten' hides overloaded virtual function [-Woverloaded-virtual] void unlisten(epics::pvData::MonitorPtr const & monitor); ^ /Users/junkes/ABER_JETZT/epics-base/include/pv/pvaClient.h:1616:18: note: hidden overloaded virtual function 'epics::pvaClient::PvaClientMonitorRequester::unlisten' declared here: different number of parameters (0 vs 1) virtual void unlisten() ^ 2 warnings generated. c++ -o myEx -L/Users/junkes/pvTest/lib/darwin-x86 -L/Users/junkes/ABER_JETZT/epics-base/lib/darwin-x86 -arch x86_64 myEx_registerRecordDeviceDriver.o getputmonitor.o -lmyExSupport -lqsrv -lpvAccessIOC -lpvAccessCA -lpvAccess -lpvData -ldbRecStd -ldbCore -lca -lCom Undefined symbols for architecture x86_64: "epics::pvaClient::PvaClientGet::issueConnect()", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientGet::setRequester(std::__1::shared_ptr<epics::pvaClient::PvaClientGetRequester> const&)", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientGet::get()", referenced from: ClientGetPutMonitor::get() in getputmonitor.o "epics::pvaClient::PvaClientGet::getData()", referenced from: ClientGetPutMonitor::get() in getputmonitor.o "epics::pvaClient::PvaClientPut::issueConnect()", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientPut::setRequester(std::__1::shared_ptr<epics::pvaClient::PvaClientPutRequester> const&)", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientPut::getData()", referenced from: ClientGetPutMonitor::put(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in getputmonitor.o ClientGetPutMonitor::getDone(epics::pvData::Status const&, std::__1::shared_ptr<epics::pvaClient::PvaClientPut> const&) in getputmonitor.o "epics::pvaClient::PvaClientPut::issuePut()", referenced from: ClientGetPutMonitor::put(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in getputmonitor.o "epics::pvaClient::PvaClientChannel::issueConnect()", referenced from: ClientGetPutMonitor::init(std::__1::shared_ptr<epics::pvaClient::PvaClient> const&) in getputmonitor.o "epics::pvaClient::PvaClientChannel::createMonitor(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientChannel::setStateChangeRequester(std::__1::shared_ptr<epics::pvaClient::PvaClientChannelStateChangeRequester> const&)", referenced from: ClientGetPutMonitor::init(std::__1::shared_ptr<epics::pvaClient::PvaClient> const&) in getputmonitor.o "epics::pvaClient::PvaClientChannel::createGet(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientChannel::createPut(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientGetData::showChanged(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from: ClientGetPutMonitor::get() in getputmonitor.o "epics::pvaClient::PvaClientGetData::getChangedBitSet()", referenced from: ClientGetPutMonitor::get() in getputmonitor.o "epics::pvaClient::PvaClientMonitor::issueConnect()", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientMonitor::releaseEvent()", referenced from: ClientGetPutMonitor::event(std::__1::shared_ptr<epics::pvaClient::PvaClientMonitor> const&) in getputmonitor.o "epics::pvaClient::PvaClientMonitor::setRequester(std::__1::shared_ptr<epics::pvaClient::PvaClientMonitorRequester> const&)", referenced from: ClientGetPutMonitor::channelStateChange(std::__1::shared_ptr<epics::pvaClient::PvaClientChannel> const&, bool) in getputmonitor.o "epics::pvaClient::PvaClientMonitor::poll()", referenced from: ClientGetPutMonitor::event(std::__1::shared_ptr<epics::pvaClient::PvaClientMonitor> const&) in getputmonitor.o "epics::pvaClient::PvaClientMonitor::stop()", referenced from: simple(char*) in getputmonitor.o "epics::pvaClient::PvaClientMonitor::start()", referenced from: simple(char*) in getputmonitor.o ClientGetPutMonitor::monitorConnect(epics::pvData::Status const&, std::__1::shared_ptr<epics::pvaClient::PvaClientMonitor> const&, std::__1::shared_ptr<epics::pvData::Structure const> const&) in getputmonitor.o non-virtual thunk to ClientGetPutMonitor::monitorConnect(epics::pvData::Status const&, std::__1::shared_ptr<epics::pvaClient::PvaClientMonitor> const&, std::__1::shared_ptr<epics::pvData::Structure const> const&) in getputmonitor.o "epics::pvaClient::PvaClientMonitor::getData()", referenced from: ClientGetPutMonitor::event(std::__1::shared_ptr<epics::pvaClient::PvaClientMonitor> const&) in getputmonitor.o "epics::pvaClient::PvaClientPutData::getPVStructure()", referenced from: ClientGetPutMonitor::put(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in getputmonitor.o ClientGetPutMonitor::getDone(epics::pvData::Status const&, std::__1::shared_ptr<epics::pvaClient::PvaClientPut> const&) in getputmonitor.o "epics::pvaClient::PvaClientMonitorData::showChanged(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)", referenced from: ClientGetPutMonitor::event(std::__1::shared_ptr<epics::pvaClient::PvaClientMonitor> const&) in getputmonitor.o "epics::pvaClient::PvaClient::createChannel(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: ClientGetPutMonitor::init(std::__1::shared_ptr<epics::pvaClient::PvaClient> const&) in getputmonitor.o "epics::pvaClient::PvaClient::get(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from: simple(char*) in getputmonitor.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [myEx] Error 1 make[2]: *** [install.darwin-x86] Error 2 make[1]: *** [src.install] Error 2 make: *** [myExApp.install] Error 2
|
Attachment:
smime.p7s
Description: S/MIME cryptographic signature