Welcome! Log In Create A New Profile

Advanced

GRRLIB_Init() cant be used although GRRLIB is included

Posted by SteelSLasher 
GRRLIB_Init() cant be used although GRRLIB is included
April 12, 2009 08:38PM
This is just strange, try and see whats wrong:
#include "GRRLIB/GRRLIB.h"


//---------------------------------------------------------------------------------
int main(int argc, char **argv) {
//---------------------------------------------------------------------------------

	// Initialise the video system
	GRRLIB_Init();

Here is the error message from the compiler:
> "make" 
main.c
linking ... WiiBrowse.elf
main.o: In function `main':
c:/WiiBrowse/source/main.c:16: undefined reference to `GRRLIB_Init'
collect2: ld returned 1 exit status
make[1]: *** [/c/WiiBrowse/WiiBrowse.elf] Error 1
"make": *** [build] Error 2

> Process Exit Code: 2
> Time Taken: 00:01

i bet god cant figure this out
Re: GRRLIB_Init() cant be used although GRRLIB is included
April 12, 2009 10:03PM
Make sure the following is in your makefile:
SOURCES:=	source source/GRRLIB
Re: GRRLIB_Init() cant be used although GRRLIB is included
April 13, 2009 01:31PM
Thanks i fixed all the other problems that occured



Edited 1 time(s). Last edit at 04/13/2009 01:33PM by SteelSLasher.
Sorry, only registered users may post in this forum.

Click here to login