← Back to team overview

dolfin team mailing list archive

dolfin_multistage.h: No such file or directory

 

When running cmake/scripts/generate-all I see the following error:

Traceback (most recent call last):
  File "./cmake/scripts/generate-swig-interface", line 511, in <module>
    regenerate_swig_interface(module_to_submodules, excludes)
  File "./cmake/scripts/generate-swig-interface", line 477, in
regenerate_swig_interface
    submodule_info = generate_submodule_info(module_to_submodules, excludes)
  File "./cmake/scripts/generate-swig-interface", line 125, in
generate_submodule_info
    headers=extract_module_header_files(submodule, excludes))
  File "./cmake/scripts/generate-swig-interface", line 61, in
extract_module_header_files
    "dolfin_%s.h" % submodule)).read()
IOError: [Errno 2] No such file or directory:
'dolfin/multistage/dolfin_multistage.h'
Traceback (most recent call last):
  File "./cmake/scripts/generate-swig-docstrings", line 428, in <module>
    generate_docstrings()
  File "./cmake/scripts/generate-swig-docstrings", line 411, in
generate_docstrings
    documentation, classnames = extract_doc_representation(dolfin_dir)
  File "/home/johannr/dev/fenics/src/dolfin/trunk/site-packages/dolfin_utils/documentation/extractdocumentation.py",
line 201, in extract_doc_representation
    f = open(os.path.join(dolfin_dir, "dolfin", module, "dolfin_%s.h" % module))
IOError: [Errno 2] No such file or directory:
'/home/johannr/dev/fenics/src/dolfin/trunk/dolfin/multistage/dolfin_multistage.h'

If I continue to build DOLFIN, I run into the following problem:

[ 98%] Swig source
/home/johannr/dev/fenics/src/dolfin/trunk/dolfin/swig/modules/fem/module.i:181:
Error: Unable to find 'dolfin/swig/multistage/docstrings.i'
make[2]: *** [dolfin/swig/modules/fem/modulePYTHON_wrap.cxx] Error 1
make[1]: *** [dolfin/swig/modules/fem/CMakeFiles/_fem.dir/all] Error 2
make: *** [all] Error 2

Johannes


Follow ups