duplicate symbols for architecture i386 clang

后端 未结 24 1198
悲哀的现实
悲哀的现实 2020-11-29 20:33

I\'ve seen several posts on google and stackoverflow related to this error, I\'ve read all of them but still fetching the problem , I will be glad for a solution. Here is th

24条回答
  •  谎友^
    谎友^ (楼主)
    2020-11-29 20:50

    In certain cases you can also get a "duplicate symbols for architecture..." error due to the fact that you accidentally declared a constant (const) with the same name in two different files.

提交回复
热议问题