EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: driver developement for baseR3.14.0beta2
From: Rozelle Wright <[email protected]>
To: Marty Kraimer <[email protected]>, Bernhard Kuner <[email protected]>
Cc: [email protected]
Date: Mon, 12 Aug 2002 10:52:47 -0600
This might not be the same problem that Bernard is having, but I am using cygwin which generates different paths than the standard windows paths. In order to make it possible for the microsoft compiler and loader to find the includes and libraries I did the following:

I put these definitions in my .bashrc file:
export HOST_ARCH=WIN32
export EPICS_BASE=/home/Rozelle/epicsDvl/base-3.14.beta1
export DOS_EPICS_BASE=C:/cygwin$EPICS_BASE
alias makeMyAppl="perl $EPICS_BASE/bin/$EPICS_HOST_ARCH/makeBaseApp.pl -b $DOS_E
PICS_BASE -t example test"
alias makeMyIocAppl="perl $EPICS_BASE/bin/$EPICS_HOST_ARCH/makeBaseApp.pl -b $DO
S_EPICS_BASE -i -t example test"


I have the aliases makeMyAppl and makeMyIocAppl to remind me what parameters work. I would of course change the name of the application from test to something else for a real application.

If I left out the -b parameter, makeBaseApp.pl would define
EPICS_BASE as /home/Rozelle/epicsDvl/base-3.14.beta1
with the -b parameter it becomes
EPICS_BASE=C:/cygwin/home/Rozelle/epicsDvl/base-3.14.beta1
which allows the compiler and loader to find includes and libraries.

Perhaps this will help.
Rozelle


At 06:56 AM 8/8/2002 -0500, Marty Kraimer wrote:
This looks like a problem with WIN32. I do not use windows so I can't help. Here at APS Janet does test on windows so she will be able to help but is on vacation until next Monday.


In the meantime can some other windows user help?


Sorry I could not help.

Marty Kraimer

Bernhard Kuner wrote:

Hallo,
there seems to be a problem with the baseR3.14.0beta2 make files and
scripts. I try to develope a driver support and run into this problems:
1. There ist no include path to the base!
----------------------------------------------------------------------
I created an application - a new top - with makeBaseApp.pl and set in
   configure/RELEASE:  EPICS_BASE=C:/project/epics/baseR3.14.0beta2
but it is impossible to include any .h file form the base! I found the
not very elegant solution to set it in the makefile:
   USR_INCLUDES = -I C:\\project\\epics\\baseR3.14.0beta2\\include -I
C:\\project\\epics\\baseR3.14.0beta2\\include\\os\\WIN32
Is there a better way? Did I make anything wrong?
2. There is an error in the automagic created
opc_registerRecordDeviceDriver.cpp
--------------------------------------------------------------------------------
The opc.dbd it contains only this:
    include "aiRecord.dbd"
    device(ai,INST_IO,devOpc,"opc")
It will be parsed and in the file opc_registerRecordDeviceDriver.cpp are
empty entries. The compiler doesn't like this
    static const char * const deviceSupportNames[2] = {
        "",
        "devOpc"
    };
    static const struct dset * const devsl[2] = {
        &,
        &devOpc
    };
    extern "C" struct drvet ;
    extern "C" struct drvet drvOpc;
    static char *driverSupportNames[2] = {
        "",
        "drvOpc"
    };
    static struct drvet *drvsl[2] = {
        &,
        &drvOpc
    };
best regards (gruessle)




References:
driver developement for baseR3.14.0beta2 Bernhard Kuner
Re: driver developement for baseR3.14.0beta2 Marty Kraimer

Navigate by Date:
Prev: FW: Application for port-number (5064-5065) Jeff Hill
Next: beware PATH pitfall when upgrading from 3.14.beta1 to 3.14.beta2 on Win32- Rozelle Wright
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  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: driver developement for baseR3.14.0beta2 Marty Kraimer
Next: Recommend VME analog input board w/filtering? John A. Priller
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·