<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transational//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
</HEAD>
<BODY>Hello Sylvestre<br><br>your suggestions gives a different result in Eclipse / Netbeans<br><br>Eclipse gives warning messages:<br>Invoking: GCC C++ Linker<br>g++ -L/home/taiyi3/scilab-5.4.1/lib/scilab -Xlinker --no-as-needed -o "proj3"  ./main.o   -lscilab -lscicall_scilab<br>/usr/bin/ld: warning: libscigui.so.5, needed by /home/taiyi3/scilab-5.4.1/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link)<br>/usr/bin/ld: warning: libscirenderer.so.5, needed by /home/taiyi3/scilab-5.4.1/lib/scilab/libscilab.so, not found (try using -rpath or -rpath-link)<br>etc..<br>and then<br>/home/taiyi3/scilab-5.4.1/lib/scilab/libscicall_scilab.so: référence indéfinie vers Â« getNamedVarType Â»<br>/home/taiyi3/scilab-5.4.1/lib/scilab/libscicall_scilab.so: référence indéfinie vers Â« ExitScilab Â»<br><br>Setting:<br>--------------------------------------------------------------------------<br>Librairies(-l)<br>scilab<br>scicall_scilab<br><br>the Library search Path (-L) is set to<br>/home/taiyi3/scilab-5.4.1/lib/scilab<br><br>is there a solution to avoid to have to insert all the libraries in Libraries (-l)?<br><br>Thanks in advance<br>pascal<br><br><br><br><br><br>
---- Message d'origine ----<br>
>De : "Sylvestre Ledru" <sylvestre.ledru@scilab-enterprises.com><br>
>À : users@lists.scilab.org<br>
>Objet : Re: [Scilab-users] call_scilab link error (libscicore missing? in the bin folder)<br>
>Date : 06/09/2013 14:37:38 CEST<br>
><br>
>On 06/09/2013 14:28, quantparis@numericable.fr wrote:<br>
> > Hello<br>
> > <br>
> > I start to use scilab and want to use call_scilab., but I get the<br>
> > following linking problem:<br>
> > <br>
> > I downloaded and extract the following file<br>
> > scilab-5.4.1.bin.linux-x86_64.tar.gz<br>
> > execute:<br>
> > ~/scilab-5.4.1/bin/scilab<br>
> > <br>
> > then for call_scilab:<br>
> > <br>
> > according to the documentation:<br>
> > In the binary version of Scilab, CFLAGS must be set to<br>
> > /path/to/scilab/include/scilab/core/ and<br>
> > /path/to/scilab/include/scilab/call_scilab<br>
> > <br>
> > but in the downloaded file the core subdirectory is not present<br>
> > <br>
> > and according to another source:<br>
> > http://gitweb.scilab.org/?p=scilab.git;a=blob;f=scilab/Makefile.call_scilab<br>
> .am;h=b3a3b8baaa1563dc1f73cc262b97987a74605af8;hb=HEAD<br>
> > <br>
> > it seems that there are 3 lib to link:<br>
> > libscilab.so,libscicall_scilab.so et libscicore.so (this one is absent)<br>
> > <br>
> > <br>
> > so in the C++ IDE I specified the following things:<br>
> > for include:<br>
> > scilab-5.4.1/include/scilab<br>
> > for lib:<br>
> > scilab-5.4.1/lib.scilab/libscilab.so<br>
> > scilab-5.4.1/lib.scilab/libscicall_scilab.so<br>
> What is your Linux distribution ?<br>
> <br>
> Try to give this option to the linker:<br>
> --no-as-needed (or -Wl,--no-as-needed)<br>
> <br>
> Sylvestre<br>
> <br>
> _______________________________________________<br>
> users mailing list<br>
> users@lists.scilab.org<br>
> http://lists.scilab.org/mailman/listinfo/users<br>
> </BODY></HTML>