I was wondering if it is possible to access fortran code within the macro automatically generated by MakeClass. The examples of linking fortran to C/C++ in root require you to compile your code, but the MakeClass macro will not compile. Since you can’t compile, it states that fortran function has been declared but not defined.
[quote]but the MakeClass macro will not compile.[/quote]In most case, just minor modifications like adding the required include files are needed to get the MakeClass macro to compile.
[quote] it states that fortran function has been declared but not defined.[/quote]You would need to generate a dictionary for those functions.