<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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" size="2">Try it and tell me<br></font><br><div><hr id="stopSpelling">Date: Thu, 18 Sep 2014 20:59:30 +0530<br>From: ecejegan@gmail.com<br>To: users@lists.scilab.org<br>Subject: [Scilab-users] Fwd: Error installing HART toolbox in ubuntu14.04 LTS<br><br><div dir="ltr"><br><div class="ecxgmail_quote"><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 class="ecxHOEnZb"><font color="#888888"><br></font></span></div><span class="ecxHOEnZb"><font color="#888888">Jegan<br></font></span></div>
</div><br></div>
<br>_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users</div></div> </div></body>
</html>