You are not logged in.

#1 2009-12-02 23:05:21

Nicholas_roge
Member

[RESOLVED] Problem Running GRRLIB

I can't run GRRLIB at all.  Even if I try compiling lesson 1 verbatim, I get the following errors:

Code:

> "make" 
main.c
In file included from c:/devkitPro/libogc/include/grrlib/GRRLIB__inline.h:129,
                 from c:/devkitPro/libogc/include/grrlib.h:214,
                 from c:/grr/grrlib/examples/lesson1/source/main.c:7:
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbGX.h: In function 'GRRLIB_GXEngine':
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbGX.h:38: warning: 'GX_Position3f32' is static but used in inline function 'GRRLIB_GXEngine' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbGX.h:39: warning: 'GX_Color1u32' is static but used in inline function 'GRRLIB_GXEngine' which is not static
c:/devkitPro/libogc/include/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:/devkitPro/libogc/include/grrlib/GRRLIB__inline.h:130,
                 from c:/devkitPro/libogc/include/grrlib.h:214,
                 from c:/grr/grrlib/examples/lesson1/source/main.c:7:
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h: In function 'GRRLIB_Plot':
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:51: warning: 'GX_Position3f32' is static but used in inline function 'GRRLIB_Plot' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:52: warning: 'GX_Color1u32' is static but used in inline function 'GRRLIB_Plot' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:53: warning: 'GX_End' is static but used in inline function 'GRRLIB_Plot' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h: In function 'GRRLIB_Line':
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:69: warning: 'GX_Position3f32' is static but used in inline function 'GRRLIB_Line' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:70: warning: 'GX_Color1u32' is static but used in inline function 'GRRLIB_Line' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:71: warning: 'GX_Position3f32' is static but used in inline function 'GRRLIB_Line' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:72: warning: 'GX_Color1u32' is static but used in inline function 'GRRLIB_Line' which is not static
c:/devkitPro/libogc/include/grrlib/GRRLIB_fbSimple.h:73: warning: 'GX_End' is static but used in inline function 'GRRLIB_Line' which is not static
c:/grr/grrlib/examples/lesson1/source/main.c: In function 'main':
c:/grr/grrlib/examples/lesson1/source/main.c:73: warning: implicit declaration of function 'GRRLIB_LoadTextureBMP'
c:/grr/grrlib/examples/lesson1/source/main.c:73: warning: initialization makes pointer from integer without a cast
BMfont1.c
BMfont2.c
BMfont3.c
BMfont4.c
ocean.c
test_bmp.c
test_jpg.c
linking ... lesson1.elf
c:/devkitpro/devkitppc/bin/../lib/gcc/powerpc-eabi/4.4.2/../../../../powerpc-eabi/bin/ld.exe: cannot find -lgrrlib
collect2: ld returned 1 exit status
make[1]: *** [/c/grr/grrlib/examples/lesson1/lesson1.elf] Error 1
"make": *** [build] Error 2

Running Directory:  C:\grr\grrlib\examples\lesson1
I have fully updated to the newest GRRLIB from the trunk.

Offline

 

#2 2009-12-02 23:12:18

Crayon
Bad Mother Fucker

Re: [RESOLVED] Problem Running GRRLIB

Hi, first step, read the README.html file.

cannot find -lgrrlib means GRRLIB was not installed correctly or the path to libgrrlib.a is invalid.

Normally the file should be created in C:\devkitPro\libogc\lib\wii

Last edited by Crayon (2009-12-02 23:18:37)

Offline

 

#3 2009-12-03 07:53:26

Nicholas_roge
Member

Re: [RESOLVED] Problem Running GRRLIB

I got it working.  I missed the part in the guide where it says to make all clean install.

Offline

 

Board footer

Powered by FluxBB