EPICS Home

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: Re: Still can not successful compile/run epicsV4CPP from github
From: Michael Davidsaver <[email protected]>
To: Marty Kraimer <[email protected]>, [email protected]
Date: Wed, 23 Aug 2017 13:05:56 -0500
On 08/23/2017 12:23 PM, Marty Kraimer wrote:
> On 08/23/2017 12:09 PM, Heinz P. Junkes wrote:
>> 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

Do you see the same if you replace

> make runtests

with

> make
> make runtests



>>
>> 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
> 
> 
> My RELEASE.local is:
> 
> mrk> cat RELEASE.local
> EPICS4_DIR=/home/epicsv4/masterCPP
> EXAMPLE=${EPICS4_DIR}/exampleCPP
> PVDATABASE=${EPICS4_DIR}/pvDatabaseCPP
> PVACLIENT=${EPICS4_DIR}/pvaClientCPP
> PVASRV=${EPICS4_DIR}/pvaSrv
> PVACCESS=${EPICS4_DIR}/pvAccessCPP
> NORMATIVETYPES=${EPICS4_DIR}/normativeTypesCPP
> PVDATA=${EPICS4_DIR}/pvDataCPP
> #PVCOMMON=${EPICS4_DIR}/pvCommonCPP
> 
> #EPICS_BASE=/home/install/epics/base-3.14.12.5
> #EPICS_BASE=/home/install/epics/base-3.15.5
> EPICS_BASE=/home/install/epics/base-3.16.1
> #EPICS_BASE=/home/install/epics/base
> 
> Thus all in reverse of dependencies.
> My build is successful.
> I am not sure what this means.
> 
> Marty
> 
>>
>> 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 Heinz P. Junkes
References:
Still can not successful compile/run epicsV4CPP from github Heinz P. Junkes
Re: Still can not successful compile/run epicsV4CPP from github Marty Kraimer

Navigate by Date:
Prev: Re: Still can not successful compile/run epicsV4CPP from github Marty Kraimer
Next: Re: RTEMS: rsrv: failed to set mcast loopback in src/ioc/rsrv/caservertask.c Michael Davidsaver
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: Still can not successful compile/run epicsV4CPP from github Marty Kraimer
Next: Re: Still can not successful compile/run epicsV4CPP from github Heinz P. Junkes
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024