[SciPy-user] Compilein debug version of extension using numpy.distutils

Berthold "Höllmann" berthold.hoellmann@gl-group....
Wed Jun 24 10:23:14 CDT 2009

I have a set of python extension modules bundled into one
project. Trying to compile a debug version of these extensions i run
into a strange problem:

  $ /cygdrive/c/Python25_d/python_d.exe setup.py config_fc --fcompiler=intelv --f77flags=/fpp --f90flags=/fpp --debug build_ext
  LINK : fatal error LNK1104: Datei 'python25.lib' kann nicht geöffnet werden
  (error says: can't open 'python25.lib', it shoud use 'python25_d.lib' instead)

  $ /cygdrive/c/Python25_d/python_d.exe setup.py config_fc --fcompiler=intelv --f77flags=/fpp --f90flags=/fpp --debug build_ext  --debug
  ifort: command line error: option '/g' is ambiguous
  $ ifort
  Intel(R) Visual Fortran Compiler Professional for applications running on IA-32, Version 11.0    Build 20090318 Package ID: w_cprof_p_11.0.074
  Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.
  $ cl
  Microsoft (R) 32-Bit C/C++-Standardcompiler Version 13.10.3077 f?r 80x86
  Copyright (C) Microsoft Corporation 1984-2002. Alle Rechte vorbehalten.
  $ python -c "import numpy;print numpy.version.version;import sys; print sys.version"
  2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]

What am I supposed to do to get a debug version of my extensions?

Kind regards

Berthold Höllmann
Germanischer Lloyd AG
CAE Development
Vorsetzen 35
20459 Hamburg
Phone: +49(0)40 36149-7374
Fax: +49(0)40 36149-7320
e-mail: berthold.hoellmann@gl-group.com
Internet: http://www.gl-group.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20090624/cbc22009/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: disclaimer.txt
Type: application/octet-stream
Size: 2196 bytes
Desc: not available
Url : http://mail.scipy.org/pipermail/scipy-user/attachments/20090624/cbc22009/attachment.obj 

More information about the SciPy-user mailing list