main.cpp first defined here 解决

main.cpp   first defined here 解决


作者Attilax ,  EMAIL:1466519819@qq.com 
来源:attilax的专栏
地址:http://blog.csdn.net/attilax


详细:/
//
D:\qtworkspace\atiStar\main.cpp:29: error: first defined here


原因:
//
并非是main.cpp有错误,,而是上面的其他文件,特别是头文件也许有错误...重复定义错误..
特别是static 变量的定义初始化..


解决:

查看在的文件,修理重复定义错误..



posted @ 2013-10-01 17:04  attilaxAti  阅读(93)  评论(0编辑  收藏  举报