Menu

#27 Windows Beta Not Working

Windows
open-postponed
nobody
None
7
2014-08-18
2006-06-14
Anonymous
No

Running Windows XP with all updates. Installed Scilab
4.0 and then SIP 0.4 Windows Beta. Started Scilab and
selected "toolboxes-->siptoolbox". Received the
following output:

// generated by builder.sce: Please do not edit this file

-->//
------------------------------------------------------

-->libsip_path=get_file_path('loader.sce');

-->// load the run-time dlls of ImageMagick

-->ImageMagickPath=libsip_path+'lib\';

-->link(ImageMagickPath + 'CORE_RL_bzlib_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_jbig_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_jpeg_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_lcms_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_libxml_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_xlib_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_zlib_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_png_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_tiff_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_ttf_.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'mfc71.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'msvcp71.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'msvcr71.dll');
shared archive loaded
Link done

-->link(ImageMagickPath + 'CORE_RL_magick_.dll');
link failed for dll
C:\PROGRA~1\scilab-4.0\contrib\siptoolbox\lib\CORE_RL_magick_.dll
link(ImageMagickPath + 'CORE_RL_magick_.dll');
!--error 236
link: the shared archive was not loaded
at line 21 of exec file called by :
exec("C:\PROGRA~1\scilab-4.0\contrib\siptoolbox/loader.sce")
in execstr instruction called by :
execstr(toolboxes(1))
while executing a callback

Discussion

  • Nobody/Anonymous

    Logged In: NO

    The same here. What was the point of releasing something
    completely not working?

     
  • Nobody/Anonymous

    Logged In: NO

    I have added to PATH folder /lib and all it's subfolders and
    it worked. The disadvantage is that you cannot use another
    version ImageMagick. And it doesn't work with the newest one
    - so you have to use the one from the installer.

     
  • John Chain

    John Chain - 2006-08-24

    Logged In: YES
    user_id=1253882

    Hi, there

    I'm SIP Windows maintainer. The reason that I packaged all
    the libraries of ImageMagick into the SIP installer is that
    I want to descrease the size of the installer. So SIP users
    need not to download whole ImageMagick(6.5M) from
    www.imagemagick.org.

    Since the function interfaces of ImageMagick varies between
    versions. So using the latest ImageMagick may not a good
    idea. But I'll try to catch up with the latest version of
    ImageMagick.

    Thank your suport for SIP

    Zhang Cheng

     
  • John Chain

    John Chain - 2006-08-24

    Logged In: YES
    user_id=1253882

    Put <your_scilab_path>\contrib\siptoolbox\lib into your
    PATH variable will solve the loading error. I will fix the
    bug soon.

     
  • Nobody/Anonymous

    Logged In: NO

    I fixed this. You have to add extra link commands in the
    loader.sce file BEFORE the offending line:
    ...
    link(ImageMagickPath + 'CORE_RL_magick_.dll');

    Here is how it should read:
    ...
    link(ImageMagickPath + 'X11.dll');
    link(ImageMagickPath + 'xext.dll');
    link(ImageMagickPath + 'CORE_RL_magick_.dll');

    Im having memory problems now but I think increasing the
    stacksize will fix this. Still testing...

    contact: linoleum13 at gmail dot com

     
  • Nobody/Anonymous

    Logged In: NO

    I'd like to comment on "What was the point of releasing
    something completely not working?"

    It is BETA. You have loaded a test version of the software.
    You test things to see if they work. If King William of
    Redmond did not have proprietary hidden hooks in Windows,
    then it probably would work on all machines if it worked on
    one...but even with open source Linux that doesn't always
    work. That is why you submit software to public test.

    If we had a closed system like a TI-99/4 verification on one
    machine would probably work on all. But, even then somebody
    might write a piece of code that uses something they aren't
    supposed to. And, then you install a properly written code
    and it doesn't work. Is it the new code or the old code
    that is at fault.

    It worked on the author's machine. Or, he wouldn't have put
    it in Beta Test.

     
  • Nobody/Anonymous

    Logged In: NO

    I inserted the patch and my last few lines after -->

    are:

    exec(libsip_path_=get_file_path('loader.sce');
    exec(libsip_path_=get_file_path('loader.sce');
    !--error 40
    waiting for end of command
    at line 51 of exec file called by :
    exec("C:\PROGRA~1\SCILAB~2.0-R\contrib\siptoolbox/loader.sce")
    in execstr instruction called by :
    execstr(toolboxes(1))
    while executing a callback

    I don't have version 2.0, I have version 4.0. I have
    removed all old scilabs from my system and I still get the
    2.0 message. Is it me or is it Microsoft?

     
  • Nobody/Anonymous

    Logged In: NO

    Found --error 40 (waiting for end of command)

    no closed pharen on
    exec(libsip_path_=get_file_path('loader.sce');

    Added it.

    Cannot find cause of
    --error 241 (file %s does not exist or read access denied)
    WIndows doesn't deny read access unless there is a sharing
    violation. By pasting the value of "libsip_path" in windows
    explorer, the appropriate folder opens and i can see loader.sce

    SourceForge doesn't like my login.

     
  • Nobody/Anonymous

    Logged In: NO

    Added two line patch Date: 2006-09-11 08:52 and all was well. XP SP2 and all updates, scilab 4.1.2. Used beta Windows installer. Used full pathname in exec to reach the sip loader.sce. All demos ran. Impressive! -bob

     
  • Ricardo Fabbri

    Ricardo Fabbri - 2008-02-09
    • priority: 5 --> 7
     
  • Ricardo Fabbri

    Ricardo Fabbri - 2008-02-09

    Logged In: YES
    user_id=656668
    Originator: NO

    Nice, I will test this when I have some time and update the package.

     
  • Ricardo Fabbri

    Ricardo Fabbri - 2009-03-29
    • status: open --> open-postponed
     
  • Ricardo Fabbri

    Ricardo Fabbri - 2009-03-29
    • milestone: --> Windows
     

Log in to post a comment.