about matlab/rtw (windows) on rtai
Roberto Bucher
roberto.bucher at supsi.ch
Mon Sep 5 08:24:51 CEST 2005
Hi
On Monday 05 September 2005 02:15, you wrote:
> thank you very much. yesterday, i have reinstalled the EFLTK with the
> following procedure:
>
> 1: ./configure --prefix=/usr/local --enable-xdbe --enable-opengl
> --enable-threads, this step is different with what you provided in your
> document ("./efltk.config.in --prefix=/usr/local --multithreads"), am i
> right?
> 2: ./emake
> 3: ./emake install
> 4: ./ldconfig
> 5: add the path /usr/local/lib in the file ld.so.conf with VI. I can't find
> "include ld.so.conf.d/*.conf"
First add /usr/local/lib to the "/etc/ld.so.conf" file and then apply
"/sbin/ldconfig"!
> in my file which is in your document, what's the meaning of it? is this a
> key factor?
> 6: when compile rtai, chose the correct efltk install path: /usr/local
>
> but with the above work, scope is still empty, and I can not adjust the
> parameters of the system. Couldn't do this? then what's the meaning of
> download and upload in the setting plate? Why fail?
>
The behaviour is tipical to a wrong installed Mesa and EFLTK libraries.
> when install comedi (0.7.70) and comedilib (0.7.22):
> 1) creat directory Comedi in /usr/src, and uncompress them in the new
> directory.
> 2) then go to compile rtai with make menuconfig, and set the comedilib
> path to /usr/src/Comedi/comedi-0.7.70 (the src file path of Comedi)
Aftre installing comedilib, the files are installed under /usr/local. Please
leave the default directory.
> 3) make and make install
> 4) following with the step4 in your document, but how can i solve the
> USB-DUX problem with
I have to check. It seems that if the USB is not checked in the kernel file,
the USB-DUX will not be compiled.
> comedi?
> thank you!
> regards,
> wicky
>
Regards
Roberto
> On 9/5/05, Roberto Bucher <roberto.bucher at supsi.ch> wrote:
> > Hi
> >
> > On Sunday 04 September 2005 02:56, you wrote:
> > > thank you, i have read that document, but in that document, the step4
> > > is installing comedi and comedilib, while the step5 is installing rtai,
> >
> > what's
> >
> > > the matter?
> > > when i try the procedure of that pdf document, the following messages
> > > appear:
> > > [root at localhost comedi-0.7.70]# sh autogen.sh
> > >
> > > configure.ac:4 <http://configure.ac:4> <http://configure.ac:4/>:
> >
> > `automake requires
> >
> > > `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
> > > comedi/drivers/Makefile.am:73: CONFIG_USB does not appear in
> >
> > AM_CONDITIONAL
> >
> > > autoreconf: automake failed with exit status: 1
> >
> > One of the Comedi drivers is for the USB-DUX card. the system checks if
> > the
> > usb system is configured in the kernel.
> >
> > > [root at localhost comedi-0.7.70]#
> > > when i just run ./configure, the following messages appear:
> > > ...
> > > checking Linux config option CONFIG_ADEOS... yes
> > > checking RTAI directory /usr/realtime... configure: error: incorrect
> >
> > RTAI
> >
> > > directory?
> >
> > You need first intall RTAI and then the system checks if the
> > directory /usr/realtime exists. You can pass another directory using
> >
> > ./configure --with-rtaidir=<DIR>
> >
> > > it seems to find rtai directory, but according to the document, i have
> >
> > not
> >
> > > installed rtai now
> > > should i following you last email:
> > >
> > > 1: install rtai first, but don't tick comedi support
> > > 2: install comedi and comedilib
> > > 3: config rtai again, chose comedi support
> > > am i right?
> >
> > Yes! We are correcting the document with these configuration steps.
> >
> > > thank you
> > > regards,
> > > wicky
> > > thank you
> >
> > Regards
> >
> > Roberto
> >
> > > regards,
> > > wicky
> > >
> > > On 9/3/05, Roberto Bucher <roberto.bucher at supsi.ch> wrote:
> > > > Firt you have to install rtai, then comedi and as last comedi for
> >
> > rtai.
> >
> > > > Please
> > > > give a look at the document "scilab-howto" under
> > > >
> > > > www.dti.supsi.ch/~bucher/scilab.html<http://www.dti.supsi.ch/~bucher/
> > > >scilab.html>
> >
> > <http://www.dti.supsi.ch/~bucher/scil
> >
> > > >ab.html> .
> > > >
> > > > regards
> > > >
> > > > Roberto
> > > >
> > > > On Saturday 03 September 2005 02:27, you wrote:
> > > > > thank you, i'll try to reinstall the efltk and mesalib.
> > > > >
> > > > > what about the 3rd problem, i saw others say that rtai should be
> > > >
> > > > installed
> > > >
> > > > > first, but when i compile rtai, there is an option named comedi
> > > > > support, what should i do with this option while the comedi isn't
> > > > > installed yet?
> > > > >
> > > > > thanks
> > > > >
> > > > > regards,
> > > > >
> > > > > wicky
> > > > > ----- Original Message -----
> > > > > From: "Roberto Bucher" <roberto.bucher at supsi.ch>
> > > > > To: "wicky.zhang" <wicky.zhang at gmail.com>
> > > > > Cc: <rtai at rtai.org>
> > > > > Sent: Friday, September 02, 2005 11:30 PM
> > > > > Subject: Re: about matlab/rtw (windows) on rtai
> > > > >
> > > > > > It seems that you don't have the right efltk libraries. Please
> > > > > > get
> > > >
> > > > them
> > > >
> > > > > > from CVS
> > > > > > following the rtailab README file
> > > > > >
> > > > > > Roberto
> > > > > >
> > > > > > Quoting "wicky.zhang" <wicky.zhang at gmail.com>:
> > > > > >> hi, all
> > > > > >>
> > > > > >> recently, i have succesfully do the work about generating code
> > > > > >> to
> > > >
> > > > rtai
> > > >
> > > > > >> from rtw in windows, the test.mdl runs, but i have still the
> > > >
> > > > following
> > > >
> > > > > >> problem:
> > > > > >>
> > > > > >> 1: version used
> > > > > >>
> > > > > >> matlab 7.0.1 release14
> > > > > >> mesalib v 6.3.2
> > > > > >> efltk v 2.0.5
> > > > > >> kernel v 2.4.27
> > > > > >> rtai v 3.2
> > > > > >> comedilib v 0.7.22
> > > > > >> comedi v 0.7.70
> > > > > >>
> > > > > >> 2: i generated the code of test.mdl, return to linux, use make
> > > > > >> -f test.mk <http://test.mk> <http://test.mk>, then run ./test
> > > > > >> after
> >
> > insert some rtai
> >
> > > > modules. then start
> > > >
> > > > > >> xrtailab, i can see the led blinking and the meter value, every
> > > > > >> thing seems ok except the scope, there is nothing. why?
> > > > > >>
> > > > > >> 3: i don't know the installation sequence between comedi and
> >
> > rtai.
> >
> > > > when
> > > >
> > > > > >> i compile rtai first, tick comedi support, it shows error
> > > > > >> because the lack of comedi and vice versa.
> > > > > >>
> > > > > >> i am really confused.
> > > > > >>
> > > > > >> thank you all
> > > > > >>
> > > > > >> regards,
> > > > > >>
> > > > > >> wicky
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > This message was sent using IMP, the Internet Messaging Program.
> > > > >
> > > > > _______________________________________________
> > > > > RTAI mailing list
> > > > > RTAI at rtai.org
> > > > > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
More information about the Rtai
mailing list