Установка Ogre

Модератор: Модераторы разделов

BratSinot
Сообщения: 812
ОС: Slackware64

Установка Ogre

Сообщение BratSinot »

Ставлю Ogre. Пишу команды:

Код:

./bootstrap ./configure --with-platform=GLX --disable-freeimage make И вот после 'make' в консоли отображается ошибка: { In file included from /usr/include/c++/4.3/ext/hash_map:64, from ../../OgreMain/include/OgreStdHeaders.h:38, from ../../OgreMain/include/OgreMemoryManager.h:46, from ../../OgreMain/include/OgrePrerequisites.h:87, from ../../OgreMain/include/OgreRoot.h:33, from OgreILImageCodec.cpp:32: /usr/include/c++/4.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. In file included from OgreILImageCodec.cpp:42: /usr/local/include/IL/il.h:491: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:491: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:492: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:492: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:499: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:499: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:510: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:510: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:512: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:512: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:515: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:515: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:516: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:516: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:519: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:519: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:534: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:534: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:546: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:546: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:547: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:547: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:548: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:548: error: invalid use of ‘ILvoid’ /usr/local/include/IL/il.h:562: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/il.h:562: error: invalid use of ‘ILvoid’ In file included from OgreILImageCodec.cpp:43: /usr/local/include/IL/ilu.h:125: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:125: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:128: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:128: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:129: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:129: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:134: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:134: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:135: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:135: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:136: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:136: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:137: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:137: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:140: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:140: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:143: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:143: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:145: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:145: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:151: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:151: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:152: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:152: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:154: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:154: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:155: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:155: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h:168: error: ‘<anonymous>’ has incomplete type /usr/local/include/IL/ilu.h:168: error: invalid use of ‘ILvoid’ /usr/local/include/IL/ilu.h: In member function ‘virtual void Ogre::ILImageCodec::codeToFile(Ogre::MemoryDataStreamPtr&, const Ogre::String&, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const’: /usr/local/include/IL/ilu.h:143: error: too few arguments to function ‘ILboolean iluFlipImage(<type error>)’ OgreILImageCodec.cpp:82: error: at this point in file /usr/local/include/IL/il.h:512: error: too few arguments to function ‘ILenum ilGetError(<type error>)’ OgreILImageCodec.cpp:88: error: at this point in file /usr/local/include/IL/il.h: In member function ‘virtual std::pair<Ogre::SharedPtr<Ogre::MemoryDataStream>, Ogre::SharedPtr<Ogre::Codec::CodecData> > Ogre::ILImageCodec::decode(Ogre::DataStreamPtr&) const’: /usr/local/include/IL/il.h:512: error: too few arguments to function ‘ILenum ilGetError(<type error>)’ OgreILImageCodec.cpp:129: error: at this point in file /usr/local/include/IL/il.h: In member function ‘void Ogre::ILImageCodec::initialiseIL()’: /usr/local/include/IL/il.h:519: error: too few arguments to function ‘ILvoid ilInit(<type error>)’ OgreILImageCodec.cpp:278: error: at this point in file make[2]: *** [OgreILImageCodec.lo] Error 1 make[2]: Leaving directory `/home/hacker/Desktop/ogre/OgreMain/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hacker/Desktop/ogre/OgreMain' make: *** [all-recursive] Error 1 }

Ставлю вместе с:
SDL, SDL_Mixer, Mesa, FreeType, libpng, libmng, libtiff, libjpeg, zziplib, DevIL(плюс devel пакеты).
Операционка OpenSUSE 11.0
Спасибо сказали:
Аватара пользователя
Данил
Сообщения: 944
ОС: windows xp, cruncheee, ddwrt

Re: Установка Ogre

Сообщение Данил »

используй gcc32 заместо gcc43
И всё пучком
ASUS eee pc 701 [windowsXP sp3] [Ubuntu linux]
wi-fi router d-link dir-400 [ddWRT v24 SP1 linux]
[sony psp 2008 slim wi-fi netBSD]
nas d-link dsm-600

Противник HAL NETWORKMANAGER и других подобных паделок!!!
Спасибо сказали:
BratSinot
Сообщения: 812
ОС: Slackware64

Re: Установка Ogre

Сообщение BratSinot »

Данил писал(а):
26.08.2008 21:19
используй gcc32 заместо gcc43
И всё пучком


А использовать надо
/usr/include/c++/4.3/
Или
/usr/include/c++/3.3.3/?
И как это сделать?
Спасибо сказали: