You are not logged in.
Hi All,
I've a problem with installing grrlib.
The steps which i did :
- install devkit pro full install.
- create a c:\ folder named "grr"
- then i downloaded a tool tortoisesvn , which i used to download all 4 folders from the url http://grrlib.googlecode.com/svn/ to my c:\grr location.
- Then with my command window :
c:
cd \grr\trunk\GRRLIB\lib
make clean all install
This install didn't show any errors.
After i used programma's notepad for trying to build a makefile (i tried unlimted 2d sprites or basic drawing),
it didn't build my project because it can't find the grrlib.h file.
I'm reading that in v4.3, the grrlib.h file is become a system file which should be used as #include <grrlib.h> (This is the way that's used in all examples.)
The problem which occurs on running a makefile :
> "make"
main.c
c:/grr/trunk/examples/basic_drawing/source/main.c:7:20: warning: grrlib.h: No such file or directory
c:/grr/trunk/examples/basic_drawing/source/main.c: In function 'main':
c:/grr/trunk/examples/basic_drawing/source/main.c:66: warning: implicit declaration of function 'GRRLIB_Init'
c:/grr/trunk/examples/basic_drawing/source/main.c:71: error: 'GRRLIB_texImg' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:71: error: (Each undeclared identifier is reported only once
c:/grr/trunk/examples/basic_drawing/source/main.c:71: error: for each function it appears in.)
c:/grr/trunk/examples/basic_drawing/source/main.c:71: error: 'tex_test_jpg' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:71: warning: implicit declaration of function 'GRRLIB_LoadTexture'
c:/grr/trunk/examples/basic_drawing/source/main.c:72: error: 'tex_test_bmp' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:74: error: 'GRRLIB_bytemapFont' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:74: error: 'bmf_Font1' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:74: warning: implicit declaration of function 'GRRLIB_LoadBMF'
c:/grr/trunk/examples/basic_drawing/source/main.c:75: error: 'bmf_Font2' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:77: error: 'tex_sprite_png' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:78: warning: implicit declaration of function 'GRRLIB_InitTileSet'
c:/grr/trunk/examples/basic_drawing/source/main.c:80: error: 'tex_BMfont1' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:83: error: 'tex_BMfont2' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:86: error: 'tex_BMfont3' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:89: error: 'tex_BMfont4' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:92: error: 'tex_BMfont5' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:103: warning: implicit declaration of function 'GRRLIB_FillScreen'
c:/grr/trunk/examples/basic_drawing/source/main.c:108: warning: implicit declaration of function 'GRRLIB_Printf'
c:/grr/trunk/examples/basic_drawing/source/main.c:110: warning: implicit declaration of function 'GRRLIB_DrawImg'
c:/grr/trunk/examples/basic_drawing/source/main.c:114: warning: implicit declaration of function 'GRRLIB_DrawTile'
c:/grr/trunk/examples/basic_drawing/source/main.c:116: warning: implicit declaration of function 'GRRLIB_RectOnRect'
c:/grr/trunk/examples/basic_drawing/source/main.c:144: warning: implicit declaration of function 'GRRLIB_Rectangle'
c:/grr/trunk/examples/basic_drawing/source/main.c:145: warning: implicit declaration of function 'GRRLIB_Line'
c:/grr/trunk/examples/basic_drawing/source/main.c:146: warning: implicit declaration of function 'GRRLIB_NGoneFilled'
c:/grr/trunk/examples/basic_drawing/source/main.c:148: warning: implicit declaration of function 'GRRLIB_Circle'
c:/grr/trunk/examples/basic_drawing/source/main.c:151: warning: implicit declaration of function 'GRRLIB_Plot'
c:/grr/trunk/examples/basic_drawing/source/main.c:157: error: 'GRRLIB_VER_STRING' undeclared (first use in this function)
c:/grr/trunk/examples/basic_drawing/source/main.c:166: warning: implicit declaration of function 'GRRLIB_PrintBMF'
c:/grr/trunk/examples/basic_drawing/source/main.c:215: warning: implicit declaration of function 'GRRLIB_ScrShot'
c:/grr/trunk/examples/basic_drawing/source/main.c:219: warning: implicit declaration of function 'GRRLIB_Render'
c:/grr/trunk/examples/basic_drawing/source/main.c:222: warning: implicit declaration of function 'GRRLIB_Exit'
c:/grr/trunk/examples/basic_drawing/source/main.c:224: warning: implicit declaration of function 'GRRLIB_FreeTexture'
c:/grr/trunk/examples/basic_drawing/source/main.c:232: warning: implicit declaration of function 'GRRLIB_FreeBMF'
make[1]: *** [main.o] Error 1
"make": *** [build] Error 2
> Process Exit Code: 2
> Time Taken: 00:00
Thx for helping. (sorry for my bad english)
Grts Xtoc
Last edited by xtoc (2010-08-12 22:04:04)
Offline
xtoc wrote:
- Then with my command window :
c:
cd \grr\trunk\GRRLIB\lib
make clean all install
This is perfect if you want to install the third party libs. But this wont install GRRLIB.
To install the full package (GRRLIB + libs):
c:
cd \grr\trunk\GRRLIB
make clean all install
To simply install GRRLIB (without the libs):
c:
cd \grr\trunk\GRRLIB\GRRLIB
make clean all install
BTW what is your native language?
Offline