4463424 发表于 2024-11-30 19:56:54

火山go-cgo问题??

编译出现如下,应该怎么解决?

编译生成对应的Go源文件到目录"C:\Users\abc\Desktop\测试\_int\g01\release\project\"成功 [双击可跳转]
开始编译文件"g01_android_arm_6". 操作系统: android; CPU架构: arm; ARM架构: 6
错误: android/arm requires external (cgo) linking, but cgo is not enabled
错误: 使用所指定的本地编译器编译当前程序失败

4463424 发表于 2024-12-8 19:07:36

????

zmmhcc 发表于 2024-12-8 19:38:48

CGO未启动。可能是缺少C的库。

4463424 发表于 2024-12-8 22:35:59

zmmhcc 发表于 2024-12-8 19:38
CGO未启动。可能是缺少C的库。

哦,谢谢
页: [1]
查看完整版本: 火山go-cgo问题??