源代码安装?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
lxyscience
帖子: 251
注册时间: 2007-07-11 17:19

源代码安装?

#1

帖子 lxyscience » 2007-07-28 17:58

在没有./configure,如何通过源代码安装软件?

也没有README和INSTALL

什么?如果有makefile文件就可以直接make?

是的,的确有makefile,但是make后出现了很多错误。

去找google和baidu二位问问?

是的,刚刚从他们那里回来,问题仍未解决。
附件
Screenshot-freera++ - 文件浏览器.png
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#2

帖子 BigSnake.NET » 2007-07-28 18:29

doc裏面找找..
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
lxyscience
帖子: 251
注册时间: 2007-07-11 17:19

#3

帖子 lxyscience » 2007-07-28 18:31

make后出现:
./include/widgets.h:53: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:53: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:54: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/widgets.h:56: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:65: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:65: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:84: 错误: ‘SDL_Event’ 未声明
./include/widgets.h:85: 错误: ‘SDL_Surface’ 未声明
./include/widgets.h:87: 错误: ‘Uint8’ 未声明
./include/widgets.h:87: 错误: ‘Uint8’ 未声明
./include/widgets.h:87: 错误: ‘Uint8’ 未声明
./include/widgets.h:88: 错误: ‘Uint8’ 未声明
./include/widgets.h:88: 错误: ‘Uint8’ 未声明
./include/widgets.h:88: 错误: ‘Uint8’ 未声明
./include/widgets.h:89: 错误: ‘Uint8’ 未声明
./include/widgets.h:89: 错误: ‘Uint8’ 未声明
./include/widgets.h:89: 错误: ‘Uint8’ 未声明
./include/widgets.h:90: 错误: ‘Uint32’ 未声明
./include/widgets.h:91: 错误: ‘SDL_Color’ 未声明
./include/widgets.h:91: 错误: ‘void ButtonClass::setcolor(int)’ 无法被重载
./include/widgets.h:90: 错误: 与 ‘void ButtonClass::setcolor(int)’
./include/widgets.h:92: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:106: 错误: ‘SDL_Color’ 没有命名一个类型
./include/widgets.h:109: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:109: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:113: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/widgets.h:114: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:120: 错误: ‘Uint8’ 没有命名一个类型
./include/widgets.h:137: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:137: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:141: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:141: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:144: 错误: ‘SDL_Event’ 未声明
./include/widgets.h:153: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:153: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:162: 错误: ‘Uint16’ 没有命名一个类型
./include/widgets.h:165: 错误: ‘Uint8’ 没有命名一个类型
./include/widgets.h:183: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:185: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:185: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:205: 错误: ‘SDL_Event’ 未声明
./include/widgets.h:207: 错误: ‘Uint32’ 未声明
./include/widgets.h:208: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:217: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:222: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:222: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:224: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/widgets.h:238: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:239: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:240: 错误: ‘SDL_Event’ 未声明
./include/widgets.h:244: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:244: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:248: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:250: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:250: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:253: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/widgets.h:254: 错误: ‘Uint32’ 没有命名一个类型
./include/widgets.h:259: 错误: ‘Uint16’ 没有命名一个类型
./include/widgets.h:270: 错误: ‘SDL_Event’ 未声明
./include/widgets.h:278: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/widgets.h:278: 错误: expected ‘;’ before ‘*’ token
./include/widgets.h:280: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/widgets.h:283: 错误: ‘Uint32’ 没有命名一个类型
./include/pause_menu.h:26: 错误: ‘SDL_Color’ 没有命名一个类型
./include/pause_menu.h:38: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/pause_menu.h:38: 错误: expected ‘;’ before ‘*’ token
./include/config.h:12: 错误: ‘Uint8’ 没有命名一个类型
./include/config.h:21: 错误: ‘Uint32’ 没有命名一个类型
./include/config.h:24: 错误: ‘Uint16’ 没有命名一个类型
./include/config.h:29: 错误: ‘Uint8’ 没有命名一个类型
./include/config.h:50: 错误: ‘SDL_GrabMode’ 没有命名一个类型
./include/config.h:52: 错误: ‘SDLKey’ 没有命名一个类型
./include/config.h:54: 错误: ‘Uint8’ 没有命名一个类型
./include/config.h:56: 错误: ‘Uint8’ 没有命名一个类型
./include/common.h:95: 错误: ‘Uint8’ 没有命名一个类型
./include/common.h:99: 错误: ‘Uint16’ 没有命名一个类型
./include/common.h:118: 错误: ‘Uint32’ 没有命名一个类型
./include/common.h:119: 错误: ‘Uint8’ 没有命名一个类型
./include/common.h:120: 错误: ‘Uint8’ 没有命名一个类型
./include/common.h:121: 错误: ‘Uint16’ 没有命名一个类型
./include/common.h:126: 错误: ‘Uint16’ 没有命名一个类型
./include/common.h:127: 错误: ‘Uint16’ 没有命名一个类型
./include/game.h:24: 错误: ‘Uint8’ 没有命名一个类型
./include/game.h:25: 错误: ‘Uint32’ 没有命名一个类型
./include/game.h:27: 错误: ‘Uint8’ 没有命名一个类型
./include/message.h:15: 错误: ‘Uint32’ 未声明
./include/message.h:17: 错误: ‘Uint32’ 未声明
./include/message.h:20: 错误: ‘Uint32’ 没有命名一个类型
./include/message.h: In constructor ‘Message::Message(const std::string&, int)’:
./include/message.h:15: 错误: 类 ‘Message’ 没有名为 ‘deltime’ 的字段
./include/message.h: In member function ‘bool Message::expired(int) const’:
./include/message.h:17: 错误: ‘deltime’ 在此作用域中尚未声明
./include/message.h: At global scope:
./include/message.h:27: 错误: ‘Uint32’ 未声明
./include/message.h:28: 错误: ‘Uint32’ 没有命名一个类型
./include/message.h:30: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/message.h:30: 错误: expected ‘;’ before ‘*’ token
./include/message.h:37: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/message.h:37: 错误: expected ‘;’ before ‘*’ token
./include/message.h:39: 错误: ‘Uint32’ 没有命名一个类型
./include/message.h: In member function ‘void MessagePool::setWidth(int)’:
./include/message.h:27: 错误: ‘class MessagePool’ 没有名为 ‘width’ 的成员
./include/buildqueue.h: At global scope:
./include/buildqueue.h:17: 错误: ‘Uint8’ 在此作用域中尚未声明
./include/buildqueue.h:17: 错误: 模板参数 2 无效
./include/buildqueue.h:17: 错误: 模板参数 4 无效
./include/buildqueue.h:17: 错误: invalid type in declaration before ‘;’ token
./include/buildqueue.h:30: 错误: ‘Uint8’ 未声明
./include/buildqueue.h:30: 错误: ‘Uint8’ 未声明
./include/buildqueue.h:45: 错误: ‘Uint32’ 没有命名一个类型
./include/unitorstructure.h:53: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:61: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:64: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:67: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:70: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:73: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:84: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:102: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:114: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:117: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:126: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:129: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:130: 错误: ‘Uint8’ 未声明
./include/unitorstructure.h: In constructor ‘UnitOrStructureType::UnitOrStructureType()’:
./include/unitorstructure.h:56: 错误: 类 ‘UnitOrStructureType’ 没有名为 ‘ptype’ 的字段
./include/unitorstructure.h: In member function ‘void UnitOrStructureType::setPType(int)’:
./include/unitorstructure.h:130: 错误: ‘ptype’ 在此作用域中尚未声明
./include/unitorstructure.h: At global scope:
./include/unitorstructure.h:151: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:153: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:155: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:161: 错误: ‘Uint32’ 没有命名一个类型
./include/unitorstructure.h:163: 错误: ‘Sint8’ 没有命名一个类型
./include/unitorstructure.h:165: 错误: ‘Sint8’ 没有命名一个类型
./include/unitorstructure.h:167: 错误: ‘Sint8’ 未声明
./include/unitorstructure.h:169: 错误: ‘Sint8’ 未声明
./include/unitorstructure.h:171: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:173: 错误: ‘Uint8’ 没有命名一个类型
./include/unitorstructure.h:175: 错误: ‘Uint8’ 未声明
./include/unitorstructure.h:177: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:179: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:190: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h:198: 错误: ‘Uint32’ 没有命名一个类型
./include/unitorstructure.h:200: 错误: ‘Uint32’ 未声明
./include/unitorstructure.h:200: 错误: ‘Uint8’ 未声明
./include/unitorstructure.h:218: 错误: ‘Sint16’ 未声明
./include/unitorstructure.h:223: 错误: ‘Uint32’ 没有命名一个类型
./include/unitorstructure.h:225: 错误: ‘Uint16’ 没有命名一个类型
./include/unitorstructure.h: In member function ‘void UnitOrStructure::referTo()’:
./include/unitorstructure.h:202: 错误: ‘references’ 在此作用域中尚未声明
./include/unitorstructure.h: In member function ‘void UnitOrStructure::select()’:
./include/unitorstructure.h:210: 错误: ‘showorder_timer’ 在此作用域中尚未声明
./include/unitorstructure.h: In member function ‘void UnitOrStructure::unSelect()’:
./include/unitorstructure.h:212: 错误: ‘showorder_timer’ 在此作用域中尚未声明
./include/unitorstructure.h: In constructor ‘UnitOrStructure::UnitOrStructure()’:
./include/unitorstructure.h:233: 错误: 类 ‘UnitOrStructure’ 没有名为 ‘references’ 的字段
./include/unitorstructure.h:233: 错误: 类 ‘UnitOrStructure’ 没有名为 ‘targetcell’ 的字段
./include/unitorstructure.h:234: 错误: 类 ‘UnitOrStructure’ 没有名为 ‘showorder_timer’ 的字段
./include/unitorstructure.h: In member function ‘void UnitOrStructure::unrefer()’:
./include/unitorstructure.h:247: 错误: ‘references’ 在此作用域中尚未声明
./include/unitorstructure.h: In member function ‘void UnitOrStructure::remove()’:
./include/unitorstructure.h:259: 错误: ‘references’ 在此作用域中尚未声明
./include/player.h: At global scope:
./include/player.h:25: 错误: ‘Uint8’ 未声明
./include/player.h:28: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:32: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:34: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:35: 错误: ‘Uint8’ 未声明
./include/player.h:42: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:44: 错误: ‘Sint32’ 未声明
./include/player.h:45: 错误: ‘Sint32’ 未声明
./include/player.h:46: 错误: ‘Sint32’ 没有命名一个类型
./include/player.h:53: 错误: ‘Uint8’ 未声明
./include/player.h:53: 错误: ‘Uint8’ 未声明
./include/player.h:54: 错误: expected ‘;’ before ‘(’ token
./include/player.h:58: 错误: ‘Uint32’ 未声明
./include/player.h:58: 错误: ‘Uint32’ 未声明
./include/player.h:58: 错误: ‘Uint8’ 未声明
./include/player.h:67: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:68: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:70: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:71: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:73: 错误: ‘Uint16’ 没有命名一个类型
./include/player.h:76: 错误: ‘Uint8’ 未声明
./include/player.h:91: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:92: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:93: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:94: 错误: ‘Uint16’ 没有命名一个类型
./include/player.h:100: 错误: expected ‘;’ before ‘(’ token
./include/player.h:103: 错误: expected `;' before ‘void’
./include/player.h:112: 错误: ‘Uint32’ 未声明
./include/player.h:112: 错误: ‘Uint8’ 未声明
./include/player.h:112: 错误: ‘Uint8’ 未声明
./include/player.h:112: 错误: ‘Uint8’ 未声明
./include/player.h:114: 错误: ‘Uint32’ 未声明
./include/player.h:114: 错误: ‘Uint8’ 未声明
./include/player.h:114: 错误: ‘Uint8’ 未声明
./include/player.h:114: 错误: ‘Uint8’ 未声明
./include/player.h:129: 错误: ‘Uint8’ 在此作用域中尚未声明
./include/player.h:129: 错误: 模板参数 1 无效
./include/player.h:129: 错误: 模板参数 3 无效
./include/player.h:129: 错误: 模板参数 4 无效
./include/player.h:133: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:136: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:138: 错误: ‘Sint32’ 没有命名一个类型
./include/player.h:139: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:141: 错误: ‘Uint32’ 没有命名一个类型
./include/player.h:143: 错误: ‘Uint16’ 没有命名一个类型
./include/player.h:149: 错误: ‘Uint32’ 在此作用域中尚未声明
./include/player.h:149: 错误: 模板参数 1 无效
./include/player.h:149: 错误: 模板参数 3 无效
./include/player.h:149: 错误: 模板参数 4 无效
./include/player.h:150: 错误: ‘Uint32’ 在此作用域中尚未声明
./include/player.h:150: 错误: 模板参数 1 无效
./include/player.h:150: 错误: 模板参数 3 无效
./include/player.h:150: 错误: 模板参数 4 无效
./include/player.h:158: 错误: ‘Uint8’ 在此作用域中尚未声明
./include/player.h:158: 错误: 模板参数 1 无效
./include/player.h:158: 错误: 模板参数 2 无效
./include/player.h:168: 错误: ‘Uint16’ 没有命名一个类型
./include/player.h:170: 错误: ‘Uint8’ 没有命名一个类型
./include/player.h:171: 错误: ‘Uint16’ 没有命名一个类型
./include/player.h: In member function ‘bool Player::setSide(int)’:
./include/player.h:37: 错误: ‘playerside’ 在此作用域中尚未声明
./include/player.h: In member function ‘void Player::setMoney(int)’:
./include/player.h:45: 错误: ‘money’ 在此作用域中尚未声明
./include/player.h: In member function ‘size_t Player::getNumAllies() const’:
./include/player.h:81: 错误: ‘unallycalls’ 在此作用域中尚未声明
./include/player.h: In member function ‘void Player::addUnitKill()’:
./include/player.h:89: 错误: ‘unitkills’ 在此作用域中尚未声明
./include/player.h: In member function ‘void Player::addStructureKill()’:
./include/player.h:90: 错误: ‘structurekills’ 在此作用域中尚未声明
./include/player.h: In member function ‘Structure*& Player::getPrimary(const UnitOrStructureType*)’:
./include/player.h:98: 错误: ‘const class UnitOrStructureType’ 没有名为 ‘getPType’ 的成员
./include/playerpool.h: At global scope:
./include/playerpool.h:35: 错误: ‘Uint8’ 未声明
./include/playerpool.h:37: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h:40: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h:50: 错误: ‘Uint8’ 未声明
./include/playerpool.h:51: 错误: ‘Uint8’ 未声明
./include/playerpool.h:52: 错误: expected ‘;’ before ‘(’ token
./include/playerpool.h:58: 错误: expected `;' before ‘Uint8’
./include/playerpool.h:58: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h:61: 错误: ‘Uint8’ 未声明
./include/playerpool.h:62: 错误: ‘Uint8’ 未声明
./include/playerpool.h:64: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h:69: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h:86: 错误: ‘Uint16’ 没有命名一个类型
./include/playerpool.h:87: 错误: ‘Uint8’ 未声明
./include/playerpool.h:87: 错误: ‘Uint32’ 未声明
./include/playerpool.h:96: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h:99: 错误: ‘Uint8’ 未声明
./include/playerpool.h:104: 错误: ‘Uint32’ 没有命名一个类型
./include/playerpool.h:107: 错误: ‘Uint16’ 在此作用域中尚未声明
./include/playerpool.h:107: 错误: 模板参数 1 无效
./include/playerpool.h:107: 错误: 模板参数 2 无效
./include/playerpool.h:108: 错误: ‘Uint8’ 没有命名一个类型
./include/playerpool.h: In member function ‘Player* PlayerPool::getLPlayer()’:
./include/playerpool.h:45: 错误: ‘localPlayer’ 在此作用域中尚未声明
./include/graphicsengine.h: At global scope:
./include/graphicsengine.h:24: 错误: ‘Uint16’ 没有命名一个类型
./include/graphicsengine.h:28: 错误: ‘Uint16’ 没有命名一个类型
./include/graphicsengine.h:32: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Rect’
./include/graphicsengine.h:32: 错误: expected ‘;’ before ‘*’ token
./include/graphicsengine.h:36: 错误: expected `;' before ‘void’
./include/graphicsengine.h:36: 错误: ‘SDL_Surface’ 未声明
./include/graphicsengine.h:43: 错误: ‘SDL_Surface’ 未声明
./include/graphicsengine.h:45: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/graphicsengine.h:45: 错误: expected ‘;’ before ‘*’ token
./include/graphicsengine.h:48: 错误: expected `;' before ‘class’
./include/graphicsengine.h:50: 错误: ‘Uint32’ 未声明
./include/graphicsengine.h:50: 错误: ‘Sint16’ 未声明
./include/graphicsengine.h:50: 错误: ‘Sint16’ 未声明
./include/graphicsengine.h:58: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:58: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:58: 错误: ‘Uint32’ 未声明
./include/graphicsengine.h:59: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:59: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:59: 错误: ‘Uint32’ 未声明
./include/graphicsengine.h:60: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:60: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:60: 错误: ‘Uint32’ 未声明
./include/graphicsengine.h:62: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:62: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:62: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:63: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:63: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:63: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:64: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:65: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:65: 错误: ‘SDL_Rect’ 未声明
./include/graphicsengine.h:67: 错误: ‘Sint16’ 未声明
./include/graphicsengine.h:67: 错误: ‘Sint16’ 未声明
./include/graphicsengine.h:68: 错误: ‘Sint16’ 未声明
./include/graphicsengine.h:68: 错误: ‘Sint16’ 未声明
./include/graphicsengine.h:68: 错误: ‘Uint16’ 未声明
./include/graphicsengine.h:68: 错误: ‘Uint32’ 未声明
./include/graphicsengine.h:69: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/graphicsengine.h:69: 错误: expected ‘;’ before ‘*’ token
./include/graphicsengine.h:70: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/graphicsengine.h:70: 错误: expected ‘;’ before ‘*’ token
./include/graphicsengine.h:71: 错误: ‘Uint16’ 没有命名一个类型
./include/graphicsengine.h:72: 错误: ‘Uint16’ 没有命名一个类型
./include/graphicsengine.h:73: 错误: ‘Uint16’ 没有命名一个类型
./include/graphicsengine.h:74: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/graphicsengine.h:77: 错误: ‘Uint32’ 没有命名一个类型
./include/graphicsengine.h:80: 错误: ‘SDL_Rect’ 没有命名一个类型
./include/graphicsengine.h:82: 错误: ‘Uint32’ 没有命名一个类型
./include/graphicsengine.h:88: 错误: ‘Uint16’ 在此作用域中尚未声明
./include/graphicsengine.h:88: 错误: 模板参数 1 无效
./include/graphicsengine.h:88: 错误: 模板参数 2 无效
./include/graphicsengine.h:91: 错误: ‘Uint32’ 没有命名一个类型
./include/graphicsengine.h:92: 错误: ‘Uint32’ 没有命名一个类型
./include/graphicsengine.h:97: 错误: ‘Uint8’ 没有命名一个类型
./include/graphicsengine.h:98: 错误: ‘Uint8’ 没有命名一个类型
./include/graphicsengine.h:101: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/graphicsengine.h:101: 错误: expected ‘;’ before ‘*’ token
./include/graphicsengine.h:103: 错误: ‘Uint32’ 在此作用域中尚未声明
./include/graphicsengine.h:103: 错误: 模板参数 1 无效
./include/graphicsengine.h:103: 错误: 模板参数 2 无效
./include/inifile.h:47: 错误: ‘Uint32’ 未声明
./include/inifile.h:50: 错误: ‘Uint32’ 未声明
./include/inifile.h:51: 错误: ‘Uint32’ 未声明
./include/inifile.h:52: 错误: ‘Uint32’ 未声明
./include/soundcommon.h:15: 错误: ‘Uint8’ 在此作用域中尚未声明
./include/soundcommon.h:15: 错误: 模板参数 1 无效
./include/soundcommon.h:15: 错误: 模板参数 2 无效
./include/soundcommon.h:15: 错误: invalid type in declaration before ‘;’ token
./include/soundengine.h:11: 错误: ISO C++ 不允许声明无类型的 ‘Mix_Chunk’
./include/soundengine.h:11: 错误: expected ‘;’ before ‘*’ token
./include/soundengine.h:42: 错误: ‘Uint8’ 未声明
./include/soundengine.h:44: 错误: ‘Uint8’ 未声明
./include/../vfs/archive.h:19: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:20: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:22: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:23: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:24: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:25: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:26: 错误: ‘readLine’ 声明为 ‘virtual’ field
./include/../vfs/archive.h:26: 错误: expected ‘;’ before ‘(’ token
./include/../vfs/archive.h:31: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:32: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:33: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:34: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:35: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:36: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:37: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:39: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:39: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:40: 错误: ‘Uint32’ 未声明
./include/../vfs/archive.h:40: 错误: ‘Sint32’ 未声明
./include/../vfs/archive.h:42: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:43: 错误: ‘Uint32’ 没有命名一个类型
./include/../vfs/archive.h:44: 错误: ‘getPath’ 声明为 ‘virtual’ field
./include/../vfs/archive.h:44: 错误: expected ‘;’ before ‘(’ token
./include/vfs.h:17: 错误: expected `)' before ‘filenum’
./include/vfs.h:27: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:31: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:35: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:39: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:43: 错误: ‘Uint32’ 未声明
./include/vfs.h:48: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:52: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:56: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:60: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:86: 错误: ‘Uint32’ 未声明
./include/vfs.h:90: 错误: ‘Sint32’ 未声明
./include/vfs.h:94: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:98: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h:108: 错误: ‘Uint32’ 没有命名一个类型
./include/vfs.h: In destructor ‘VFile::~VFile()’:
./include/vfs.h:23: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘char* VFile::getLine(char*, int)’:
./include/vfs.h:45: 错误: ‘class Archive’ 没有名为 ‘readLine’ 的成员
./include/vfs.h:45: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘void VFile::writeLine(const char*)’:
./include/vfs.h:66: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘int VFile::vfs_printf(const char*, ...)’:
./include/vfs.h:73: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘int VFile::vfs_vprintf(const char*, char*)’:
./include/vfs.h:79: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘void VFile::flush()’:
./include/vfs.h:83: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘void VFile::seekSet(int)’:
./include/vfs.h:88: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘void VFile::seekCur(int)’:
./include/vfs.h:92: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: In member function ‘const char* VFile::getPath()’:
./include/vfs.h:105: 错误: ‘class Archive’ 没有名为 ‘getPath’ 的成员
./include/vfs.h:105: 错误: ‘filenum’ 在此作用域中尚未声明
./include/vfs.h: At global scope:
./include/vfs.h:123: 错误: ‘const char* VFS_getFirstExisting’ 被重新声明为不同意义的符号
./include/vfs.h:122: 错误: ‘const char* VFS_getFirstExisting(const std::vector<const char*, std::allocator<const char*> >&)’ 的前一个声明
./include/vfs.h:123: 错误: ‘Uint32’ 在此作用域中尚未声明
./include/vfs.h:123: 错误: expected primary-expression before ‘...’ token
./include/vqa.h:10: 错误: ‘Uint8’ 在此作用域中尚未声明
./include/vqa.h:10: 错误: ‘Uint16’ 在此作用域中尚未声明
./include/vqa.h:10: 错误: ‘Uint32’ 在此作用域中尚未声明
./include/vqa.h:14: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:15: 错误: ‘Uint32’ 没有命名一个类型
./include/vqa.h:16: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:17: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:18: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:19: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:20: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:21: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:22: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:23: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:24: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:25: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:26: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:27: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:28: 错误: ‘Uint32’ 没有命名一个类型
./include/vqa.h:29: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:30: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:31: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:32: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:50: 错误: ‘Uint32’ 没有命名一个类型
./include/vqa.h:51: 错误: ‘SDL_Surface’ 未声明
./include/vqa.h:53: 错误: ‘Uint8’ 未声明
./include/vqa.h:54: 错误: ‘Uint8’ 未声明
./include/vqa.h:55: 错误: ‘SDL_Color’ 未声明
./include/vqa.h:58: 错误: ‘Uint8’ 未声明
./include/vqa.h:64: 错误: ‘Uint32’ 没有命名一个类型
./include/vqa.h:65: 错误: ‘Uint16’ 没有命名一个类型
./include/vqa.h:66: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:66: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:67: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:67: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:68: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:68: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:69: 错误: ISO C++ 不允许声明无类型的 ‘Uint32’
./include/vqa.h:69: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:70: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:71: 错误: ‘Uint32’ 没有命名一个类型
./include/vqa.h:73: 错误: ‘Sint32’ 没有命名一个类型
./include/vqa.h:74: 错误: ‘Sint32’ 没有命名一个类型
./include/vqa.h:79: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:79: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:80: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:80: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:81: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:81: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:82: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/vqa.h:82: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:84: 错误: ‘Uint8’ 没有命名一个类型
./include/vqa.h:87: 错误: ISO C++ 不允许声明无类型的 ‘SDL_sem’
./include/vqa.h:87: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:88: 错误: ISO C++ 不允许声明无类型的 ‘SDL_sem’
./include/vqa.h:88: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:89: 错误: ISO C++ 不允许声明无类型的 ‘SDL_mutex’
./include/vqa.h:89: 错误: expected ‘;’ before ‘*’ token
./include/vqa.h:92: 错误: ‘SDL_AudioCVT’ 没有命名一个类型
./include/wsa.h:14: 错误: ISO C++ 不允许声明无类型的 ‘SDL_Surface’
./include/wsa.h:14: 错误: expected ‘;’ before ‘*’ token
./include/wsa.h:15: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/wsa.h:15: 错误: expected ‘;’ before ‘*’ token
./include/wsa.h:16: 错误: ISO C++ 不允许声明无类型的 ‘Uint8’
./include/wsa.h:16: 错误: expected ‘;’ before ‘*’ token
./include/wsa.h:17: 错误: ‘SDL_Color’ 没有命名一个类型
./include/wsa.h:18: 错误: ‘Uint8’ 没有命名一个类型
./include/wsa.h:21: 错误: ‘Uint16’ 没有命名一个类型
./include/wsa.h:22: 错误: ‘Uint16’ 没有命名一个类型
./include/wsa.h:23: 错误: ‘Uint16’ 没有命名一个类型
./include/wsa.h:24: 错误: ‘Uint16’ 没有命名一个类型
./include/wsa.h:25: 错误: ‘Uint16’ 没有命名一个类型
./include/wsa.h:26: 错误: ‘Uint32’ 没有命名一个类型
./include/wsa.h:27: 错误: ISO C++ 不允许声明无类型的 ‘Uint32’
./include/wsa.h:27: 错误: expected ‘;’ before ‘*’ token
freera.cpp: In function ‘int main(int, char**)’:
freera.cpp:81: 错误: ‘SDL_INIT_VIDEO’ 在此作用域中尚未声明
freera.cpp:81: 错误: ‘SDL_INIT_AUDIO’ 在此作用域中尚未声明
freera.cpp:81: 错误: ‘SDL_INIT_TIMER’ 在此作用域中尚未声明
freera.cpp:81: 错误: ‘SDL_Init’ 在此作用域中尚未声明
freera.cpp:82: 错误: ‘SDL_GetError’ 在此作用域中尚未声明
freera.cpp:92: 错误: ‘SDL_ShowCursor’ 在此作用域中尚未声明
freera.cpp:122: 错误: ‘struct ConfigType’ 没有名为 ‘intro’ 的成员
freera.cpp: In function ‘void cleanup()’:
freera.cpp:203: 错误: ‘SDL_Quit’ 在此作用域中尚未声明
make[1]: *** [freera.o] 错误 1
make[1]: Leaving directory `/home/topscientist/Desktop/freera++/src'
make: *** [default] 错误 2
头像
lxyscience
帖子: 251
注册时间: 2007-07-11 17:19

#4

帖子 lxyscience » 2007-07-28 18:33

BigSnake.NET 写了:doc裏面找找..
doc里面也没有
头像
aitilang
帖子: 1026
注册时间: 2007-04-28 21:38

#5

帖子 aitilang » 2007-07-28 18:47

代码有问题,这不是发布用的代码。
头像
lxyscience
帖子: 251
注册时间: 2007-07-11 17:19

#6

帖子 lxyscience » 2007-07-28 19:23

aitilang 写了:代码有问题,这不是发布用的代码。
当然是
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#7

帖子 BigSnake.NET » 2007-07-28 19:40

代码: 全选

$ ll
总用量 32K
-rw------- 1 bigsnake-net bigsnake-net 6.9K 2007-01-09 03:40 ChangeLog.txt
drwx------ 6 bigsnake-net bigsnake-net  144 2007-03-28 18:56 data
drwx------ 3 bigsnake-net bigsnake-net  144 2007-03-28 18:56 doc
-rw------- 1 bigsnake-net bigsnake-net 4.2K 2007-03-28 18:59 freera.log
-rw------- 1 bigsnake-net bigsnake-net 1.2K 2007-01-09 03:40 Makefile
drwx------ 7 bigsnake-net bigsnake-net  176 2007-03-28 18:56 projects
-rw------- 1 bigsnake-net bigsnake-net 3.2K 2007-01-26 03:29 README.txt
-rw------- 1 bigsnake-net bigsnake-net 3.4K 2007-03-04 02:51 SConstruct
drwx------ 8 bigsnake-net bigsnake-net  320 2007-03-28 18:56 setup
drwx------ 9 bigsnake-net bigsnake-net  304 2007-03-28 19:00 src
drwx------ 2 bigsnake-net bigsnake-net  112 2007-03-28 18:56 tests
-rw------- 1 bigsnake-net bigsnake-net 1.3K 2007-01-23 04:11 TODO.txt
drwx------ 6 bigsnake-net bigsnake-net  384 2007-03-28 18:56 tools
我找的是有README的

代码: 全选

-------------------------------------------------------------------------------
5. Compilation
-------------------------------------------------------------------------------

This section will outline how to successfully compile FreeRA.

5.1. Requirements
==============================
 
  Supported compilers:
  - GCC G++ version 3.3 or newer.
  - A recent verions of Dev C++ .

  Libraries:
  - SDL 1.2.8 or newer.
  - SDL_mixer 1.2.5 or newer.

5.2. Compiling with GCC
=======================

  Both Make and SConstruct files are provided for building; running "make"
  should work, as should "scons" if you have it installed.

5.3. Compiling with Dev C++
==============================

  Project files for Dev C++ are available in the projects directory.
  Assuming you have added the libraries to your path, just building should
  work.
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#8

帖子 BigSnake.NET » 2007-07-28 19:41

^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
nihui
帖子: 1746
注册时间: 2006-10-21 12:03
来自: Shanghai
联系:

#9

帖子 nihui » 2007-07-28 20:48

setup 文件夹里面找找哦~ :)
.

私人空间
附有 Magic Linux 2.1 最新开发日志~


미안하다, 사랑한다


欢迎来 #xfce-cn 中文频道~~
头像
lxyscience
帖子: 251
注册时间: 2007-07-11 17:19

#10

帖子 lxyscience » 2007-07-29 12:27

nihui 写了:setup 文件夹里面找找哦~ :)
里面没有
头像
lxyscience
帖子: 251
注册时间: 2007-07-11 17:19

#11

帖子 lxyscience » 2007-07-29 12:29

有所突破,可以进入allies & soviet,但是之后就跳出了。
好像缺少地图文件。
回复