<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 24, 2013 at 12:59 PM, <span dir="ltr"><<a href="mailto:quantparis@numericable.fr" target="_blank">quantparis@numericable.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><u></u>
<div>Hello<br><br>Is there someone uses call_scilab (version 5.4.1) on linux? because I am always not able to link a simple example using call_scilab on linux(debian/ubuntu).<br><br>I got some undefined reference for scilab functions (*)<br>
<br>today, Jasper on the scilab list told me that in windows these functions are located in<br>core.dll and api_scilab.dll, <br><br>on my side I link with<br>../../scilab-5.4.1/lib/scilab/libscilab.so, <br>../../scilab-5.4.1/lib/scilab/libscicall_scilab.so,<br>
<br>so I suppose that there is one or several missing libraries but I don't know which ones<br><br>for example, I don't find libscicore.so function as it is specified in <br>(<a href="http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/Makefile.call_scilab.am;h=b3a3b8baaa1563dc1f73cc262b97987a74605af8;hb=HEAD" target="_blank">http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/Makefile.call_scilab.am;h=b3a3b8baaa1563dc1f73cc262b97987a74605af8;hb=HEAD</a>)<br>
<br><br>thanks in advance <br><br>pascal<br><br></div></blockquote><div><br></div><div><br></div>Hi Pascal,<br><br>I am linking scilab with a some custom code in order to create a python module. It used to work with -lscilab but recently I had to change the linker arguments to explicitely include more dependencies:<br>
<br>-Wl,--no-as-needed -lscilab -lsciapi_scilab -lscicall_scilab -lscioutput_stream -lscicore -lscilinear_algebra -lsciconsole -lscilocalization -lscipolynomials -lsciio -lscielementary_functions -lscisparse -lscihistory_manager -lscihistory_browser -lscigraphics -lscicompletion -lscifunctions -lsciboolean -lsciwindows_tools -lscitime -lscifftw -lsciintersci -lscidouble -lscicommons<br>
<br>You could also try to recompile scilab with <span style="font-family:arial,sans-serif;font-size:13px">--enable-maintainer-mode and see if it makes a difference. </span> </div><div class="gmail_quote"><br>Hope it helps,<br>
Regards,<div><span class="" style="color:rgb(0,136,0);font-family:monospace;font-size:12px;line-height:14px;white-space:pre-wrap"><br></span></div><div><span class="" style="color:rgb(0,136,0);font-family:monospace;font-size:12px;line-height:14px;white-space:pre-wrap"><br>
</span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><br></div></blockquote></div>
</div></div>