addinter: Unknown error depending on scilab build

classic Classic list List threaded Threaded
3 messages Options
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

addinter: Unknown error depending on scilab build

This post has NOT been accepted by the mailing list yet.
Hi,

I have built two gateway functions and linked them into a dll on Windows 7, 64 bit (and on Linux, but there I don't have the problem) using the templates from the toolbox_skeleton in Scilab 6.

I did the original build on a pre-final 6.0 nightly build of scilab (scilab-master-1480961885 (64-bit)). In this instance of scilab, loading the libraries with the loader.sce script generated by the build.sce script works perfectly. However, on other installations (on the same computer!), e.g. the Scilab 6.0.0 release version or the most recent nightly build (scilab-master-1498551541 (64-bit)), which I installed in parallel, I get an error when executing the addinter function (see line 21 of  attached loader.sce file). The output of loader.sce is:

 Loading wautocov library...
at line    21 of executed file D:\Scilab-scripts\loader.sce

addinter: das gemeinsame Archiv wurde nicht geladen: Unknown Error
(Translation: addinter: The shared archive was not loaded: Unknown Error.)

I have already posted a bug report regarding a similar error several months ago (https://bugzilla.scilab.org/show_bug.cgi?id=14974), unfortunately without any reaction from anybody. Here I found a post with a similar error, but I do not think that the issue is due to missing .NET runtime libraries or siilar, because it works / doesn't work on different parallel scilab builds on the same computer.

Any help is appreciated.

loader.sce
E_Ben E_Ben
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: addinter: Unknown error depending on scilab build

I analysed my dlls in dependency walker, and it seems that some scilab dlls cannot be found (see screenshot attached below, the dll names are: ast.dll, libintl.dll, output_stream.dll). They are actually located in the SCI/bin folder. When I copy them into the folder where my dll is, still many dependent dlls also located in SCI/bin are not found by dependency walker.
So, it seems that the scilab installations on which the dll can be loaded find the scilab dlls in SCI/bin, but those which cause an error don't find them. Any ideas what I can do instead of copying all dlls from the SCI/bin folder to the folder where my dll is?

depwalk.png
Antoine ELIAS-2 Antoine ELIAS-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: addinter: Unknown error depending on scilab build

Hello Erik,

SCI/bin is in library path when Scilab is running but DW can not know that.
Please, do not copy Scilab dlls in your dll path, Scilab dlls have
another dependencies that can not be resolved.

Can you explain us your initial trouble ?

Antoine
Le 29/06/2017 à 12:55, E_Ben a écrit :

> I analysed my dlls in dependency walker, and it seems that some scilab dlls
> cannot be found (see screenshot attached below, the dll names are: ast.dll,
> libintl.dll, output_stream.dll). They are actually located in the SCI/bin
> folder. When I copy them into the folder where my dll is, still many
> dependent dlls also located in SCI/bin are not found by dependency walker.
> So, it seems that the scilab installations on which the dll can be loaded
> find the scilab dlls in SCI/bin, but those which cause an error don't find
> them. Any ideas what I can do instead of copying all dlls from the SCI/bin
> folder to the folder where my dll is?
>
> depwalk.png <http://mailinglists.scilab.org/file/n4036706/depwalk.png>
>
>
>
>
> --
> View this message in context: http://mailinglists.scilab.org/addinter-Unknown-error-depending-on-scilab-build-tp4036699p4036706.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [hidden email]
> http://lists.scilab.org/mailman/listinfo/users

_______________________________________________
users mailing list
[hidden email]
http://lists.scilab.org/mailman/listinfo/users
Loading...