[sisyphus] FreeOrion 0.3.15-alt1.svn3727.4

Sergey a_s_y на sama.ru
Сб Апр 2 18:20:18 UTC 2011


On Saturday 02 April 2011, REAL wrote:

> > А на сколько сложно для 5.1 апдейт сделать ? В лоб не получилось - ругается
> > на всякие разные макросы.
> 
> а поконкретней?

В 5.1 нет макроса %cmake, попытка переноса только макросов получается неудачной.
Если использовать старый спек, сборка встаёт вот так:

g++ -o UI/CUIStyle-human.o -c -Wall -Wno-parentheses -Wno-deprecated -O2 -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -DFREEORION_LINUX -DENABLE_BINRELOC -DFREEORION_BUILD_HUMAN -DGL_GLEXT_PROTOTYPES -I/usr/include/python2.5 -I/usr/include/OGRE -I/usr/include/graphviz -Ilog4cpp UI/CUIStyle.cpp
g++ -o UI/CUIWnd-human.o -c -Wall -Wno-parentheses -Wno-deprecated -O2 -DOGRE_GUI_GLX -DOGRE_CONFIG_LITTLE_ENDIAN -DFREEORION_LINUX -DENABLE_BINRELOC -DFREEORION_BUILD_HUMAN -DGL_GLEXT_PROTOTYPES -I/usr/include/python2.5 -I/usr/include/OGRE -I/usr/include/graphviz -Ilog4cpp UI/CUIWnd.cpp
UI/CUIWnd.cpp: In constructor 'CUIWnd::CUIWnd(const std::string&, GG::X, GG::Y, GG::X, GG::Y, GG::Flags<GG::WndFlag>)':
UI/CUIWnd.cpp:149: error: 'ClipToClientAndWindowSeparately' was not declared in this scope
UI/CUIWnd.cpp:149: error: 'SetChildClippingMode' was not declared in this scope
UI/CUIWnd.cpp: In member function 'void CUIWnd::InitButtons()':
UI/CUIWnd.cpp:297: error: 'class CUI_CloseButton' has no member named 'NonClientChild'
UI/CUIWnd.cpp:305: error: 'class CUI_MinRestoreButton' has no member named 'NonClientChild'
UI/CUIWnd.cpp: At global scope:
UI/CUIWnd.cpp:119: warning: '<unnamed>::dummy' defined but not used
scons: *** [UI/CUIWnd-human.o] Error 1
scons: building terminated because of errors.
error: Bad exit status from /home/asy/tmp/rpm-tmp.68448 (%build)

Какая-то библиотека системная слишком старая ? Последнюю сборку ещё не пробовал 
пересобрать.

-- 
С уважением, Сергей
a_s_y at sama.ru


Подробная информация о списке рассылки Sisyphus