<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 28/02/2018 à 17:43, Samuel Gougeon a
écrit :<br>
</div>
<blockquote cite="mid:737e9b80-eaf1-f33a-4ff4-b3c3c6454f33@free.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Le 28/02/2018 à 17:21, Samuel Gougeon
a écrit :<br>
</div>
<blockquote
cite="mid:e6c8c2bd-1ae9-b044-2e87-58afb18af372@free.fr"
type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<br>
On my side, with the following lib file:<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">?xml</span> <span style="color:rgb(0,0,0);">version</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">1.0</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">encoding</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">UTF-8</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">standalone</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">no</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">?</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">scilablib</span> <span style="color:rgb(0,0,0);">name</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">testlib</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">macro</span> <span style="color:rgb(0,0,0);">name</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">fun1</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(50,185,185);">file</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">fun1.bin</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">md5</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">332cdd3297cdcb56652a3399056f02ed</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">macro</span> <span style="color:rgb(0,0,0);">name</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">fun2</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(50,185,185);">file</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">fun1.bin</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">md5</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">332cdd3297cdcb56652a3399056f02ed</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(0,0,0);">scilablib</span><span style="color:rgb(92,92,92);">>
</span></pre>
it is possible to load the library, but then, first issue, only
fun2 is reported:<br>
<font size="-1"><tt>--> lib ./</tt><tt><br>
</tt><tt> ans =</tt><tt><br>
</tt><tt>Functions files location : TMPDIR\test.<br>
<br>
</tt><tt>fun2 </tt></font><br>
<br>
And then, also in this case, calling fun2(1) crashes Scilab...<br>
</blockquote>
<br>
After
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://mailinglists.scilab.org/Scilab-users-Scilab-and-hdf5-format-small-survey-tp4037711p4037721.html">http://mailinglists.scilab.org/Scilab-users-Scilab-and-hdf5-format-small-survey-tp4037711p4037721.html</a>
:<br>
<br>
When on Windows making a <b>symbolic link</b><br>
<font size="-1"><tt>--> host("mklink test2.sci test1.sci") //
mklink copy source</tt><tt><br>
</tt></font><br>
and then running genlib (=> no complain), genlib yields the
following lib file:<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">?xml</span> <span style="color:rgb(0,0,0);">version</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">1.0</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">encoding</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">UTF-8</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">standalone</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">no</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">?</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">scilablib</span> <span style="color:rgb(0,0,0);">name</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">testlib</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">macro</span> <span style="color:rgb(0,0,0);">name</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">fun2</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(50,185,185);">file</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">fun1.bin</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">md5</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">332cdd3297cdcb56652a3399056f02ed</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(0,0,0);">scilablib</span><span style="color:rgb(92,92,92);">>
</span></pre>
!<br>
Then, running fun2(1) crashes Scilab (at least this unstability
is... constant ;)<br>
Let's try making and using a hard link...<br>
</blockquote>
<br>
If in the file <i>myfun.sci</i> genlib() does not find any function
named "myfun",<br>
then genlib ignores it and add no entry to the lib file.<br>
<br>
Unless bypassing genlib(), this somewhat prevents using soft or hard
links for the targeted purpose...<br>
<br>
Samuel<br>
<br>
</body>
</html>