summary: (1)loading directly SIP from console: (2)loading directly IPD from console: (3)exec builder.sce in IPD/: (4)exec builder.sce in SIVP/ (5)exec builder.sce in SIPtoolbox: no error message then exec loader.sce: -------------- (1)loading directly SIP from console: link: The file C:\PROGRA~1\SCILAB~1.1\contrib\siptoolbox\lib\libsip.dll does not exist. link: The file C:\PROGRA~1\SCILAB~1.1\contrib\siptoolbox\lib\libsip.dll does not exist. addinter(libsip_path+'lib\libsip.dll','libsip',functions); !--error 236 addinter: The shared archive was not loaded: Unknown Error at line 48 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.1\contrib\siptoolbox\loader.sce"); in execstr instruction called by : ) then %oldgcbo = gcbo; end;gcbo = getcallbackobject(5);execstr(toolboxes(1));if exists("%oldgcbo") then gcbo = %oldgcbo; else clear gcbo; end while executing a callback (2)loading directly IPD from console: (seems like a problem of '/' vs. '\' in the path, but I modified \contrib\IPD\sci_gateway\cpp\loader.sce and removed '/' with no effect) IPD - Image Processing Design Toolbox 5.0 link: The file C:\PROGRA~1\SCILAB~1.1\contrib\IPD\sci_gateway\cpp\/cxcore200.dll does not exist. link(libIPD_path+'/cxcore200.dll'); !--error 236 link: The shared archive was not loaded: Unknown Error at line 5 of exec file called by : exec('loader.sce'); at line 21 of exec file called by : exec('loader_gateway.sce'); at line 311 of exec file called by : exec(root_tlbx+'etc\'+'IPD.start'); at line 12 of exec file called by : exec("C:\PROGRA~1\SCILAB~1.1\contrib\IPD\loader.sce"); in execstr instruction called by : ) then %oldgcbo = gcbo; end;gcbo = getcallbackobject(8);execstr(toolboxes(4));if exists("%oldgcbo") then gcbo = %oldgcbo; else clear gcbo; end while executing a callback (3)exec builder.sce in IPD/: (everything seems okay before) Building shared library (be patient) CloseVideoFile.cpp:18:17: IPD.h: No such file or directory CloseVideoFile.cpp: In function `int int_CloseVideoFile(char*)': CloseVideoFile.cpp:26: error: `CheckRhs' was not declared in this scope CloseVideoFile.cpp:28: error: `CheckLhs' was not declared in this scope CloseVideoFile.cpp:32: error: `NULL' was not declared in this scope CloseVideoFile.cpp:34: error: `SciErr' was not declared in this scope CloseVideoFile.cpp:34: error: expected `;' before "ScilabError" CloseVideoFile.cpp:36: error: `ScilabError' was not declared in this scope CloseVideoFile.cpp:38: error: `printError' was not declared in this scope CloseVideoFile.cpp:45: error: `ScilabError' was not declared in this scope CloseVideoFile.cpp:45: error: `pvApiCtx' was not declared in this scope CloseVideoFile.cpp:45: error: `getPointer' was not declared in this scope CloseVideoFile.cpp:49: error: `printError' was not declared in this scope CloseVideoFile.cpp:56: error: `CvCapture' was not declared in this scope CloseVideoFile.cpp:56: error: `VideoFile' was not declared in this scope CloseVideoFile.cpp:56: error: `CvCapture' is not a type CloseVideoFile.cpp:56: error: expected `>' before '*' token CloseVideoFile.cpp:56: error: expected `(' before '*' token CloseVideoFile.cpp:56: error: expected primary-expression before '>' token CloseVideoFile.cpp:56: error: expected `)' before ';' token CloseVideoFile.cpp:58: error: `cvReleaseCapture' was not declared in this scope CloseVideoFile.cpp:63: error: `Rhs' was not declared in this scope CloseVideoFile.cpp:63: error: `createPointer' was not declared in this scope CloseVideoFile.cpp:67: error: `printError' was not declared in this scope CloseVideoFile.cpp:73: error: `LhsVar' was not declared in this scope mingw32-make.exe: *** [CloseVideoFile.o] Error 1 !--error 10000 unix_s: error during "mingw32-make.exe -f Makelib" execution at line 34 of function unix_s called by : at line 58 of function ilib_compile called by : at line 48 of function ilib_build called by : at line 17 of function tbx_build_gateway called by : istOfLibraries, LibraryPath, IncludePath) at line 78 of exec file called by : at line 10 of function tbx_builder_gateway_lang called by : tbx_builder_gateway_lang(Languages, GateWayPath); at line 21 of exec file called by : at line 8 of function devtools_run_builder called by : at line 6 of function tbx_builder_gateway called by : tbx_builder_gateway(ToolboxPath); at line 66 of exec file called by : exec builder.sce (4)exec builder.sce in SIVP/ everything seems fine until it starts running the makefile makelib: Building shared library (be patient) In file included from C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/cxcore.h:70, from common.h:43, from common.c:21: C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/cxtypes.h: In function `cvRound': C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/cxtypes.h:234: error: syntax error before '{' token C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/cxtypes.h:236: error: `fistp' undeclared (first use in this function) C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/cxtypes.h:236: error: (Each undeclared identifier is reported only once C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/cxtypes.h:236: error: for each function it appears in.) In file included from C:/PROGRA~1/SCILAB~1.1/modules/core/includes/stack-def.h:16, from C:/PROGRA~1/SCILAB~1.1/modules/core/includes/stack-c.h:30, from common.h:48, from common.c:21: C:/PROGRA~1/SCILAB~1.1/modules/core/includes/machine.h:87:1: warning: "va_copy" redefined In file included from C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/windows.h:47, from C:/Program Files/Scilab-5.2.1/contrib/sivp-0.5.2/sci_gateway/c/../../opencv/include/highgui.h:49, from common.h:46, from common.c:21: C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/include/stdarg.h:55:1: warning: this is the location of the previous definition mingw32-make.exe: *** [common.o] Error 1 !--error 10000 unix_s: error during "mingw32-make.exe -f Makelib" execution at line 34 of function unix_s called by : at line 58 of function ilib_compile called by : at line 48 of function ilib_build called by : at line 17 of function tbx_build_gateway called by : tbx_build_gateway('sivp', inter_names, inter_files, curr_path, opencv_libs, inter_ldflags, inter_cflags); at line 95 of exec file called by : at line 10 of function tbx_builder_gateway_lang called by : tbx_builder_gateway_lang(languages, sci_gateway_dir); at line 6 of exec file called by : at line 8 of function devtools_run_builder called by : at line 6 of function tbx_builder_gateway called by : tbx_builder_gateway(toolbox_dir); at line 35 of exec file called by : exec builder.sce (5)exec builder.sce in SIPtoolbox: no error message then exec loader.sce everything seems okay, yields message "Link done." but afterwards: -->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); link: The file C:\Program Files\scilab-5.2.1\contrib\siptoolbox\lib\libsip.dll does not exist. link: The file C:\Program Files\scilab-5.2.1\contrib\siptoolbox\lib\libsip.dll does not exist. addinter(libsip_path+'lib\libsip.dll','libsip',functions); !--error 236 addinter: The shared archive was not loaded: Unknown Error at line 48 of exec file called by : exec loader.sce