You are not logged in.

#1 2009-10-09 17:29:01

flarup
Member

[RESOLVED] Problem installing GRRLIB 4.1.0

Hello,

After having used a rather old version of GRRLIB for all my Wii projects so far, I decided to upgrade when version 4.1.0 recently was released. I first upgraded my DevkitPro installation, and then rebooted the machine as requested in the GRRLIB documentation. However, when trying to install using install.bat (I run XP) I get the following error:

Building PNGU Library...

rm -f pngu.o libpngu.a
/c/devkitPro/devkitPPC/bin/powerpc-gekko-gcc -O2 -Wall -DGEKKO -mrvl -mcpu=750 -
meabi -mhard-float -I /c/devkitPro/libogc/include -c pngu.c -o pngu.o
make: /c/devkitPro/devkitPPC/bin/powerpc-gekko-gcc: Command not found
make: *** [pngu.o] Error 127

Installation Failed!

When I inspected my filesystem I could see that the file powerpc-gekko-gcc indeed was missing in that directory. Which package/util is it I need to install, before I can proceed with the GRRLIB installation?

Thanks a lot in advance.


Flarup

Offline

 

#2 2009-10-09 18:19:51

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

I don't remember the exact check box option but check everything related to devkitPPC/libogc/libfat/wii examples

Offline

 

#3 2009-10-09 18:40:57

flarup
Member

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

As a part trying to fix the problem I uninstalled my DevkitPro and made a full, clean installation of the latest version of DevkitPro. ALL checkboxes were checked when I installed it (I just installed again - just to be sure all was checked).

Is it possible that the missing file is something that came with older versions of DevkitPro, but no longer is supplied with DevkitPro?

Offline

 

#4 2009-10-09 18:45:55

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

In the file C:\devkitPro\devkitPPC\base_rules, what do you have for those three variables:

export PATH        :=    $(DEVKITPPC)/bin:$(PATH)
...
PREFIX    :=    powerpc-gekko-
...
export CC        :=    $(PREFIX)gcc

Offline

 

#5 2009-10-09 19:12:11

flarup
Member

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

export PATH        :=    $(DEVKITPPC)/bin:$(PORTLIBS)/bin:$(PATH)

PREFIX    :=    powerpc-eabi-

export CC        :=    $(PREFIX)gcc

Offline

 

#6 2009-10-09 19:17:11

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

This a quick fix, I'll try to modify the official version later.

In the file GRRLIB\lib\pngu\Makefile

Change:

CC  := $(DEVKITPPC)/bin/powerpc-gekko-gcc
AR  := $(DEVKITPPC)/bin/powerpc-gekko-ar

To:

CC  := $(DEVKITPPC)/bin/powerpc-eabi-gcc
AR  := $(DEVKITPPC)/bin/powerpc-eabi-ar

PS: are you on a 64 or 32 PC?

Offline

 

#7 2009-10-09 19:43:08

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

You will need to change this file too: GRRLIB/GRRLIB/Makefile

The modification could be viewed here: http://code.google.com/p/grrlib/source/ … B/Makefile

Thanks, for reporting the bug

Offline

 

#8 2009-10-09 19:43:56

flarup
Member

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

Thanks! The installation completed without problems now! Next step is to update my code to use the new GRRLIB version smile

I'm running on an Acer Aspire One D150 with XP.

Offline

 

#9 2009-10-09 20:03:50

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

I just want to add some information about these modifications.

The file base_rules has been changed Wed Aug 26 2009 on revision 3688.
Diff could be viewed here: http://devkitpro.svn.sourceforge.net/vi … mp;r2=3688

Offline

 

#10 2009-10-09 20:25:12

flarup
Member

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

Seems like I unfortunately was a bit too fast when I wrote installation was complete. Install.bat did indeed finish without problems, but the actual building of grrlib had problems:

C:\GRRLIB\GRRLIB\GRRLIB>make clean all install
rm -f GRRLIB_bmf.o GRRLIB_bmfx.o GRRLIB_core.o GRRLIB_fbAdvanced.o GRRLIB_fileIO
.o GRRLIB_print.o GRRLIB_render.o GRRLIB_snapshot.o GRRLIB_texEdit.o libgrrlib.a

powerpc-eabi-gcc -O2 -Wall -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -I/c/GRRL
IB/GRRLIB/GRRLIB -I/c/devkitPro/libogc/include -c GRRLIB_bmf.c -o GRRLIB_bmf.o
In file included from GRRLIB_bmf.c:26:
c:/GRRLIB/GRRLIB/GRRLIB/grrlib.h:62: error: expected '=', ',', ';', 'asm' or '__
attribute__' before 'guVector'
c:/GRRLIB/GRRLIB/GRRLIB/grrlib.h:63: error: expected '=', ',', ';', 'asm' or '__
attribute__' before 'guQuaternion'
In file included from c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB__inline.h:129,
                 from c:/GRRLIB/GRRLIB/GRRLIB/grrlib.h:213,
                 from GRRLIB_bmf.c:26:
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbGX.h: In function 'GRRLIB_GXEngine':
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbGX.h:38: warning: 'GX_Position3f32' is s
tatic but used in inline function 'GRRLIB_GXEngine' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbGX.h:39: warning: 'GX_Color1u32' is stat
ic but used in inline function 'GRRLIB_GXEngine' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbGX.h:41: warning: 'GX_End' is static but
used in inline function 'GRRLIB_GXEngine' which is not static
In file included from c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB__inline.h:130,
                 from c:/GRRLIB/GRRLIB/GRRLIB/grrlib.h:213,
                 from GRRLIB_bmf.c:26:
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h: In function 'GRRLIB_Plot':
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:51: warning: 'GX_Position3f32'
is static but used in inline function 'GRRLIB_Plot' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:52: warning: 'GX_Color1u32' is
static but used in inline function 'GRRLIB_Plot' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:53: warning: 'GX_End' is static
but used in inline function 'GRRLIB_Plot' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h: In function 'GRRLIB_Line':
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:69: warning: 'GX_Position3f32'
is static but used in inline function 'GRRLIB_Line' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:70: warning: 'GX_Color1u32' is
static but used in inline function 'GRRLIB_Line' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:71: warning: 'GX_Position3f32'
is static but used in inline function 'GRRLIB_Line' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:72: warning: 'GX_Color1u32' is
static but used in inline function 'GRRLIB_Line' which is not static
c:/GRRLIB/GRRLIB/GRRLIB/grrlib/GRRLIB_fbSimple.h:73: warning: 'GX_End' is static
but used in inline function 'GRRLIB_Line' which is not static
make: *** [GRRLIB_bmf.o] Error 1

Offline

 

#11 2009-10-09 20:52:00

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

Check this file: http://code.google.com/p/grrlib/source/ … RRLIB.html

Read the section "Error: guVector redefined".

It might be the problem.

Offline

 

#12 2009-10-09 22:59:02

flarup
Member

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

EXCELLENT! It worked, and the library compiled fine (well, there was some warnings, but no errors). It was very easy to update my game to use the new version of grrlib. Thanks a lot for your help.

Offline

 

#13 2009-10-09 23:02:13

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem installing GRRLIB 4.1.0

flarup wrote:

Thanks a lot for your help.

No problem, I'm glad everything is now working wink

Offline

 

Board footer

Powered by FluxBB