小编Ben*_*nyD的帖子

如何使用旧版本的 GCC

我正在使用 Ubuntu 18.04.4 LTS,我正在尝试按照他们的在线说明编译一个基于 MATLAB 的程序 (SPM12),我相信我遇到了 GCC 版本“太”的问题新的'。当我到达我的命令所在的过程中的一个步骤时make && make install,我收到以下错误消息:

Warning: You are using gcc version '7.5.0'. The version of gcc is not supported. The version currently supported with MEX is '6.3.x'. For a list of currently supported compilers see: https://www.mathworks.com/support/compilers/current_release.
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status

Makefile:247: recipe for target 'spm_sample_vol.mexa64' failed
make: *** [spm_sample_vol.mexa64] Error 255
Run Code Online (Sandbox Code Playgroud)

任何建议将不胜感激!我不是专家,所以如果你能提供具体的命令来遵循我真的很感激。本

gcc

3
推荐指数
1
解决办法
7594
查看次数

标签 统计

gcc ×1