Skip to content

Examples crash depending on MatLab version #46

@ec2608

Description

@ec2608

Hi, This may have been reported before but I couldn't find relevant info.

I get the following error at Matlab R2023a (apologies cannot install an earlier version for license related reasons).

Error using mex
/matlab-bindings/+precice/@Participant/private/preciceGateway.cpp:7:10: fatal error:
precice/Participant.hpp: No such file or directory
    7 | #include "precice/Participant.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.


Error in compile_matlab_bindings_for_precice (line 18)
mex(strcat(path_Interface,".cpp"),'CXXFLAGS="-std=c++17 -fPIC"',"-output",path_Interface,flags{:});

This is in WSL Ununtu 22.04. I installed precise using spack.
Thanks in advance

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