You are not logged in.

#1 2006-09-27 22:42:11

The Vaxorcist
Member
Registered: 2005-12-08
Posts: 18

Problem building CEGUI, OGRE, Netpanzer, and others.

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

#2 2006-10-29 23:39:36

halus
Member
Registered: 2004-08-30
Posts: 13

Re: Problem building CEGUI, OGRE, Netpanzer, and others.

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.

Offline

#3 2006-10-30 03:22:36

The Vaxorcist
Member
Registered: 2005-12-08
Posts: 18

Re: Problem building CEGUI, OGRE, Netpanzer, and others.

halus wrote:
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

#4 2006-10-31 14:19:45

halus
Member
Registered: 2004-08-30
Posts: 13

Re: Problem building CEGUI, OGRE, Netpanzer, and others.

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

#5 2006-10-31 23:49:00

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problem building CEGUI, OGRE, Netpanzer, and others.

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

#6 2006-11-05 12:45:26

halus
Member
Registered: 2004-08-30
Posts: 13

Re: Problem building CEGUI, OGRE, Netpanzer, and others.

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

#7 2006-11-08 23:23:02

The Vaxorcist
Member
Registered: 2005-12-08
Posts: 18

Re: Problem building CEGUI, OGRE, Netpanzer, and others.

Try redownloading the patch, it must not have been applied properly. Also, check that there is a patch command in the PKGBUILD.

Offline

Board footer

Powered by FluxBB