首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MATLAB中的Myo袖标手势(无法编译.m或.mex文件)

MATLAB中的Myo袖标手势(无法编译.m或.mex文件)
EN

Stack Overflow用户
提问于 2016-11-16 16:25:22
回答 1查看 481关注 0票数 0

我需要一些帮助才能使myo-mex文件正常工作。我不知道如何更改编译器选项才能让mingw支持ISO c++ 2011。代码所在的github存储库可以在以下位置找到:https://github.com/mark-toma/MyoMex。我得到的错误消息如下所示:

代码语言:javascript
复制
Error using build_myo_mex (line 61)
In file included from C:/MATLAB/SupportPackages/R2015b/MW_MinGW_4_9/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++/array:35:0,
             from C:\MyoMex-master\MyoMex\myo_mex\myo_class.hpp:16,
             from C:\MyoMex-master\MyoMex\myo_mex\myo_mex.cpp:14:
C:/MATLAB/SupportPackages/R2015b/MW_MinGW_4_9/lib/gcc/x86_64-w64-  mingw32/4.9.2/include/c++/bits/c++0x_warning.h:32:2: error: #error This
file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled
with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \

我对这个错误有点一无所知,但我希望有人能帮助我,因为我不是最擅长使用MATLAB的人。

EN

回答 1

Stack Overflow用户

发布于 2016-11-16 16:26:53

错误消息中就提到了这一点

此支持目前处于实验阶段,必须使用-std=c++11-std=gnu++11编译器选项启用。

使用:

-std=c++11-std=gnu++11

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/40627170

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档