简体   繁体   English

尝试在 Mac OS Catlina 上运行 opensmile-2.3.0 时出现“错误:全局命名空间中没有名为‘signbit’的成员”?

[英]'Error: no member named 'signbit' in the global namespace' while trying to run opensmile-2.3.0 on Mac OS Catlina?

I'm trying install Opensmile-2.3.0 on Mac but I get few cmath errors.我正在尝试在 Mac 上安装 Opensmile-2.3.0,但我收到的 cmath 错误很少。 I have updated Xcode to 11.3 and it didn't help.我已将 Xcode 更新到 11.3,但没有帮助。

Mac OS - Catlina 10.15.3 Mac 操作系统 - Catlina 10.15.3

I began by downloading the file as .tar file and unzipped it using我首先将文件下载为 .tar 文件并使用

tar -zxvf opensmile-2.3.0.tar

Then changed the directory to opensmile-2.3.0.然后将目录更改为opensmile-2.3.0。

Later started to follow the manual build instructions后来开始按照手动构建说明

bash autogen.sh

./configure

Everything runs fine till here and When I run the below command I get the following errors.直到这里一切都运行良好,当我运行以下命令时,出现以下错误。

(base) Suryas-MacBook-Air:opensmile-2.3.0 suryareddy$ make j4 ; make

In file included from src/other/vectorOperation.cpp:58:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error: 
      no member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error: 
      no member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error: 
      no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
      ~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/math.h:749:12: note: 
      'finite' declared here
extern int finite(double)
           ^
In file included from src/other/vectorOperation.cpp:58:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error: 
      no member named 'isinf' in the global namespace
using ::isinf;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error: 
      no member named 'isnan' in the global namespace
using ::isnan;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:9: error: 
      no member named 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:7: error: 
      no member named 'isgreater' in the global namespace; did you mean
      '::std::greater'?
using ::isgreater;
      ^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:728:29: note: 
      '::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
                            ^
In file included from src/other/vectorOperation.cpp:58:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:7: error: 
      no member named 'isgreaterequal' in the global namespace; did you mean
      '::std::greater_equal'?
using ::isgreaterequal;
      ^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/functional:757:29: note: 
      '::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
                            ^
In file included from src/other/vectorOperation.cpp:58:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error: 
      no member named 'isless' in the global namespace
using ::isless;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error: 
      no member named 'islessequal' in the global namespace
using ::islessequal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error: 
      no member named 'islessgreater' in the global namespace
using ::islessgreater;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error: 
      no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:330:9: error: 
      no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
196 warnings and 13 errors generated.
make[1]: *** [src/other/libopensmile_la-vectorOperation.lo] Error 1
make: *** [all] Error 2

卸载 xcode 可能有效,它适用于我的情况,也许发生了一些冲突。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 卡特琳娜 C++:使用<cmath>标头产生错误:全局命名空间中没有名为“signbit”的成员</cmath> - Catalina C++: Using <cmath> headers yield error: no member named 'signbit' in the global namespace 错误:MacOS上的“全局名称空间中没有名为&#39;uint8_t&#39;的成员” - Error: “no member named 'uint8_t' in the global namespace” on MacOS 全局命名空间中没有名为“isinf”的成员 - no member named 'isinf' in the global namespace cstdint中的错误:全局命名空间中没有名为xxx的成员 - Errors in cstdint: No member named xxx in global namespace 尝试在 mac OS 中运行此命令“pipenv install requests”时出错 - Getting error while trying to run this command “ pipenv install requests ” in mac OS 尝试在Mac OS上运行git uninstall.sh时出现问题 - Issues while trying to run git uninstall.sh on Mac OS 错误:命名空间“std”中没有名为“async”的成员 - error: no member named 'async' in namespace 'std' 我正在尝试在Mac OS上运行Armadillo,但我一直收到相同的错误 - I'm trying to run Armadillo on Mac OS but i keep getting the same error 尝试在Mac上的Darknet YOLO库上运行“ make”命令时出错 - Error while trying to run 'make' command on darknet YOLO library on a Mac 在 Mac OS 终端 zsh 中出现权限错误 - Permission Error while in Mac OS Terminal zsh
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM