<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi again,<br>
<br>
after looking into more details, I notice that the builder is
trying to include some files which are not in the c gateway
folder:<br>
<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(0,0,0);">tbx_build_gateway</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">skeleton_c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_sum</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csum</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_sub</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csub</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_multiplybypi</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_multiplybypi</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">foo</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_foo</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_error</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_cerror</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_sum6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csum6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_sub6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csub6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_multiplybypi6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_multiplybypi6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">foo6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_foo6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_error6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_cerror6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci6</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csum.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csub.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_multiplybypi.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_foo.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_cerror.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <spa
n style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csum6.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csub6.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_multiplybypi6.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_foo6.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_cerror6.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span>
<span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(0,0,0);">get_absolute_file_path</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">builder_gateway_c.sce</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">.</span><span style="color:rgb(188,143,143);">./</span><span style="color:rgb(188,143,143);">.</span><span style="color:rgb(188,143,143);">./src/c/libcsum</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(0,0,0);">includes_src_c</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;
</span>
</pre>
After removing those files the compilation of the C gateway is
successful. <br>
<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(0,0,0);">tbx_build_gateway</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">skeleton_c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_sum</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csum</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_sub</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csub</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_multiplybypi</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_multiplybypi</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">foo</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_foo</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(255,170,0);">...</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">c_error</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_cerror</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">csci</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">;</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csum.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_csub.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_multiplybypi.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_foo.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">sci_cerror.c</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">]</span><span
style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(0,0,0);">get_absolute_file_path</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">builder_gateway_c.sce</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">.</span><span style="color:rgb(188,143,143);">./</span><span style="color:rgb(188,143,143);">.</span><span style="color:rgb(188,143,143);">./src/c/libcsum</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(255,170,0);">..</span>
<span style="color:rgb(0,0,0);">includes_src_c</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;
</span></pre>
<br>
However, now it stopped at cpp gateway building, which point to
some error in the internal.hxx<br>
<br>
Building gateway...<br>
Generate a gateway file<br>
Generate a loader file<br>
Generate a Makefile<br>
Running the makefile<br>
Compilation of sci_cerror.c<br>
Compilation of sci_csub.c<br>
Compilation of sci_csum.c<br>
Compilation of sci_foo.c<br>
Compilation of sci_multiplybypi.c<br>
Compilation of skeleton_c.cpp<br>
Compilation of skeleton_c.h<br>
Compilation of skeleton_c.hxx<br>
Building shared library (be patient)<br>
Generate a cleaner file<br>
Generate a gateway file<br>
Generate a loader file<br>
Generate a Makefile<br>
Running the makefile<br>
Compilation of sci_fsum.c<br>
Compilation of skeleton_fortran.cpp<br>
Compilation of skeleton_fortran.h<br>
Compilation of skeleton_fortran.hxx<br>
Building shared library (be patient)<br>
Generate a cleaner file<br>
Generate a gateway file<br>
Generate a loader file<br>
Generate a Makefile<br>
Running the makefile<br>
Compilation of sci_cpp_find.cxx<br>
Compilation of sci_cpperror.cpp<br>
Compilation of sci_cppfoo.cpp<br>
Compilation of sci_cppmultiplybypi.cpp<br>
Compilation of sci_cppsub.cpp<br>
Compilation of sci_cppsum.cpp<br>
Compilation of skeleton_cpp.cpp<br>
Compilation of skeleton_cpp.h<br>
Compilation of skeleton_cpp.hxx<br>
Building shared library (be patient)<br>
<br>
!------------- Compile file sci_cpperror.cpp
-------------- !<br>
!
!<br>
! IF NOT EXIST Release mkdir
Release
!<br>
!
!<br>
!sci_cpperror.cpp
!<br>
!
!<br>
!D:\Scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\internal.hxx(227)
: error C2143: syntax erro!<br>
!r : missing ',' before
'...'
!<br>
!
!<br>
!D:\Scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\internal.hxx(228)
: error C2061: syntax erro!<br>
!r : identifier
'A'
!<br>
!
!<br>
!D:\Scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\double.hxx(265)
: error C2780: 'T *types::In!<br>
!ternalType::checkRef(T *,F)' : expects 2 arguments - 4
provided !<br>
!
!<br>
!
d:\scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\internal.hxx(228)
: see declaration !<br>
!of
'types::InternalType::checkRef'
!<br>
!
!<br>
!D:\Scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\double.hxx(288)
: error C2780: 'T *types::In!<br>
!ternalType::checkRef(T *,F)' : expects 2 arguments - 3
provided !<br>
!
!<br>
!
d:\scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\internal.hxx(228)
: see declaration !<br>
!of
'types::InternalType::checkRef'
!<br>
!
!<br>
!D:\Scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\double.hxx(310)
: error C2780: 'T *types::In!<br>
!ternalType::checkRef(T *,F)' : expects 2 arguments - 3
provided !<br>
!
!<br>
!
d:\scilab\scilab-6.0.0-beta-32\modules\ast\includes\types\internal.hxx(228)
: see declaration !<br>
!of
'types::InternalType::checkRef'
!<br>
!
!<br>
!NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft
Visual Studio 11.0\VC\BIN\cl.EXE"' : ret!<br>
!urn code
'0x2'
!<br>
!
!<br>
!Stop.
!<br>
at line 36 of function dlwCompile (
D:\Scilab\scilab-6.0.0-beta-32\modules\dynamic_link\macros\windows\dlwCompile.sci
line 49 )<br>
at line 70 of function ilib_compile (
D:\Scilab\scilab-6.0.0-beta-32\modules\dynamic_link\macros\ilib_compile.sci
line 86 )<br>
at line 115 of function ilib_build (
D:\Scilab\scilab-6.0.0-beta-32\modules\dynamic_link\macros\ilib_build.sci
line 128 )<br>
at line 134 of function tbx_build_gateway (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_build_gateway.sci
line 148 )<br>
at line 17 of function builder_gw_cpp (
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\cpp\builder_gateway_cpp.sce
line 19 )<br>
at line 25 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\cpp\builder_gateway_cpp.sce<br>
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_builder.sci
line 26 )<br>
at line 49 of function tbx_builder_gateway_lang (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_builder_gateway_lang.sci
line 74 )<br>
at line 6 of function builder_gateway (
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\builder_gateway.sce
line 8 )<br>
at line 1 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\builder_gateway.sce<br>
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_builder.sci
line 26 )<br>
at line 32 of function tbx_builder_gateway (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_builder_gateway.sci
line 48 )<br>
at line 32 of function main_builder (
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce
line 40 )<br>
at line 48 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce<br>
<br>
ilib_compile: Error while executing Makelib.mak.<br>
<br>
Thanks again.<br>
<br>
Regards,<br>
Chin Luh<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(0,0,0);">
</span><span style="color:rgb(0,0,0);"></span>
</pre>
<br>
<br>
On 15/3/2016 10:23 AM, Tan Chin Luh wrote:<br>
</div>
<blockquote cite="mid:56E77231.2010307@tritytech.com" type="cite">Hi
Clement,
<br>
<br>
thanks for your prompt reply.
<br>
<br>
yes, it fixed the "nmake" error on the 64 -bit versions. After
apply the fix, both 32 and 64 bits now stop at the same error
during "building gateway"
<br>
<br>
ilib_build: Wrong value for input argument #3: existing file(s)
expected.
<br>
<br>
p/s: should I confirm it is a bug first before I post on bugzilla
next time? let me know the best way to do this. thanks. :)
<br>
<br>
<br>
Thanks again.
<br>
<br>
Regards,
<br>
Chin Luh
<br>
<br>
<br>
<br>
On 14/3/2016 8:37 PM, Clément David wrote:
<br>
<blockquote type="cite">Hi Tan,
<br>
<br>
Thanks for the information ; this is already fixed [1] ;) do not
hesitate to post a bug on
<br>
bugzilla.scilab.org next time.
<br>
<br>
[1:]
<a class="moz-txt-link-freetext" href="http://gitweb.scilab.org/?p=scilab.git;a=commit;h=064a1839fb0a501e4ff05ca23b25c2cd618be1aa">http://gitweb.scilab.org/?p=scilab.git;a=commit;h=064a1839fb0a501e4ff05ca23b25c2cd618be1aa</a><br>
<br>
Regards,
<br>
<br>
--
<br>
Clément <davidcl> David
<br>
<br>
Le lundi 14 mars 2016 à 09:34 +0800, Tan Chin Luh a écrit :
<br>
<blockquote type="cite">Hi,
<br>
<br>
I was trying to convert some of the modules to version 6 but
facing some issues.
<br>
<br>
Same machine tested with Scilab 5.5.2 32-bits and 64-bits and
the compilation are both
<br>
successful.
<br>
<br>
More Info on my machine :
<br>
1. Windows 10 Pro 64 bits
<br>
2. Scilab 6 Beta 1 32 bits
<br>
3. Compiler checking :
<br>
--> haveacompiler
<br>
ans =
<br>
T
<br>
--> findmsvccompiler
<br>
ans =
<br>
msvc110express
<br>
<br>
Similar errors could be reproduce by compiling the
toolbox_skeleton comes with the Scilab
<br>
installation:
<br>
<br>
******Error while executing builder.sce under Scilab 6 beta 1
32 bits
<br>
version***********************
<br>
-->
exec('D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce',-1)<br>
Building macros...
<br>
-- Creation of [toolbox_skeletonlib] (Macros) --
<br>
Building sources...
<br>
Generate a loader file
<br>
Generate a Makefile
<br>
Running the Makefile
<br>
Compilation of fsum.f
<br>
Building shared library (be patient)
<br>
Generate a cleaner file
<br>
Generate a loader file
<br>
Generate a Makefile
<br>
Running the Makefile
<br>
Compilation of csum.c
<br>
Compilation of csub.c
<br>
Compilation of multiplybypi.c
<br>
Building shared library (be patient)
<br>
Generate a cleaner file
<br>
Building JAR library
org.scilab.contrib.toolboxskeleton.jar
<br>
Compiling Java sources in
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\src\java\
<br>
Creating JAR archive D:\Scilab\scilab-6.0.0-beta-
<br>
32\contrib\toolbox_skeleton\jar\org.scilab.contrib.toolboxskeleton.jar
<br>
Create loader script for Java loader.sce
<br>
Create cleaner script for Java cleaner.sce
<br>
Building gateway...
<br>
at line 55 of function ilib_build (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\modules\dynamic_link\macros\ilib_build.sci line 68 )
<br>
at line 134 of function tbx_build_gateway (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\modules\modules_manager\macros\tbx_build_gateway.sci line
148 )
<br>
at line 10 of function builder_gw_c (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\contrib\toolbox_skeleton\sci_gateway\c\builder_gateway_c.sce
line 12 )
<br>
at line 19 of executed file D:\Scilab\scilab-6.0.0-beta-
<br>
32\contrib\toolbox_skeleton\sci_gateway\c\builder_gateway_c.sce
<br>
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\modules\modules_manager\macros\tbx_builder.sci line 26 )
<br>
at line 49 of function tbx_builder_gateway_lang (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\modules\modules_manager\macros\tbx_builder_gateway_lang.sci
line 74 )
<br>
at line 6 of function builder_gateway (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\contrib\toolbox_skeleton\sci_gateway\builder_gateway.sce
line 8 )
<br>
at line 1 of executed file D:\Scilab\scilab-6.0.0-beta-
<br>
32\contrib\toolbox_skeleton\sci_gateway\builder_gateway.sce
<br>
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\modules\modules_manager\macros\tbx_builder.sci line 26 )
<br>
at line 32 of function tbx_builder_gateway (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\modules\modules_manager\macros\tbx_builder_gateway.sci line
48 )
<br>
at line 32 of function main_builder (
D:\Scilab\scilab-6.0.0-beta-
<br>
32\contrib\toolbox_skeleton\builder.sce line 40 )
<br>
at line 48 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce
<br>
<br>
ilib_build: Wrong value for input argument #3: existing
file(s) expected.
<br>
***********************
<br>
<br>
<br>
******Error while executing builder.sce under Scilab 6 beta 1
64 bits
<br>
version***********************
<br>
-->
exec('D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\builder.sce',-1)<br>
Building macros...
<br>
-- Creation of [toolbox_skeletonlib] (Macros) --
<br>
Building sources...
<br>
Generate a loader file
<br>
Generate a Makefile
<br>
Running the Makefile
<br>
Compilation of fsum.f
<br>
Building shared library (be patient)
<br>
<br>
!'nmake' is not recognized as an internal or external
command, !
<br>
!
!
<br>
!operable program or batch
file. !
<br>
at line 36 of function dlwCompile (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\dynamic_link\macros\windows\dlwCompile.sci line 49
)
<br>
at line 70 of function ilib_compile (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\dynamic_link\macros\ilib_compile.sci line 86 )
<br>
at line 104 of function ilib_for_link (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\dynamic_link\macros\ilib_for_link.sci line 118 )
<br>
at line 29 of function tbx_build_src (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\modules_manager\macros\tbx_build_src.sci line 44 )
<br>
at line 3 of function builder_fortran (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\contrib\toolbox_skeleton\src\fortran\builder_fortran.sce
line 5 )
<br>
at line -1 of executed file D:\Scilab\scilab-6.0.0-beta-
<br>
64\contrib\toolbox_skeleton\src\fortran\builder_fortran.sce
<br>
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\modules_manager\macros\tbx_builder.sci line 26 )
<br>
at line 49 of function tbx_builder_src_lang (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\modules_manager\macros\tbx_builder_src_lang.sci
line 64 )
<br>
at line 4 of function builder_src (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\contrib\toolbox_skeleton\src\builder_src.sce line 6 )
<br>
at line -4 of executed file D:\Scilab\scilab-6.0.0-beta-
<br>
64\contrib\toolbox_skeleton\src\builder_src.sce
<br>
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\modules_manager\macros\tbx_builder.sci line 26 )
<br>
at line 32 of function tbx_builder_src (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\modules\modules_manager\macros\tbx_builder_src.sci line 48
)
<br>
at line 31 of function main_builder (
D:\Scilab\scilab-6.0.0-beta-
<br>
64\contrib\toolbox_skeleton\builder.sce line 39 )
<br>
at line 48 of executed file
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\builder.sce
<br>
<br>
ilib_compile: Error while executing Makelib.mak.
<br>
<br>
***********************
<br>
<br>
<br>
<br>
<br>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br>
</blockquote>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
</body>
</html>