[SciPy-dev] latest SVN (3412) build fails on Windows

Christopher Burns cburns at berkeley.edu
Thu Oct 4 18:07:34 EDT 2007


Robin,

Sorry for the build failure.  We've temporarily removed inclusion of the
nifti module until we resolve the Windows build.  The znzprintf function is
specifically not included in the Windows build.  I'll contact the nifticlib
maintainers regarding a fix.

Thanks for letting us know about the bug.

On 10/4/07, Robin <robince at gmail.com> wrote:
>
> Hi,
>
> I found that having updated scipy to svn 3412 the new io.nifti module
> fails:
>
> creating build\temp.win32-2.5\Release\build\src.win32-2.5\scipy\io
> creating build\temp.win32-2.5\Release\build\src.win32-2.5\scipy\io\nifti
> compile options: '-Iscipy\io\nifti -Iscipy\io\nifti\nifticlib\fsliolib
> -Iscipy\i
> o\nifti\nifticlib\niftilib -Iscipy\io\nifti\nifticlib\znzlib
> -Ic:\Python25\lib\s
> ite-packages\numpy\core\include -Ic:\Python25\include -Ic:\Python25\PC -c'
>
> gcc -mno-cygwin -O2 -Wall -Wstrict-prototypes -Iscipy\io\nifti
> -Iscipy\io\nifti\
> nifticlib\fsliolib -Iscipy\io\nifti\nifticlib\niftilib
> -Iscipy\io\nifti\nifticli
> b\znzlib -Ic:\Python25\lib\site-packages\numpy\core\include
> -Ic:\Python25\includ
> e -Ic:\Python25\PC -c build\src.win32-2.5\scipy\io\nifti\nifticlib_wrap.c-o bui
> ld\temp.win32-
> 2.5\Release\build\src.win32-2.5\scipy\io\nifti\nifticlib_wrap.o
> g++ -mno-cygwin -shared build\temp.win32-
> 2.5\Release\build\src.win32-2.5\scipy\i
> o\nifti\nifticlib_wrap.o -Lc:\Python25\libs -Lc:\Python25\PCBuild
> -Lbuild\temp.w
> in32-2.5 -lniftiio -lfslio -lznz -lpython25 -lmsvcr71 -o build\lib.win32-
> 2.5\sci
> py\io\nifti\_nifticlib.pyd
> Found executable C:\cygwin\bin\g++.exe
> build\temp.win32-
> 2.5\Release\build\src.win32-2.5\scipy\io\nifti\nifticlib_wrap.o
> :nifticlib_wrap.c:(.text+0x368c): undefined reference to `_znzprintf'
> collect2: ld returned 1 exit status
> error: Command "g++ -mno-cygwin -shared build\temp.win32-
> 2.5\Release\build\src.w
> in32-2.5\scipy\io\nifti\nifticlib_wrap.o -Lc:\Python25\libs
> -Lc:\Python25\PCBuil
> d -Lbuild\temp.win32-2.5 -lniftiio -lfslio -lznz -lpython25 -lmsvcr71 -o
> build\l
> ib.win32-2.5\scipy\io\nifti\_nifticlib.pyd " failed with exit status 1
>
> I am using Cygwin gcc 3.4.4 on Windows XP.
>
> Should I submit a ticket or is more information required (or is there a
> simple fix for something in my setup)?
>
> Robin
>
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
>
>


-- 
Christopher Burns, Software Engineer
Computational Infrastructure for Research Labs
10 Giannini Hall, UC Berkeley
phone: 510.643.4014
http://cirl.berkeley.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20071004/2318aa57/attachment.html>


More information about the SciPy-Dev mailing list