EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: building labCA on base 3.15.2, missing tsDefs.h
From: "Johnson, Andrew N." <[email protected]>
To: "Gierman, Stephen" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 8 Sep 2015 01:40:40 +0000
Hi Stephen,

The tsDefs.h header was removed from Base between the 3.14 and 3.15 release series, it gave access to some routines which were replaced early in the 3.14 series with a new API, the epicsTime routines and the generalTime facility. If you don't have the C programming skills to make the necessary changes to the C source yourself you should ask the labCA maintainer whether they have a version ported to EPICS 3.15.2. The changes shouldn't take an experienced C developer very long to make, often the tsDefs.h routines were just used to convert time stamps into a string representation, for which there is now an EPICS version of strftime() that can be used instead.

If you want to try making the fix yourself, start by removing the #include "tsDefs.h" line from the multiEzca.h file and running make again to see what that breaks. You might want to try replacing it with #include "epicsTime.h" as well. Be sure to keep any follow-up conversation here on tech-talk since there are many people here who can help.

- Andrew

-- 
Sent from my iPad

> On Sep 7, 2015, at 6:19 PM, Gierman, Stephen <[email protected]> wrote:
> 
> Hi,
> 
> I'm building labCA (version 3.4.2) on base-3.15.2 for 64-bit windows.  The build fails in the 'glue' directory when it cannot find the include file 'tsDefs.h'.  Indeed, I do not find tsDefs.h in base-3.15.2, but I do find it in base-3.14.12.2, though it seems to be deprecated there.  Here are the last few lines of the build:
> 
> cl -EHsc -GR            -DMATLAB_APP     -nologo -D__STDC__=0 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE   -Ox -GL -Oy-   -W3 -w44355        -MD -DEPICS_BUILD_DLL -DEPICS_CALL_DLL -TP  -I. -I../O.Common -I. -I. -I.. -I../../include/compiler/msvc -I../../include/os/WIN32 -I../../include -I../../../../../base/include/compiler/msvc -I../../../../../base/include/os/WIN32 -I../../../../../base/include           -I../../ezca -IC:\matlab\R2015a/extern/include    -c ../ini.cc
> ini.cc
> ..\multiEzca.h(32) : fatal error C1083: Cannot open include file: 'tsDefs.h': No such file or directory
> make[2]: Leaving directory `C:/epics/R3.15.2/extensions/src/labca_3_4_2/glue/O.windows-x64'
> make[1]: Leaving directory `C:/epics/R3.15.2/extensions/src/labca_3_4_2/glue'
> 
> I'm not sure what to do next ...
> 
> Steve Gierman
> 


Replies:
RE: building labCA on base 3.15.2, missing tsDefs.h Gierman, Stephen
References:
building labCA on base 3.15.2, missing tsDefs.h Gierman, Stephen

Navigate by Date:
Prev: building labCA on base 3.15.2, missing tsDefs.h Gierman, Stephen
Next: store data to hard disk l123173
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: building labCA on base 3.15.2, missing tsDefs.h Gierman, Stephen
Next: RE: building labCA on base 3.15.2, missing tsDefs.h Gierman, Stephen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·