<div dir="ltr"><div><div>Hello everyone,<br><br></div>I was trying to run <a href="http://www.swig.org/Doc3.0/Scilab.html#Scilab_wrapping_cpp_classes" target="_blank">this</a> 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:<br><br>$ swig -scilab -c++ classes.i<br>$ g++ -fPIC -c -I/usr/local/include/scilabĀ  classes_wrap.cxx<br>$ g++ -shared classes_wrap.o -o libclasses.so<br><br><br>The error shown in scilab was the following : <br><a href="https://codepaste.net/o1ziok" target="_blank">https://codepaste.net/o1ziok</a><br></div><div>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. <br></div><div><br>It would be great if someone can help me with this. <br><br>Thanks<br></div>Aashay<br></div>