Thanks guys,
The problem was that my path to AG34970 was not set correctly (wrong directory!). Fixing this, making clean, and making again did the trick. Thanks again.
Andrew
On Aug 13, 2010, at 9:16 PM, Mark Rivers wrote:
> Make sure you do a "make clean" at the top level of your application, or in the configure/ directory after editing configure/RELEASE.
>
> Mark
>
>
> ________________________________
>
> From: [email protected] on behalf of Andrew Wagner
> Sent: Fri 8/13/2010 8:48 PM
> To: [email protected]
> Subject: IOC Build Error
>
>
>
> Hi everyone,
>
> I'm having trouble creating an IOC application that includes device support for several different devices. I would like to be able to read inputs from one device and based on that, write output to a second device. As a first step I have created device support in /Users/andrewwagner/ASYN/instruments/ag34970 (my local machine) that I have successfully tested. I am creating my application in /Users/andrewwagner/ASYN/applications/MagnetCtrl . I have the lines:
>
> # Asyn and Device Support
> ASYN=/Users/andrewwagner/ASYN/asyn4-13-1
>
> AG34970=/Users/andrewwagner/ASYN/asyn4-13-1/instruments/ag34970
>
> # EPICS_BASE usually appears last so other apps can override stuff:
> EPICS_BASE=/Users/andrewwagner/EPICS/base-3-14-11
>
> in my config/RELEASE and I need to know the location of devAG34970.dbd located in AG34970/dbd . When I run make in MagnetCtrl to build my application I get the error:
>
> Expanding dbd
> /Users/andrewwagner/EPICS/base-3-14-11/bin/darwin-x86/dbExpand -I . -I .. -I ../../../dbd -I/Users/andrewwagner/ASYN/asyn4-13-1/dbd -I/Users/andrewwagner/EPICS/base-3-14-11/dbd -o ../O.Common/MagnetCtrl.dbd ../O.Common/MagnetCtrlInclude.dbd
> Can't open include file "devAG34970.dbd"
> Error at or before ""devAG34970.dbd"" in file "../O.Common/MagnetCtrlInclude.dbd" line 3
>
> Based on the message it seems that both ASYN and EPICS_BASE were properly included but AG34970 was not. I must be doing something wrong but can't figure out why it can't find devAG34970.dbd . In brief I'm trying to build an ioc where the device support is located in some other directory but am having trouble with the Makefile rules. Thanks very much for your help.
>
> Andrew
>
>
>
>
>
>
- Replies:
- Re: IOC Build Error Andrew Johnson
- References:
- IOC Build Error Andrew Wagner
- RE: IOC Build Error Mark Rivers
- Navigate by Date:
- Prev:
RE: ASYN Addition Mark Rivers
- Next:
Motion controls alternatives to MAXv? Mark Clift
- 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:
RE: IOC Build Error Mark Rivers
- Next:
Re: IOC Build Error 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
|