EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Still can not successful compile/run epicsV4CPP from github
From: "Heinz P. Junkes" <[email protected]>
To: [email protected]
Date: Wed, 23 Aug 2017 18:09:39 +0200
There are still some issues to compile/run the V4 stuff. Even on linux only

Attached you can find my used script.

There seems to be introduced a new directory structure (.../pv/...) but this leads to issues like this:

../../include/compiler/gcc -I../../include/os/Linux -I../../include -I/home/etest/EPICS/pvDataCPP/include -I/home/etest/EPICS/pvCommonCPP/include -I/home/etest/EPICS/epics-base/include/compiler/gcc -I/home/etest/EPICS/epics-base/include/os/Linux -I/home/etest/EPICS/epics-base/include -c ../../testApp/utils/testAtomicBoolean.cpp
In file included from ../../testApp/utils/testAtomicBoolean.cpp:4:0:
../../src/remote/pv/remote.h:32:29: fatal error: pv/pvaConstants.h: No such file or directory
 #include <pv/pvaConstants.h>
                             ^
compilation terminated.
make[2]: *** [testAtomicBoolean.o] Error

Heinz


#!/bin/bash

# Dependencies between modules, also used for RELEASE files
#        pvDataCPP_DEPENDS_ON = pvCommonCPP
#normativeTypesCPP_DEPENDS_ON = pvDataCPP
#      pvAccessCPP_DEPENDS_ON = pvDataCPP
#     pvaClientCPP_DEPENDS_ON = pvAccessCPP normativeTypesCPP
#           pvaSrv_DEPENDS_ON = pvAccessCPP
#    pvDatabaseCPP_DEPENDS_ON = pvAccessCPP
#       exampleCPP_DEPENDS_ON = pvDatabaseCPP pvaSrv pvaClientCPP

cat << EOF > RELEASE.local
PVACCESS=$PWD/pvAccessCPP
NORMATIVETYPES=$PWD/normativeTypesCPP
PVDATA=$PWD/pvDataCPP
PVDATABASE=$PWD/pvDatabaseCPP
PVCOMMON=$PWD/pvCommonCPP
PVACLIENT=$PWD/pvaClientCPP
PVASRV=$PWD/pvaSrv
EPICS_BASE=$PWD/epics-base
TEMPLATE_TOP=$PWD/epics-base/templates/makeBaseApp/top
EOF

repos=(
  "https://github.com/epics-base/epics-base.git";
  "https://github.com/epics-base/pvCommonCPP.git";
  "https://github.com/epics-base/pvDataCPP.git";
  "https://github.com/epics-base/normativeTypesCPP.git";
  "https://github.com/epics-base/pvAccessCPP.git";
  "https://github.com/epics-base/pvaClientCPP.git";
  "https://github.com/epics-base/pvaSrv.git";
  "https://github.com/epics-base/pvDatabaseCPP.git";
  "https://github.com/epics-base/exampleCPP.git";
)

echo "Cloning " ${#repos[@]} "repositories"

for repo in "${repos[@]}"
do
  localRepoDir=$(echo ${repo}| cut -d'/' -f5 | cut -d'.' -f1)
  if [ -d $localRepoDir ]; then
    echo "Directory " $localRepoDir " already exists"
    cd $localRepoDir
    echo "will pull"
    git pull
    make runtests
    cd ..
  else
    echo "clone" ${repo}
    git clone ${repo}
    cd $localRepoDir
    make runtests
    cd ..
  fi
done


Replies:
Re: Still can not successful compile/run epicsV4CPP from github Marty Kraimer

Navigate by Date:
Prev: Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Heinz Junkes
Next: Re: Still can not successful compile/run epicsV4CPP from github Marty Kraimer
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Add optimization switch to compiler dependencies Ralph Lange
Next: Re: Still can not successful compile/run epicsV4CPP from github Marty Kraimer
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·