Mac m1 m1max 芯片debug GoLand爆各种错误问题

简介: Mac m1 m1max 芯片debug GoLand爆各种错误问题

问题1


debug 出现报错: rosetta error: failed to allocate vm space for aot


问题出现原因:idea版本可能过低或者和安装非本系统软件导致的

解决问题:将版本升级到2021.2以上,且下载mac m1芯片版本的,注意别下载错版本


相关地址:https://www.jetbrains.com/go/download/other.html

1.png问题2

debug 出现报错:Error running ‘go build MyTest.go’: Debugging programs compiled with go version go1.16.3 darwin/amd64 is not supported. Use go sdk for darwin/arm64.


问题原因:安装了其他系统的go jdk

解决方法:下载mac m1芯片的jdk即可

相关地址:https://golang.google.cn/dl/

1.png

相关文章
|
6月前
|
前端开发 应用服务中间件 C++
使用Servlet实现表白墙网站(前后端互联)小项目,Mac的M1(没有setting)在哪里找到Setting页面,下载smart tomcat及smart tomcat的配置。(二)
使用Servlet实现表白墙网站(前后端互联)小项目,Mac的M1(没有setting)在哪里找到Setting页面,下载smart tomcat及smart tomcat的配置。
使用Servlet实现表白墙网站(前后端互联)小项目,Mac的M1(没有setting)在哪里找到Setting页面,下载smart tomcat及smart tomcat的配置。(二)
|
7月前
|
应用服务中间件 Linux nginx
Mac Nginx 配置文件使用(nginx.conf,包含M1)
Mac Nginx 配置文件使用(nginx.conf,包含M1)
275 0
|
7月前
|
Linux Docker Python
|
7天前
|
Java Android开发 芯片
Mac M芯片安装DBeaver Ultimate
Mac M芯片安装DBeaver Ultimate
12 0
Mac M芯片安装DBeaver Ultimate
|
1月前
|
存储 Ubuntu Linux
如何在 Mac M1 (Apple Silicon) 上安装 ABAP 1909
如何在 Mac M1 (Apple Silicon) 上安装 ABAP 1909
14 0
|
6月前
|
JSON 前端开发 JavaScript
使用Servlet实现表白墙网站(前后端互联)小项目,Mac的M1(没有setting)在哪里找到Setting页面,下载smart tomcat及smart tomcat的配置。(一)
使用Servlet实现表白墙网站(前后端互联)小项目,Mac的M1(没有setting)在哪里找到Setting页面,下载smart tomcat及smart tomcat的配置。
|
3月前
mac m1 多线程下载
mac m1 多线程下载
21 1
|
4月前
|
数据安全/隐私保护 芯片 开发者
Mac M1/M2芯片电脑问题解决汇总
Mac M1/M2芯片电脑问题解决汇总
147 0
|
6月前
|
XML 安全 应用服务中间件
HTTPS工作过程,国家为什么让http为什么要换成https,Tomcat在MAC M1电脑如何安装,Tomcat的详细介绍
HTTPS工作过程,国家为什么让http为什么要换成https,Tomcat在MAC M1电脑如何安装,Tomcat的详细介绍
|
8月前
Mac M1 报错 ld: library not found for -lSystem
Mac M1 报错 ld: library not found for -lSystem
240 0