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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: How to configurate MCA for Octave |
From: | Hulusi Öz <[email protected]> |
To: | [email protected], [email protected] |
Date: | Sat, 23 Jul 2016 02:43:08 +0300 |
I just figured it out by adding "savepath" command after each of path command at the previous command.But still I'm getting error about mca.mex. I guess ,again, I couldn't build MCA extension in terms of mex file. I run the script (buildForOctave.sh) and after that, I run make. I've got this error :%-----------%mex -v -I/opt/epics/base/include -I/opt/epics/base/include/os/Linux -DEPICS_DLL_NO -L/opt/epics/base/lib/linux-x86_64 -ldbStaticHost -lCom -lca mca.cpp MCAError.cpp Channel.cpp -o O.linux-x86_64/mca.mexglxmake: mex: Command not foundMakefile:66: recipe for target 'O.linux-x86_64/mca.mexglx' failedmake: *** [O.linux-x86_64/mca.mexglx] Error 127%-----------%Thanks in advance..Best Regards..2016-07-23 1:29 GMT+03:00 Hulusi Öz <[email protected]>:Thank you so much sir.. It works fine.The things that I've done so far since yesterday are :1) I managed to build MCA extension for Octave properly.2) Now,I can run the examples.3) But, I think ,I miss something about editing path for octave for mcaget,mcaput.. commands,because Octave doesn't see those commands. But I had done it by doing that in Octave :
path(path(), [getenv("opt") "/opt/epics/extensions/lib/" getenv("linux-x86_64")]); path(path(), [getenv("opt") "/opt/extensions/src/mca/matlab"]); 2016-07-23 1:06 GMT+03:00 Eric Norum <[email protected]>:Once you have your PATH set properly you should need to type onlymakeBaseApp.pl …….since that script is in the EPICS base bin.On Jul 22, 2016, at 3:01 PM, Hulusi Öz <[email protected]> wrote:
1) I make an IOC example with"../../../makeBaseApp -t example example""../../../makeBaseApp -i -t example example"I've got the same result as the same with Eric Norum's.--
Eric Norum
[email protected]