[f2py] f2py: error: unknown file type '' (from '--include_paths')
Marcel Loose
loose at astron.nl
Tue Jun 21 11:19:23 EEST 2011
Hi all,
I'm struggling with the following: I'm trying to build a Python module
using f2py in "one go"; i.e. by using the options -c and -m. However,
some of the Fortran sources include a file that is in a different
directory.
I've tried to specify an extra include directory using either
'--include_paths' and '-I' anywhere on the command line, but it just
doesn't work.
When using '--include_paths', I get both a warning and an error:
readfortrancode: could not find include file 'constants.inc'.
Ignoring.
:
:
error: unknown file type '' (from '--include_paths')
When using '-I', I only see the warning, so it seems that the '-I'
option is completely ignored by f2py.
Any help would be very much appreciated.
Best regards,
Marcel Loose.
--
Marcel Loose
Senior Software Engineer, Computing Group R&D, Astron, the Netherlands
More information about the f2py-users
mailing list