On 06/20/2018 11:44 AM, DPCuneo wrote:
> I'm trying experiment with PVAcess while using R3.15.4, since we won't be switching to 7 very soon.
> In particular, I cloned the repo at: https://github.com/mdavidsaver/pva2pva .
Firstly, please use https://github.com/epics-base/pva2pva
> I read the README.md and set the two environment variables:
> exported EPICS_BASE and PVCOMMONS (I have EPICS4 built).
>
> make produces the error:
>
> /usr/bin/g++ -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_64_ -DUNIX -Dlinux -O3 -g -Wall -mtune=generic -m64 -fPIC -I. -I../O.Common -I. -I. -I.. -I../../src/misc -I../../src/pv -I../../src/factory -I../../src/property -I../../src/copy -I../../src/pvMisc -I../../src/json -I../../include/compiler/gcc -I../../include/os/Linux -I../../include -MM -MF TypeFunc.d ../../src/factory/TypeFunc.cpp
> ../../src/factory/TypeFunc.cpp:19:37: fatal error: dbDefs.h: No such file or directory
> #include "dbDefs.h" // for NELEMENTS
>
> I saw another TT thread with this exact error, however it was in reference to EPICS7 and a git clone issue, rather than EPICS 3.15.x build.
This is a common error which occurs when the inter-module dependencies aren't set.
I realize I omitted this step from the README.md, which is out of date anyway.
The main documentation is at:
https://epics-base.github.io/pva2pva/
See the Building and Quick Start sections.
> The header "dbDefs.h" exists in my EPICS base in two locations:
>>find /usr/local/epics/R3.15.4/base-3.15.4 -type f -name "dbDefs.h"
>
> /usr/local/epics/R3.15.4/base-3.15.4/src/libCom/misc/dbDefs.h
> /usr/local/epics/R3.15.4/base-3.15.4/include/dbDefs.h
>
> For fun, I included "/usr/local/epics/R3.15.4/base-3.15.4/include" in the g++ call above, and just received more errors about missing headers.
>
> I'm new to EPICS and have limited experience with C/C++. Perhaps I'm missing something ?
- References:
- Building pvData using R3.15.4 fails DPCuneo
- Navigate by Date:
- Prev:
jar file for EPICS Archive Viewer with Archive Appliance plug-in John Dobbins
- Next:
Re: Building pvData using R3.15.4 fails 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:
Building pvData using R3.15.4 fails DPCuneo
- Next:
Re: Building pvData using R3.15.4 fails 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
|