Mach-o链接器错误 [英] Mach-o Linker Error

查看:84
本文介绍了Mach-o链接器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法构建我的项目,因为我不断收到此错误.据我了解,它处理了我在代码中使用的常量tagShift.如果有人可以帮助我解决此问题,我将不胜感激

I can't build my project because I keep getting this error. As I understood it deals with the constant tagShift I'm using in my code. I would appreciate if anyone could help me to solve this issue

推荐答案

我总有一天遇到同样的问题,并得出以下结果:

I had faced the same issue someday and figured out the result as:

在这里,您有恒定类型的int tagShit .因此,不能在两个或多个类中使用相同名称的常量类型变量.在一个类中更改该tagShit变量名(可以作为tagShift1或其他任何名称),这样做会很不错.

Here You have a int tagShit of constant type. So you can not make constant type variables of same name in two or more classes. Change that tagShit variable name in one of the class (may be as tagShift1 or anything else) and it will be good to go.

希望它会为您提供帮助.

Hope it'll help you.

这篇关于Mach-o链接器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆