You are not logged in.
error: extra qualification 'CEGUI::OpenGLTexture::' on member 'LoadTGA'
Where the declaration of LoadTGA is:
tImageTGA* OpenGLTexture::LoadTGA(const unsigned char* buffer, size_t buffer_size);
and is a member of class OpenGLTexture.
This also often happens in programs with something like this:
namespace X
{
class Y
{
public:
Y::Y() { /* ERROR */ }
};
}
Is this a compatibility problem in G++? OGRE built fine a while ago.
Anyway, what's going on and how can I fix it?
Thanks in advance.
Offline
error: extra qualification 'CEGUI::OpenGLTexture::' on member 'LoadTGA'
I get the same error compiling CEGUI, so I can not yet get OGRE running. Please help.
Offline
The Vaxorcist wrote:error: extra qualification 'CEGUI::OpenGLTexture::' on member 'LoadTGA'
I get the same error compiling CEGUI, so I can not yet get OGRE running. Please help.
I figured it out:
CEGUI is in community try that, if it doesn't work then:
Use the CEGUI PKGBUILD from CVS, It has a patch for gcc4
http://cvs.archlinux.org/cgi-bin/viewcv … ag=CURRENT
(click on the files and then on the download link)
OGRE should build fine.
Offline
I feel a bit stupid. I can not access [community] even though I have it uncommented in pacman.conf. I have a fresh Arch64 installed.
$ sudo pacman -Sy
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
:: community is up to date
$ sudo pacman -S cegui
cegui: not found in sync db
Also I am afraid I do not understand how to use the link in last post. Which files should I click on? I got a PKGBuild file, can I use it with yaourt perhaps?
Sorry for asking so much. I've been on windows lately and have a bit "jetlag". I use Virtools on my Windows setup but want to learn how to make game-mechanics with open-source tools. I chose Arch as base because of speed, very fast. Hope to get a working FOSS game studio soon :-)
Offline
There is no community repo for Arch64 yet.
Put the PKGBUILD file in a directory and run:
makepkg
Then log in as root and install with:
pacman -A <pkgname>
where <pkgname> is the name of the package.
Offline
I got errors with those files:
$ makepkg
..................
==> Validating source files with MD5sums
cegui_mk2-source-0.4.1.tar.bz2 ... Passed
cegui-0.4.1-gcc-41.patch ... FAILED
I edited the pkgbuild to get around the md5sum failure but I got the same error when compiling as before:
error: extra qualification 'CEGUI::OpenGLTexture::' on member 'LoadTGA'
Offline
Try redownloading the patch, it must not have been applied properly. Also, check that there is a patch command in the PKGBUILD.
Offline