!!!SOLVED!!! LibMii Mod - GRR_TextImg Reference Undefined April 11, 2010 05:07AM | Registered: 14 years ago Posts: 121 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 11, 2010 08:16AM | Registered: 14 years ago Posts: 40 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 11, 2010 08:51AM | Registered: 14 years ago Posts: 121 |
Quote
calvinss4
Remove the static; you can't see anything when the picture has too much static:
Re: LibMii Mod - GRR_TextImg Reference Undefined April 11, 2010 07:32PM | Registered: 14 years ago Posts: 40 |
#include "miis\mii_heads.h" int main() { img_heads = GRRLIB_LoadTexture(mii_heads); }
Re: LibMii Mod - GRR_TextImg Reference Undefined April 11, 2010 09:23PM | Registered: 14 years ago Posts: 116 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 11, 2010 09:46PM | Registered: 14 years ago Posts: 40 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 01:42AM | Registered: 14 years ago Posts: 121 |
Quote
calvinss4
So I'm guessing you have a declaration in mii_heads.h:
extern SomeType mii_heads;
Well, where do actually define it? Do you have a corresponding mii_heads.c with the following?
SomeType mii_heads;
Your build directory must contain a mii_heads.o (which contains the definition for the variable mii_heads). If you don't have a mii_heads.c, then I will assume mii_heads.o is generated directly from some data source (like an image file), in which case you must make sure your makefile is set up properly.
Quote
calvinss4
Finally, if you are sure you have coded everything correctly and are still getting linker errors, then it's possible there was a dependency error and the linker is referencing a stale object file; in that case do a "clean all" followed by a "make all".
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 01:46AM | Registered: 14 years ago Posts: 121 |
Quote
I.R.on
Well your approach is not right... the best place to put the mii rendering functions is Grrlib which I think is the main intention by mdbrim hence the naming of the functions starting with Grrlib...
So, instead of trying to make it another library you can just create another file under Grrlib and add the functionality there... So it becomes part of Grrlib...
You "libogc addition.zip" is not quite right. It contains both parts that relates to include & lib folder... .h files goes to include and the rest of the code actually become part of the lib... (take a look at libogc folder, you won't find any c files there)
So it's better you try to integrate it with Grrlib... It already has a makefile to build as a library...
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 01:49AM | Registered: 14 years ago Posts: 121 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 03:10AM | Registered: 14 years ago Posts: 552 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 04:47AM | Registered: 14 years ago Posts: 121 |
Quote
mdbrim
wow, I go away on vacation and LordAshes takes the reins and runs with them... SWEET!
Quote
I.R.on
So it becomes part of Grrlib...
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 09:33AM | Registered: 14 years ago Posts: 40 |
Re: LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 02:07PM | Registered: 14 years ago Posts: 121 |
Re: !!!SOLVED!!! LibMii Mod - GRR_TextImg Reference Undefined April 12, 2010 07:02PM | Registered: 14 years ago Posts: 552 |
Re: !!!SOLVED!!! LibMii Mod - GRR_TextImg Reference Undefined April 13, 2010 05:37AM | Registered: 14 years ago Posts: 121 |
Quote
mdbrim
I'm currently working on the grrlib one right now and making some changes to the other variables as well (drawing names under images etc) so it seems we are both working on the same thing at the same time.