[Scilab-users] How to link a static library

classic Classic list List threaded Threaded
1 message Options
shamikam shamikam
Reply | Threaded
Open this post in threaded view

[Scilab-users] How to link a static library


I'm building a toolbox where I have to link a static library (.a file).

I'm able to build the toolbox using exec builder.sce.

I have the following line in the .start file

link(lib_path + "/liboctave.a");

When I load the toolbox using exec loader.sce, I get the error

link: The shared archive was not loaded: liboctave.a: invalid ELF header

If I change it to link(lib_path + "/liboctave");, I get the error : cannot open shared object file: No such file or directory

How do I use link() to link a static library in the .start file?


users mailing list
[hidden email]