<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello Victor,<br>
<br>
your 2nd issue can be solved if the path to ecrt.h is included when
you compile your model. After you compile and install the ethercat
master, it is usually located in /opt/etherlab, so you need to
include /opt/etherlab/include as Include-directory to the compiler
and also the /opt/etherlab/lib as link-directory to the linker. You
also need to link your models to the 'ethercat' library
(/opt/etherlab/lib/libethercat.so).<br>
<br>
Regards,<br>
Jürgen<br>
<br>
<div class="moz-cite-prefix">Am 11.02.2013 11:50, schrieb
<a class="moz-txt-link-abbreviated" href="mailto:V.I.Sluiter@utwente.nl">V.I.Sluiter@utwente.nl</a>:<br>
</div>
<blockquote
cite="mid:0939EC1076EB9D40862FEB112B84B7075E108CD7@EXMBX23.ad.utwente.nl"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1086726633;
mso-list-type:hybrid;
mso-list-template-ids:-1310004654 68354065 68354073 68354075 68354063 68354073 68354075 68354063 68354073 68354075;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hello All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’m a new Etherlab user,
and trying to get an Etherlab setup working. I’ve installed
Etherlab 2, and would like to share two issues I found:<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
lang="EN-US"><span style="mso-list:Ignore">1)<span
style="font:7.0pt "Times New Roman"">
</span></span></span><!--[endif]--><span lang="EN-US">During
the installation of commoncpp I got an error ‘mkfifo not
found’. After googling a bit I found this thread:
<a moz-do-not-send="true"
href="http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2012-May/021159.html">http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2012-May/021159.html</a>
. After inserting #include <sys/stat.h> in applog.h I
could compile the sources.<o:p></o:p></span></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
lang="EN-US"><span style="mso-list:Ignore">2)<span
style="font:7.0pt "Times New Roman"">
</span></span></span><!--[endif]--><span lang="EN-US">My
other issue is not solved yet: somehow I get an error that
ecrt.h cannot be found while building my model; Have I
forgotten to install something? You can see the log here:
<a moz-do-not-send="true"
href="http://pastebin.com/apC99nCx">http://pastebin.com/apC99nCx</a>
<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
lang="EN-US">Greetings,<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
lang="EN-US">Victor</span><span
style="mso-fareast-language:NL" lang="EN"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
etherlab-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.etherlab.org/mailman/listinfo/etherlab-users">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
Dipl.-Inform. Jürgen Kunz<br>
<br>
<a href="http://www.tu-darmstadt.de">Technische Universität
Darmstadt</a><br>
<a href="http://www.sim.tu-darmstadt.de">FG Simulation,
Systemoptimierung und Robotik</a><br>
Hochschulstr. 10<br>
64289 Darmstadt<br>
<br>
Tel.: ++49 (0) 6151-16-70383<br>
Fax: ++49 (0) 6151-16-6648<br>
E-Mail: kunz(at)sim.tu-darmstadt.de<br>
Homepage: <a href="http://www.sim.tu-darmstadt.de">http://www.sim.tu-darmstadt.de</a></div>
</body>
</html>