<div dir="ltr"><div><div><div>Hi Pablo,<br><br></div>Thanks for helping me out... i installed the libportaudio-dev package,facing a new error again....<br><br>root@SCADTPC:/usr/lib/hart/hart_0.4.6#<b> dpkg -L libportaudio-dev</b><br>/.<br>/usr<br>/usr/lib<br>/usr/lib/libportaudio.a<br>/usr/lib/<a href="http://libportaudio.la">libportaudio.la</a><br>/usr/include<br>/usr/include/portaudio.h<br>/usr/share<br>/usr/share/doc<br>/usr/share/doc/libportaudio-dev<br>/usr/share/doc/libportaudio-dev/copyright<br>/usr/share/doc/libportaudio-dev/changelog.Debian.gz<br>/usr/lib/libportaudio.so<br><br>root@SCADTPC:/usr/lib/hart/hart_0.4.6# <b>dpkg -l libportaudio-dev</b><br>Desired=Unknown/Install/Remove/Purge/Hold<br>| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br>||/ Name                           Version              Architecture         Description<br>+++-==============================-====================-====================-=================================================================<br>ii  libportaudio-dev               18.1-7.1             i386                 Portable audio I/O - development files<br>root@SCADTPC:/usr/lib/hart/hart_0.4.6# <br><br><br>root@SCADTPC:/usr/lib/hart/hart_0.4.6# <b>make</b><br>echo "execute builder.sce in scilab"<br>execute builder.sce in scilab<br>/usr/bin/scilab -nw -nb -f prepare_toolbox.sce;<br>libEGL warning: failed to create a pipe screen for i965<br>-- Creation of [baselib] (Macros) --<br>genlib: Processing file: copynewerfile.sci<br>genlib: Processing file: guimaker.sci<br>genlib: Processing file: hart_edit_scicosblock.sci<br>genlib: Processing file: hart_module_creator.sci<br>genlib: Processing file: help_from_scicosblock.sci<br>genlib: Processing file: inputui.sci<br>genlib: Regenerate names and lib<br> <br> Build modules   <br> <br> Preparing module: RTAI   <br> <br> Error in comedi module! Could not found libcomedi.so!   <br> <br> Not able to build module: comedi   <br> <br> Not able to build module: daqmx   <br> <br> Preparing module: hart_base   <br> <br> Preparing module: portaudio   <br> <br> rtpreempt-module will not build, as RTAI is installed! But it is possible to use rtpreempt codegeneration besides RTAI!   <br> <br> Not able to build module: rtpreempt   <br>/usr/bin/scilab -nw -nb -f builder.sce;<br>libEGL warning: failed to create a pipe screen for i965<br>Building macros...<br>-- Creation of [baselib] (Macros) --<br>genlib: Processing file: copynewerfile.sci<br>genlib: Processing file: guimaker.sci<br>genlib: Processing file: hart_edit_scicosblock.sci<br>genlib: Processing file: hart_module_creator.sci<br>genlib: Processing file: help_from_scicosblock.sci<br>genlib: Processing file: inputui.sci<br>genlib: Regenerate names and lib<br>-- Creation of [RtaiCodeGenlib] (Macros) --<br>-- Creation of [RTAIlib] (Macros) --<br>Building blocks...<br>-- Creation of [hart_baselib] (Macros) --<br>Building blocks...<br>-- Creation of [portaudiolib] (Macros) --<br>Building blocks...<br>Building sources...<br>   Generate a loader file<br>   Generate a Makefile<br>   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR<br>   ilib_gen_Make: Copy getstr.c to TMPDIR<br>   ilib_gen_Make: Copy serial_linux.cpp to TMPDIR<br>   ilib_gen_Make: Copy rtai_sinus.c to TMPDIR<br>   ilib_gen_Make: Copy rtai_square.c to TMPDIR<br>   ilib_gen_Make: Copy rtai_step.c to TMPDIR<br>   ilib_gen_Make: Copy hart_soft_realtime.c to TMPDIR<br>   ilib_gen_Make: Copy hart_par2ser.c to TMPDIR<br>   ilib_gen_Make: Copy hart_ser2par.c to TMPDIR<br>   ilib_gen_Make: Copy iir_filter.c to TMPDIR<br>   ilib_gen_Make: Copy hart_filtfilt.c to TMPDIR<br>   ilib_gen_Make: Copy hart_socket.c to TMPDIR<br>   ilib_gen_Make: Copy hart_socketin.c to TMPDIR<br>   ilib_gen_Make: Copy hart_flagtest.c to TMPDIR<br>   ilib_gen_Make: Copy hart_portaudio_in.c to TMPDIR<br>   ilib_gen_Make: Copy hart_portaudio_out.c to TMPDIR<br>   ilib_gen_Make: configure : Generate Makefile.<br>   ilib_gen_Make: Modification of the Makefile in TMPDIR.<br>   Running the Makefile<br><b> !--error 10000 <br>ilib_compile: An error occurred during the compilation:</b><br>hart_par2ser.c: In function 'init':<br>hart_par2ser.c:43:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>                 printf("par2ser: ipar error\n");<br>                 ^<br>hart_ser2par.c: In function 'init':<br>hart_ser2par.c:43:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>   printf("ser2par: ipar error\n");<br>   ^<br>iir_filter.c: In function 'dumpIIRfiltToFile':<br>iir_filter.c:628:3: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=]<br>   fprintf(fid, "# %s", ctime(&now));<br>   ^<br>hart_flagtest.c: In function 'init':<br>hart_flagtest.c:35:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>   printf("Flag 4: initalisation, t=%f\n",get_scicos_time());<br>   ^<br>hart_flagtest.c:35:3: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]<br>hart_flagtest.c: In function 'state':<br>hart_flagtest.c:62:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf("Flag 0: update state, step=%d, t=%f\n",comdev->step,comdev->time);<br>      ^<br>hart_flagtest.c: In function 'in':<br>hart_flagtest.c:69:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf(" Flag 2 ");<br>      ^<br>hart_flagtest.c: In function 'inout':<br>hart_flagtest.c:83:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf("Flag 1: update output, step=%d, t=%f\n",comdev->step,comdev->time);<br>      ^<br>hart_flagtest.c: In function 'eventout':<br>hart_flagtest.c:104:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf("Flag 3: update event output, step=%d, t=%f\n",comdev->step,comdev->time);<br>      ^<br>hart_flagtest.c: In function 'end':<br>hart_flagtest.c:118:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>   printf("Flag 4: ending, step=%d, t=%f\n",comdev->step,comdev->time);<br>   ^<br>hart_portaudio_in.c:45:5: error: unknown type name 'PaStreamParameters'<br>     PaStreamParameters  inputParameters;<br>     ^<br>hart_portaudio_in.c:46:5: error: unknown type name 'PaStreamParameters'<br>     PaStreamParameters            outputParameters;<br>     ^<br>hart_portaudio_in.c:60:28: error: unknown type name 'PaStreamCallbackTimeInfo'<br>                            const PaStreamCallbackTimeInfo* timeInfo,<br>                            ^<br>hart_portaudio_in.c:61:28: error: unknown type name 'PaStreamCallbackFlags'<br>                            PaStreamCallbackFlags statusFlags,<br>                            ^<br>hart_portaudio_in.c: In function 'init':<br>hart_portaudio_in.c:175:28: error: request for member 'device' in something not a structure or union<br>     comdev->inputParameters.device = Pa_GetDefaultInputDevice(); /* default input device */<br>                            ^<br>hart_portaudio_in.c:176:32: error: request for member 'device' in something not a structure or union<br>     if (comdev->inputParameters.device == paNoDevice) {<br>                                ^<br>hart_portaudio_in.c:184:28: error: request for member 'channelCount' in something not a structure or union<br>     comdev->inputParameters.channelCount = comdev->channels;                    /* stereo input */<br>                            ^<br>hart_portaudio_in.c:185:28: error: request for member 'sampleFormat' in something not a structure or union<br>     comdev->inputParameters.sampleFormat = PA_SAMPLE_TYPE;<br>                            ^<br>hart_portaudio_in.c:186:28: error: request for member 'suggestedLatency' in something not a structure or union<br>     comdev->inputParameters.suggestedLatency = Pa_GetDeviceInfo( comdev->inputParameters.device )->defaultLowInputLatency;<br>                            ^<br>hart_portaudio_in.c:186:89: error: request for member 'device' in something not a structure or union<br>     comdev->inputParameters.suggestedLatency = Pa_at line     129 of function ilib_compile called by :  <br>at line      94 of function ilib_for_link called by :  <br>at line      28 of function tbx_build_src called by :  <br>tbx_build_src(names, files, 'c', src_c_path ,libs,ldflags,cflags,fflags,cc,libname);<br>at line      24 of exec file called by :    <br><br>at line      13 of function tbx_builder called by :  <br>at line      49 of function tbx_builder_src_lang called by :  <br>tbx_builder_src_lang('c', src_dir);<br>at line       3 of exec file called by :    dpkg -l libportaudio-dev<br><br>at line      13 of function tbx_builder called by :  <br>at line      32 of function tbx_builder_src called by :  <br>tbx_builder_src(toolbox_dir);<br>at line      18 of exec file called by :    <br>exec('SCI/etc/scilab.start',-1);;exec('builder.sce',-1)<br> <br> <br>--><br><br></div>Thank you...waiting for u r reply...<br><br></div>regards | Jegan<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 19, 2014 at 12:46 AM, Pablo Fonovich <span dir="ltr"><<a href="mailto:pablo_f_7@hotmail.com" target="_blank">pablo_f_7@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">I think the exact command was:<div>"<span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13px;background-color:rgb(255,255,255)">apt-get install libportaudio-dev"</span></div><div><font color="#222222" face="Arial, Helvetica, sans-serif">Try it and tell me<br></font><br><div><span class=""><hr>Date: Thu, 18 Sep 2014 20:59:30 +0530<br>From: <a href="mailto:ecejegan@gmail.com" target="_blank">ecejegan@gmail.com</a><br>To: <a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br>Subject: [Scilab-users] Fwd: Error installing HART toolbox in ubuntu14.04 LTS<br><br></span><div><div class="h5"><div dir="ltr"><br><div><div dir="ltr"><div><div>Hi,<br><br>I am trying to install HART toolbox on ubuntu14.04LTS.<br><br>I just followed the instalation procedure from <a href="http://hart.sourceforge.net/rtai/installation_14_04_64bit_woc.html" target="_blank">http://hart.sourceforge.net/rtai/installation_14_04_64bit_woc.html</a><br><br>when i am trying to apply 'make' for the HART tool box i am getting the following error...<br><br>root@SCADTPC:/usr/lib/hart/hart_0.4.6# make<br>echo "execute builder.sce in scilab"<br>execute builder.sce in scilab<br>/usr/bin/scilab -nw -nb -f prepare_toolbox.sce;<br>libEGL warning: failed to create a pipe screen for i965<br>-- Creation of [baselib] (Macros) --<br>genlib: Processing file: copynewerfile.sci<br>genlib: Processing file: guimaker.sci<br>genlib: Processing file: hart_edit_scicosblock.sci<br>genlib: Processing file: hart_module_creator.sci<br>genlib: Processing file: help_from_scicosblock.sci<br>genlib: Processing file: inputui.sci<br>genlib: Regenerate names and lib<br> <br> Build modules   <br> <br> Preparing module: RTAI   <br> <br> Error in comedi module! Could not found libcomedi.so!   <br> <br> Not able to build module: comedi   <br> <br> Not able to build module: daqmx   <br> <br> Preparing module: hart_base   <br> <br> Preparing module: portaudio   <br> <br> rtpreempt-module will not build, as RTAI is installed! But it is possible to use rtpreempt codegeneration besides RTAI!   <br> <br> Not able to build module: rtpreempt   <br>/usr/bin/scilab -nw -nb -f builder.sce;<br>libEGL warning: failed to create a pipe screen for i965<br>Building macros...<br>-- Creation of [baselib] (Macros) --<br>genlib: Processing file: copynewerfile.sci<br>genlib: Processing file: guimaker.sci<br>genlib: Processing file: hart_edit_scicosblock.sci<br>genlib: Processing file: hart_module_creator.sci<br>genlib: Processing file: help_from_scicosblock.sci<br>genlib: Processing file: inputui.sci<br>genlib: Regenerate names and lib<br>-- Creation of [RtaiCodeGenlib] (Macros) --<br>-- Creation of [RTAIlib] (Macros) --<br>Building blocks...<br>-- Creation of [hart_baselib] (Macros) --<br>Building blocks...<br>-- Creation of [portaudiolib] (Macros) --<br>Building blocks...<br>Building sources...<br>   Generate a loader file<br>   Generate a Makefile<br>   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR<br>   ilib_gen_Make: Copy getstr.c to TMPDIR<br>   ilib_gen_Make: Copy serial_linux.cpp to TMPDIR<br>   ilib_gen_Make: Copy rtai_sinus.c to TMPDIR<br>   ilib_gen_Make: Copy rtai_square.c to TMPDIR<br>   ilib_gen_Make: Copy rtai_step.c to TMPDIR<br>   ilib_gen_Make: Copy hart_soft_realtime.c to TMPDIR<br>   ilib_gen_Make: Copy hart_par2ser.c to TMPDIR<br>   ilib_gen_Make: Copy hart_ser2par.c to TMPDIR<br>   ilib_gen_Make: Copy iir_filter.c to TMPDIR<br>   ilib_gen_Make: Copy hart_filtfilt.c to TMPDIR<br>   ilib_gen_Make: Copy hart_socket.c to TMPDIR<br>   ilib_gen_Make: Copy hart_socketin.c to TMPDIR<br>   ilib_gen_Make: Copy hart_flagtest.c to TMPDIR<br>   ilib_gen_Make: Copy hart_portaudio_in.c to TMPDIR<br>   ilib_gen_Make: Copy hart_portaudio_out.c to TMPDIR<br>   ilib_gen_Make: configure : Generate Makefile.<br>   ilib_gen_Make: Modification of the Makefile in TMPDIR.<br>   Running the Makefile<br> !--error 10000 <br>ilib_compile: An error occurred during the compilation:<br>hart_par2ser.c: In function 'init':<br>hart_par2ser.c:43:17: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>                 printf("par2ser: ipar error\n");<br>                 ^<br>hart_ser2par.c: In function 'init':<br>hart_ser2par.c:43:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>   printf("ser2par: ipar error\n");<br>   ^<br>iir_filter.c: In function 'dumpIIRfiltToFile':<br>iir_filter.c:628:3: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=]<br>   fprintf(fid, "# %s", ctime(&now));<br>   ^<br>hart_flagtest.c: In function 'init':<br>hart_flagtest.c:35:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>   printf("Flag 4: initalisation, t=%f\n",get_scicos_time());<br>   ^<br>hart_flagtest.c:35:3: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]<br>hart_flagtest.c: In function 'state':<br>hart_flagtest.c:62:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf("Flag 0: update state, step=%d, t=%f\n",comdev->step,comdev->time);<br>      ^<br>hart_flagtest.c: In function 'in':<br>hart_flagtest.c:69:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf(" Flag 2 ");<br>      ^<br>hart_flagtest.c: In function 'inout':<br>hart_flagtest.c:83:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf("Flag 1: update output, step=%d, t=%f\n",comdev->step,comdev->time);<br>      ^<br>hart_flagtest.c: In function 'eventout':<br>hart_flagtest.c:104:6: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>      printf("Flag 3: update event output, step=%d, t=%f\n",comdev->step,comdev->time);<br>      ^<br>hart_flagtest.c: In function 'end':<br>hart_flagtest.c:118:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]<br>   printf("Flag 4: ending, step=%d, t=%f\n",comdev->step,comdev->time);<br>   ^<br>hart_portaudio_in.c:3:23: fatal error: portaudio.h: No such file or directory<br> #include "portaudio.h"<br>                       ^<br>compilation terminated.<br>make[1]: *** [hart_portaudio_in.lo] Error 1<br>ilib_compile: The command was:<br>make  CFLAGS=" -D__SCILAB_TOOLBOX__ -I/usr/share/scilab//../../include/scilab/ -I/usr/share/scilab//../../include/   -I/usr/lib/hart/hart_0.4.6/src/c/  -I/usr/lib/hart/hart_0.4.6/src/c/../../includes  -I/usr/share/scilab//../../include/scilab/scicos/ -I/usr/share/scilab//../../include/scilab/scicos_blocks/ -I/usr/share/scilab//../../include/scilab/ -D_TTY_POSIX_  " CXXFLAGS=" -D__SCILAB_TOOLBOX__ -I/usr/share/scilab//../../include/scilab/ -I/usr/share/scilab//../../include/   -I/usr/lib/hart/hart_0.4.6/src/c/  -I/usr/lib/hart/hart_0.4.6/src/c/../../includes  -I/usr/share/scilab//../../include/scilab/scicos/ -I/usr/share/scilab//../../include/scilab/scicos_blocks/ -I/usr/share/scilab//../../include/scilab/ -D_TTY_POSIX_  " LDFLAGS="-lpthread -lstdc++ -lm  -lportaudio " FFLAGS="-I/usr/share/scilab//../../include/scilab/ "<br>at line     129 of function ilib_compile called by :  <br>at line      94 of function ilib_for_link called by :  <br>at line      28 of function tbx_build_src called by :  <br>tbx_build_src(names, files, 'c', src_c_path ,libs,ldflags,cflags,fflags,cc,libname);<br>at line      24 of exec file called by :    <br><br>at line      13 of function tbx_builder called by :  <br>at line      49 of function tbx_builder_src_lang called by :  <br>tbx_builder_src_lang('c', src_dir);<br>at line       3 of exec file called by :    <br><br>at line      13 of function tbx_builder called by :  <br>at line      32 of function tbx_builder_src called by :  <br>tbx_builder_src(toolbox_dir);<br>at line      18 of exec file called by :    <br>exec('SCI/etc/scilab.start',-1);;exec('builder.sce',-1)<br> <br> <br>--><br><br><br>Kindly let me know if i am missing anything....Anybody can please help..<br><br></div> Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">Jegan<br></font></span></div>
</div><br></div>
<br></div></div><span class="">_______________________________________________
users mailing list
<a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a></span></div></div>                                          </div></div>
<br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>