您的位置:首页 > Web前端

Undefined symbols for architecture x86_64:"xxxxxx", referenced from:

2016-12-06 13:38 881 查看
问题:
Undefined symbols for architecture x86_64:
  "VZNetwork::VZSocket::socket_instance", referenced from:
      VZNetwork::VZSocket::initSocket() in VZSocket.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

解决方案:
socket_instance
变量是静态的,类型是int, 去掉static就可以了
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐