R: R: RTAI example

Garbarino Luca <[email protected]> Thu, 15 Mar 2018 10:21:21 +0000
Newsgroups gmane.linux.real-time.rtai
Message-ID <[email protected]>
--===============4120583372628888668==
Content-Language: it-IT
Content-Type: multipart/alternative;
	boundary="_000_654876085d994a78bdef833c690dccd5NTEXC01CIRAIT_"

--_000_654876085d994a78bdef833c690dccd5NTEXC01CIRAIT_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I already in the past cross-compiled under windows for linux using mingw, b=
ut I checked that some library aren't avaible under windows through mingw. =
I will try to compile under linux. I will keep you in touch.

Luca

Da: Paolo Mantegazza [mailto:[email protected]]
Inviato: mercoled=EC 14 marzo 2018 13:58
A: Garbarino Luca <[email protected]>; [email protected]
Oggetto: Re: [Rtai] RTAI example

The people I know are using (Q)RTAILab are all working under Linux.
Then, is your trouble related to the fact that you are working under Window=
$ :-)?
One of them has suggested having a look at the following link:
https://stackoverflow.com/questions/29660492/windows-equivalent-for-sys-mma=
n-h.<https://stackoverflow.com/questions/29660492/windows-equivalent-for-sy=
s-mman-h>
Paolo

On 03/14/2018 11:23 AM, Garbarino Luca wrote:
I run the *.bat file from the command windows to compile the rtai exmple an=
d i got the following error message:

C:\MatlabSaInstallation\Matlab2012b/rtw/c/rtai/rtmain.c:32:22: fatal error:=
 sys/mman.h: No such file or directory compilation terminated.
make: *** [rtmain.o] Error 1

this is the reason why I can't compile the rtai example . How can I fix the=
 problem.


Kind regards

Luca




_______________________________________________

Rtai mailing list

[email protected]<mailto:[email protected]>

https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai



--_000_654876085d994a78bdef833c690dccd5NTEXC01CIRAIT_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 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;
	color:black;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;
	color:black;}
pre
	{mso-style-priority:99;
	mso-style-link:"Preformattato HTML Carattere";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";
	color:black;}
span.StileMessaggioDiPostaElettronica17
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.PreformattatoHTMLCarattere
	{mso-style-name:"Preformattato HTML Carattere";
	mso-style-priority:99;
	mso-style-link:"Preformattato HTML";
	font-family:Consolas;
	color:black;
	mso-fareast-language:EN-US;}
span.StileMessaggioDiPostaElettronica21
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=3D"white" lang=3D"IT" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D">I alrea=
dy in the past cross-compiled under windows for linux using mingw, but I ch=
ecked that some library aren&#8217;t avaible under windows through mingw. I=
 will try to compile under linux. I will keep
 you in touch.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D">Luca<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#1F497D"><o:p>&n=
bsp;</o:p></span></p>
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"color:windowtext;mso-fareast-langu=
age:IT">Da:</span></b><span style=3D"color:windowtext;mso-fareast-language:=
IT"> Paolo Mantegazza [mailto:[email protected]]
<br>
<b>Inviato:</b> mercoled=EC 14 marzo 2018 13:58<br>
<b>A:</b> Garbarino Luca &lt;[email protected]&gt;; [email protected]<br>
<b>Oggetto:</b> Re: [Rtai] RTAI example<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">The people I know are using (Q)RTAILab are all worki=
ng under Linux.
<br>
Then, is your trouble related to the fact that you are working under Window=
$ :-)?<br>
One of them has suggested having a look at the following link:<br>
<a href=3D"https://stackoverflow.com/questions/29660492/windows-equivalent-=
for-sys-mman-h">https://stackoverflow.com/questions/29660492/windows-equiva=
lent-for-sys-mman-h.</a><br>
Paolo<br>
<br>
On 03/14/2018 11:23 AM, Garbarino Luca wrote:<span style=3D"font-size:12.0p=
t;mso-fareast-language:IT"><o:p></o:p></span></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<p class=3D"MsoNormal"><span lang=3D"EN-US">I run the *.bat file from the c=
ommand windows to compile the rtai exmple and i got the following error mes=
sage:</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">C:\MatlabSaInstallation\Matlab2=
012b/rtw/c/rtai/rtmain.c:32:22: fatal error: sys/mman.h: No such file or di=
rectory compilation terminated.</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">make: *** [rtmain.o] Error 1</s=
pan><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">this is the reason why I can&#8=
217;t compile the rtai example . How can I fix the problem.</span><o:p></o:=
p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Kind regards</span><o:p></o:p><=
/p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Luca </span><o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;font-family:&quot;Ti=
mes New Roman&quot;,serif;mso-fareast-language:IT"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Rtai mailing list<o:p></o:p></pre>
<pre><a href=3D"mailto:[email protected]">[email protected]</a><o:p></o:p></pre>
<pre><a href=3D"https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai">https:=
//mail.rtai.org/cgi-bin/mailman/listinfo/rtai</a><o:p></o:p></pre>
</blockquote>
<p><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_654876085d994a78bdef833c690dccd5NTEXC01CIRAIT_--

--===============4120583372628888668==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Rtai mailing list
[email protected]
https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
--===============4120583372628888668==--