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  2015  2016  2017  <20182019  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  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Telling gcc the location of EPICS
From: renato sanhueza <[email protected]>
To: [email protected]
Date: Sun, 7 Jan 2018 12:04:09 -0500
Hi,

This is probably a newbie question. I have built EPICS base and EPICS 4.6.0 modules following the instructions in the README files. But I notice that gcc doesn't know where the headers are. The linker doesn't know either. So when I compile a program using pv/pvAccess I get an error (of course). I found that I can add the paths to  $CPLUS_INCLUDE_PATH and $LD_LIBRARY_PATH manually for fixing the errors.

Is there a more practical way to do it?

The path to my EPICS base is: /opt/epics/base
The path to EPICS v4 modules is: /opt/epics/EPICS-CPP-4.6.0

But if I want to compile a program I will have to add many subdirectories of the previously mentioned directories manually.

Best regards,
--
Renato Sanhueza Ulsen
Ing Civil Informática.

Replies:
Re: Telling gcc the location of EPICS Mark Rivers

Navigate by Date:
Prev: Re: Build pvaPy for Python 3 renato sanhueza
Next: Re: Telling gcc the location of EPICS Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: VisualDCT 2.7.0 released (for Base 3.16 and EPICS 7) Ralph Lange
Next: Re: Telling gcc the location of EPICS Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 07 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·