Skip to content

Unknown directive '%fortran_view' #3

@frongere

Description

@frongere

Hello,

I am trying to generate fortran bindings for the examples and I fall into a problem while swig compiling the formatrix.i interface file for Fortran while building

/home/frongere/Documents/DEV_SOFTWARE/fortran-swig-example/src/formatrix.i:10: Error: Unknown directive '%fortran_view'.
CMakeFiles/formatrix_swig_compilation.dir/build.make:61: recipe for target 'CMakeFiles/formatrix.dir/formatrixFORTRAN.stamp' failed
make[2]: *** [CMakeFiles/formatrix.dir/formatrixFORTRAN.stamp] Error 1
make[2]: *** Suppression du fichier « CMakeFiles/formatrix.dir/formatrixFORTRAN.stamp »
CMakeFiles/Makefile2:353: recipe for target 'CMakeFiles/formatrix_swig_compilation.dir/all' failed
make[1]: *** [CMakeFiles/formatrix_swig_compilation.dir/all] Error 2
Makefile:94: recipe for target 'all' failed
make: *** [all] Error 2

I am playing with the master branch. Is that the correct one ?
Do you have any clue ?

Cheers,
François.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions