[Scilab-Dev] Problem in wrapping classes for Scilab using SWIG

Simon Marchetto simon.marchetto at esi-group.com
Tue May 30 15:36:56 CEST 2017


Hello,

The issue is confirmed:

https://github.com/swig/swig/issues/994

The fix will be commited soon.

Please report any problem on Github next time, or on SWIG mailing lists, 
as you already did for other issues.

Thanks for your contribution.

Simon Marchetto


Le 29/05/2017 à 10:48, Aashay Singhal a écrit :
> Hello everyone,
>
> I was trying to run this 
> <http://www.swig.org/Doc3.0/Scilab.html#Scilab_wrapping_cpp_classes> 
> example. I wrote the exact code as given in the example and changed 
> the module name to 'classes'. But I wasn't able to load the shared 
> library in scilab. The commands I ran were:
>
> $ swig -scilab -c++ classes.i
> $ g++ -fPIC -c -I/usr/local/include/scilab  classes_wrap.cxx
> $ g++ -shared classes_wrap.o -o libclasses.so
>
>
> The error shown in scilab was the following :
> https://codepaste.net/o1ziok
> Also, among the examples that are already given with SWIG, 5 of them 
> are giving same error. I am not sure if this a problem on Scilab side 
> or SWIG side.
>
> It would be great if someone can help me with this.
>
> Thanks
> Aashay
>
>
> _______________________________________________
> dev mailing list
> dev at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170530/f0cf5655/attachment.htm>


More information about the dev mailing list