On Tue, Sep 24, 2013 at 12:59 PM, <[email protected]> wrote: > ** > Hello > > 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). > > I got some undefined reference for scilab functions (*) > > today, Jasper on the scilab list told me that in windows these functions > are located in > core.dll and api_scilab.dll, > > on my side I link with > ../../scilab-5.4.1/lib/scilab/libscilab.so, > ../../scilab-5.4.1/lib/scilab/libscicall_scilab.so, > > so I suppose that there is one or several missing libraries but I don't > know which ones > > for example, I don't find libscicore.so function as it is specified in > ( > http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/Makefile.call_scilab.am;h=b3a3b8baaa1563dc1f73cc262b97987a74605af8;hb=HEAD > ) > > > thanks in advance > > pascal > >
Hi Pascal, 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: -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 You could also try to recompile scilab with --enable-maintainer-mode and see if it makes a difference. Hope it helps, Regards, > >
_______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
