[Scilab-users] Scilab 6 issues in building the module
Tan Chin Luh
chinluh at tritytech.com
Mon Mar 14 02:34:43 CET 2016
Hi,
I was trying to convert some of the modules to version 6 but facing some
issues.
*Same machine tested with Scilab 5.5.2 32-bits and 64-bits and the
compilation are both successful. *
More Info on my machine :
1. Windows 10 Pro 64 bits
2. Scilab 6 Beta 1 32 bits
3. Compiler checking :
--> haveacompiler
ans =
T
--> findmsvccompiler
ans =
msvc110express
Similar errors could be reproduce by compiling the toolbox_skeleton
comes with the Scilab installation:
******Error while executing builder.sce under Scilab 6 beta 1 32 bits
version***********************
-->
exec('D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce',-1)
Building macros...
-- Creation of [toolbox_skeletonlib] (Macros) --
Building sources...
Generate a loader file
Generate a Makefile
Running the Makefile
Compilation of fsum.f
Building shared library (be patient)
Generate a cleaner file
Generate a loader file
Generate a Makefile
Running the Makefile
Compilation of csum.c
Compilation of csub.c
Compilation of multiplybypi.c
Building shared library (be patient)
Generate a cleaner file
Building JAR library org.scilab.contrib.toolboxskeleton.jar
Compiling Java sources in
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\src\java\
Creating JAR archive
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\jar\org.scilab.contrib.toolboxskeleton.jar
Create loader script for Java loader.sce
Create cleaner script for Java cleaner.sce
Building gateway...
at line 55 of function ilib_build (
D:\Scilab\scilab-6.0.0-beta-32\modules\dynamic_link\macros\ilib_build.sci line
68 )
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 )
at line 10 of function builder_gw_c (
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\c\builder_gateway_c.sce
line 12 )
at line 19 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\c\builder_gateway_c.sce
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_builder.sci
line 26 )
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 )
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 )
at line 1 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\sci_gateway\builder_gateway.sce
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-32\modules\modules_manager\macros\tbx_builder.sci
line 26 )
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 )
at line 32 of function main_builder (
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce line
40 )
at line 48 of executed file
D:\Scilab\scilab-6.0.0-beta-32\contrib\toolbox_skeleton\builder.sce
ilib_build: Wrong value for input argument #3: existing file(s) expected.
***********************
******Error while executing builder.sce under Scilab 6 beta 1 64 bits
version***********************
-->
exec('D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\builder.sce',-1)
Building macros...
-- Creation of [toolbox_skeletonlib] (Macros) --
Building sources...
Generate a loader file
Generate a Makefile
Running the Makefile
Compilation of fsum.f
Building shared library (be patient)
!'nmake' is not recognized as an internal or external command, !
! !
!operable program or batch file. !
at line 36 of function dlwCompile (
D:\Scilab\scilab-6.0.0-beta-64\modules\dynamic_link\macros\windows\dlwCompile.sci
line 49 )
at line 70 of function ilib_compile (
D:\Scilab\scilab-6.0.0-beta-64\modules\dynamic_link\macros\ilib_compile.sci
line 86 )
at line 104 of function ilib_for_link (
D:\Scilab\scilab-6.0.0-beta-64\modules\dynamic_link\macros\ilib_for_link.sci
line 118 )
at line 29 of function tbx_build_src (
D:\Scilab\scilab-6.0.0-beta-64\modules\modules_manager\macros\tbx_build_src.sci
line 44 )
at line 3 of function builder_fortran (
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\src\fortran\builder_fortran.sce
line 5 )
at line -1 of executed file
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\src\fortran\builder_fortran.sce
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-64\modules\modules_manager\macros\tbx_builder.sci
line 26 )
at line 49 of function tbx_builder_src_lang (
D:\Scilab\scilab-6.0.0-beta-64\modules\modules_manager\macros\tbx_builder_src_lang.sci
line 64 )
at line 4 of function builder_src (
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\src\builder_src.sce
line 6 )
at line -4 of executed file
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\src\builder_src.sce
at line 13 of function tbx_builder (
D:\Scilab\scilab-6.0.0-beta-64\modules\modules_manager\macros\tbx_builder.sci
line 26 )
at line 32 of function tbx_builder_src (
D:\Scilab\scilab-6.0.0-beta-64\modules\modules_manager\macros\tbx_builder_src.sci
line 48 )
at line 31 of function main_builder (
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\builder.sce line
39 )
at line 48 of executed file
D:\Scilab\scilab-6.0.0-beta-64\contrib\toolbox_skeleton\builder.sce
ilib_compile: Error while executing Makelib.mak.
***********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160314/e535ce37/attachment.htm>
More information about the users
mailing list