[Scilab-users] sciscipy doesn't compile

Ian Bell ian.h.bell at gmail.com
Wed Jan 22 18:16:25 CET 2014


I can't get sciscipy to compile.  Below is the error log.  Using scilab an
exercise in frustration...

FYI, Windows 7 64-bit, python 2.7.x, scilab 5.4.0 64-bit

Happy to help debug if I can.  I'd REALLY like to use 3D plotting of Scilab
in python.  Pythons 3D plotting options aren't too impressive.


C:\Users\Belli\Downloads\sciscipy-1.0.1>python setup.py install
running install
running build
running build_py
running build_ext
No module named msvccompiler in numpy.distutils; trying from distutils
building 'sciscipy' extension
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo
/Ox /MD /W3 /GS- /DNDEBUG -DSCI="/usr\local\share\scilab" -DSCIDEBUG=0
-DNUMPY=1 -I"C:\Program Files\scilab-5.4.0\modules\core\includes"
-I"C:\Program Files\scilab-5.4.0\modules\call_scilab\includes"
-I"C:\Program File
s\scilab-5.4.0\modules\api_scilab\includes"
-Ic:\Python27\lib\site-packages\numpy\core\include -Ic:\Python27\include
-Ic:\Python27\PC /Tcsciscipy.c /Fobuild\temp.win32-2.7\Release\sciscipy.obj
Found executable c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\cl.exe
c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe /c /nologo
/Ox /MD /W3 /GS- /DNDEBUG -DSCI="/usr\local\share\scilab" -DSCIDEBUG=0
-DNUMPY=1 -I"C:\Program Files\scilab-5.4.0\modules\core\includes"
-I"C:\Program Files\scilab-5.4.0\modules\call_scilab\includes"
-I"C:\Program File
s\scilab-5.4.0\modules\api_scilab\includes"
-Ic:\Python27\lib\site-packages\numpy\core\include -Ic:\Python27\include
-Ic:\Python27\PC /Tcsciconv_read.c
/Fobuild\temp.win32-2.7\Release\sciconv_read.obj
sciconv_read.c
sciconv_read.c(346) : error C2143: syntax error : missing ';' before 'type'
sciconv_read.c(348) : error C2275: 'PyObject' : illegal use of this type as
an expression
        c:\python27\include\object.h(108) : see declaration of 'PyObject'
sciconv_read.c(348) : error C2065: 'new_list' : undeclared identifier
sciconv_read.c(349) : error C2065: 'piLen' : undeclared identifier
sciconv_read.c(349) : warning C4047: 'function' : 'int *' differs in levels
of indirection from 'int'
sciconv_read.c(349) : warning C4024: 'getMatrixOfString' : different types
for formal and actual parameter 5
sciconv_read.c(360) : error C2065: 'piLen' : undeclared identifier
sciconv_read.c(360) : error C2109: subscript requires array or pointer type
sciconv_read.c(360) : error C2198: 'malloc' : too few arguments for call
sciconv_read.c(364) : error C2065: 'new_list' : undeclared identifier
sciconv_read.c(364) : warning C4047: '=' : 'int' differs in levels of
indirection from 'PyObject *'
sciconv_read.c(365) : error C2065: 'piLen' : undeclared identifier
sciconv_read.c(365) : warning C4047: 'function' : 'int *' differs in levels
of indirection from 'int'
sciconv_read.c(365) : warning C4024: 'getMatrixOfString' : different types
for formal and actual parameter 5
sciconv_read.c(377) : error C2065: 'new_list' : undeclared identifier
sciconv_read.c(383) : error C2065: 'new_list' : undeclared identifier
sciconv_read.c(383) : warning C4047: 'return' : 'PyObject *' differs in
levels of indirection from 'int'
sciconv_read.c(399) : error C2143: syntax error : missing '{' before '*'
sciconv_read.c(457) : warning C4133: 'return' : incompatible types - from
'PyObject *' to 'int *'
sciconv_read.c(475) : warning C4028: formal parameter 1 different from
declaration
sciconv_read.c(495) : warning C4028: formal parameter 1 different from
declaration
sciconv_read.c(495) : warning C4133: 'function' : incompatible types - from
'int *(__cdecl *)(int *)' to 'PyObject *(__cdecl *)(char *)'
sciconv_read.c(496) : warning C4028: formal parameter 1 different from
declaration
sciconv_read.c(497) : warning C4028: formal parameter 1 different from
declaration
error: Command "c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG
-DSCI="/usr\local\share\scilab" -DSCIDEBUG=0 -DNUMPY=1 -I"C:\Program
Files\scilab-5.4.0\modules\core\includes" -I"C:\Program
Files\scilab-5.4.0\modules\call_scilab\includes" -I
"C:\Program Files\scilab-5.4.0\modules\api_scilab\includes"
-Ic:\Python27\lib\site-packages\numpy\core\include -Ic:\Python27\include
-Ic:\Python27\PC /Tcsciconv_read.c
/Fobuild\temp.win32-2.7\Release\sciconv_read.obj" failed with exit status 2

C:\Users\Belli\Downloads\sciscipy-1.0.1>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140122/07044793/attachment.htm>


More information about the users mailing list