<!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>thank you for the suggestion,<br><br>I use ubuntu 13.04<br>yesterday I installed scilab from the synaptic, ubuntu depot with the same result<br>so today I downloaded from bin from scilab.org<br><br>I have added  -Wl,--no-as-needed to the linker with the same result<br>mkdir -p dist/Debug/GNU-Linux-x86<br>g++    
 -o dist/Debug/GNU-Linux-x86/p1 build/Debug/GNU-Linux-x86/main.o 
build/Debug/GNU-Linux-x86/train1.o -L../../scilab-5.4.1/lib/scilab 
../../scilab-5.4.1/lib/scilab/libscilab.so 
../../scilab-5.4.1/lib/scilab/libscicall_scilab.so -Wl,--no-as-needed<br>../../scilab-5.4.1/lib/scilab/libscicall_scilab.so: référence indéfinie vers « com_ »<br><br>the IDE is netbeans with g++4.8.1<br><br>is there something else I have to do or check?<br><br>thanks again<br>pascal<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>