[Scilab-users] API SCILAB: ilib_compile: Error while executing Makelib.
Theo
theo at circuit.co.jp
Thu Mar 14 09:32:43 CET 2013
I am trying to run the example given on the Getting started page
(http://help.scilab.org/docs/5.4.0/en_US/api_scilab_getting_started.html)
But I got the error below. Any help please ?
=============================================================================
___________________________________________
scilab-5.3.3
Consortium Scilab (DIGITEO)
Copyright (c) 1989-2011 (INRIA)
Copyright (c) 1989-2007 (ENPC)
___________________________________________
Initialisation :
loading initial environment
Starting the Serial Toolbox
Load macros
Load help
START GUI Builder 2.2
Load macros
Load help
Type "guibuilder" to start the GUI
Mingw Compiler support for Scilab
Load macros
Load help
-->exec('C:\Work\SCILAB\DLL\lab0\test.sci', -1)
Génère un fichier gateway
Génère un fichier loader
Génère un Makefile: Makelib
Exécute le makefile
Compilation de sci_foo.c
Construit une bibliothèque partagée (soyez patient)
!------------- Compile file sci_foo.c --------------
!
!
!
!i686-pc-mingw32-gcc.exe -c -DWIN32 -D_MSC_VER -DSTRICT -DFORDLL
-I"C:/PROGRA~1/SCILAB~1.3/libs/MALLOC/!
! includes" -I"C:/PROGRA~1/SCILAB~1.3/modules/core/includes"
-I"C:/PROGRA~1/SCILAB~1.3/modules/api_!
! scilab/includes"
-I"C:/PROGRA~1/SCILAB~1.3/modules/call_scilab/includes"
-I"C:/PROGRA~1/SCILAB~1.!
! 3/modules/output_stream/includes"
-I"C:/PROGRA~1/SCILAB~1.3/modules/jvm/includes" -I"C:/PROGRA~1/!
! SCILAB~1.3/modules/localization/includes"
-I"C:/PROGRA~1/SCILAB~1.3/modules/dynamic_link/includes!
! " -I"C:/PROGRA~1/SCILAB~1.3/modules/mexlib/includes"
-I"C:/PROGRA~1/SCILAB~1.3/modules/time/inclu!
! des" -I"C:/PROGRA~1/SCILAB~1.3/modules/windows_tools/includes"
-I"C:/PROGRA~1/SCILAB~1.3/libs/f2c!
! " -I"C:/PROGRA~1/SCILAB~1.3/libs/hashtable"
-I"C:/PROGRA~1/SCILAB~1.3/libs/intl" -m32 sci_foo.c!
!
!
!sci_foo.c: In function 'sci_foo':
!
!
!
!sci_foo.c:87:35: warning: incompatible implicit declaration of built-in
function 'malloc' !
!
!
!sci_foo.c:121:6: error: lvalue required as left operand of assignment
!
!
!
!sci_foo.c:122:6: error: lvalue required as left operand of assignment
!
!
!
!make: *** [sci_foo.o] Error 1
!
!--error 10000
ilib_compile: Error while executing Makelib.
at line 76 of function ilib_compile called by :
at line 107 of function ilib_build called by :
ilib_build('build_lib',['foo','sci_foo'],files,[]);
at line 4 of exec file called by :
exec('C:\Work\SCILAB\DLL\lab0\test.sci', -1)
--
View this message in context: http://mailinglists.scilab.org/API-SCILAB-ilib-compile-Error-while-executing-Makelib-tp4026243.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
More information about the users
mailing list