lvPortDriver.dbd should be located in lvPortDriverApp/src,
and when that directory builds, it should be installed into the dbd folder
for your system that would be: /usr/local/EPICS/synapp/support/lvPortDriver-master/dbd/
perhaps somethings going wrong the build or install from lvPortDriverApp/src (like no permission to create the directory, or a case mismatch in the
filename)
Dear Dr. Baily,
Thank you very much for giving me these instructions about "lvPortDriver"! But I'm still unable to build it successfully.
I built the EPICS base 3.14.12.7, asyn4-30, and put the LabVIEW header(my version is LabVIEW-2015 32-bit for windows)
and the newer released version of lvPortDriver to my cRIO-9030.
Then I set the ./configure/RELEASE file like (annotations in the file are omitted ):
EPICS_RELEASE = R3.14.12.7
SUPPORT=/usr/local/EPICS/synapp/support
ASYN=/usr/local/EPICS/synapp/support/asyn4-30
LABVIEW=/usr/local/EPICS/synapp/support/labview
EPICS_BASE= /usr/local/EPICS/base-3.14.12.7
Next I typed "make" in this configure directory, "cd ../",and "make" in the lvPortDriver directory.
make[3]: Entering directory '/usr/local/EPICS/synapp/support/lvPortDriver-master/lvtestApp/src/O.linux-x86_64'
perl /usr/local/EPICS/base-3.14.12.7/bin/linux-x86_64/makeIncludeDbd.pl base.dbd lvPortDriver.dbd asyn.dbd lvtestInclude.dbd
echo "../O.Common/lvtestInclude.dbd : ../Makefile" >> lvtest.dbd.d
Expanding dbd
Can't open include file "lvPortDriver.dbd"
Error at or before ""lvPortDriver.dbd"" in file "../O.Common/lvtestInclude.dbd" line 2
dbExpand: Input errors, no output generated
/usr/local/EPICS/base-3.14.12.7/configure/RULES.Db:265: recipe for target '../O.Common/lvtest.dbd' failed
make[3]: *** [../O.Common/lvtest.dbd] Error 1
make[3]: Leaving directory '/usr/local/EPICS/synapp/support/lvPortDriver-master/lvtestApp/src/O.linux-x86_64'
/usr/local/EPICS/base-3.14.12.7/configure/RULES_ARCHS:61: recipe for target 'install.linux-x86_64' failed
make[2]: *** [install.linux-x86_64] Error 2
I tried to uninstall and rebuild it several times, but the result didn't changed.
What should I do to correct the error? Look forward to your guidance.