Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#30 cant load from toolbox

Windows NT/2000/XP
open-postponed
John Chain
7
2009-03-29
2006-11-11
Anonymous
No

I install SIP for windows beta version 4.0
the SIP add to the toolbox
when I run it from the toolbox I get on SCILAB this
error.

___________________________________________
scilab-4.0

Copyright (c) 1989-2006
Consortium Scilab (INRIA, ENPC)
___________________________________________

Startup execution:
loading initial environment

-->
-->// 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

  • Logged In: NO

    I got the same error message

     
  • Logged In: NO

    Me too!
    I can not figure this out.
    If anybody knows why, please let me know. Thanks a lot!
    contact me: mlei_ose@163.com

     
  • Ricardo Fabbri
    Ricardo Fabbri
    2007-03-07

    • priority: 5 --> 7
    • assigned_to: nobody --> freevoice
     
  • Logged In: NO

    You must add fllowing line to loader.sce
    before link(ImageMagickPath + 'CORE_RL_magick_.dll'); (at leaset in Windows version)

    ----
    link(ImageMagickPath + 'X11.dll');

    So,loader.sce must be fllowing

    ----
    // 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');
    link(ImageMagickPath + 'CORE_RL_jbig_.dll');
    link(ImageMagickPath + 'CORE_RL_jpeg_.dll');
    link(ImageMagickPath + 'CORE_RL_lcms_.dll');
    link(ImageMagickPath + 'CORE_RL_libxml_.dll');
    link(ImageMagickPath + 'CORE_RL_xlib_.dll');
    link(ImageMagickPath + 'CORE_RL_zlib_.dll');
    link(ImageMagickPath + 'CORE_RL_png_.dll');
    link(ImageMagickPath + 'CORE_RL_tiff_.dll');
    link(ImageMagickPath + 'CORE_RL_ttf_.dll');
    link(ImageMagickPath + 'mfc71.dll');
    link(ImageMagickPath + 'msvcp71.dll');
    link(ImageMagickPath + 'msvcr71.dll');
    link(ImageMagickPath + 'X11.dll');
    link(ImageMagickPath + 'CORE_RL_magick_.dll');

    // load animal.dll
    link(libsip_path+'lib\libanimal.dll');

    functions=[ 'imread';
    'imwrite';
    'imfinfo';
    'imvariance';
    'sip_unwrapl_c';
    'sip_unwrapp_c';
    'mogrify';
    'edilate';
    'percol';
    'drawline';
    'skel';
    'thin';
    'bwdist';
    'watershed';
    'bwlabel';
    'rgb2hsv';
    'hsv2rgb';
    'sip_setenv';
    'sip_set_verbose';
    'sip_get_verbose';
    'hello_sip';
    ];
    addinter(libsip_path+'lib\libsip.dll','libsip',functions);
    exec(libsip_path+'loader.sce.in')

     
  • LazyScot
    LazyScot
    2007-06-01

    Logged In: YES
    user_id=1805852
    Originator: NO

    There is a missing link in the loader file. Add the line
    link(ImageMagickPath + 'X11.dll');
    before the line that is giving the error.

     
  • newjem
    newjem
    2008-01-14

    Logged In: YES
    user_id=1981481
    Originator: NO

    I found a way to bypass the error with this modification in loader.sce

    sauvechem=pwd();
    cd(ImageMagickPath);
    link(ImageMagickPath + 'CORE_RL_magick_.dll');
    cd(sauvechem);

     
  • Ricardo Fabbri
    Ricardo Fabbri
    2009-03-29

    • status: open --> open-postponed