You are not logged in.

#1 2008-09-15 04:35:24

lokisliave
Member

[RESOLVED] Strange compiling error

Hey,

I'm not a noob coder, but I am unfamiliar with coding for the wii, and i'm not too experienced in C (I coded in basic for years, picked up java 9 years ago, picked up C a few months ago). Im using devkitpro with the built in programmers notepad IDE.

I have made a program for the wii using the grrlib 3.0 library and am unable to compile as I keep getting an "undefined reference to 'GXmodelView2D'" error regarding GRRLIB.c. I have found "extern Mtx GXmodelView2D;" in GRRLIB.h but am unable to determine the problem. Extensive googling hasn't yielded any results either.

Would anybody have any idea what would be causing this problem?

Lokisliave x

Offline

 

#2 2008-09-15 06:13:17

_CONEJO
Member

Re: [RESOLVED] Strange compiling error

put :

Code:

Mtx GXmodelView2D;

on your main.cpp / main.c / or similar

Offline

 

#3 2008-09-15 19:12:48

lokisliave
Member

Re: [RESOLVED] Strange compiling error

Thankyou! Im not sure what that did, but it did it...

Lokisliave x

Offline

 

Board footer

Powered by FluxBB