Talk:Lua for Wii
Does anyone hav lua player prebuilt cus devkitPRO wont build it 4 me. :(
EDIT:It's actually devkitPro and devkitPPC srry Comment added by Lazboy1000 —Preceding undated comment added 03:45, 24 November 2009 (UTC).
Would it be possible to use this to get a working version of RenPSP on the Wii? --D1Hazel 21:44, 31 December 2010 (CET)
There is a macro redefined error when GRRLIB and LUA are included in the same source file ( the G() macro is defined and used alot in both libraries ). A work around is keep the Lua code separate from the grrlib code by keeping all LUA references in separate lua_api.c file and then including a lua_api.h header file. Owen 20:53, 16 February 2011 (CET)
- Don't #include the Lua header file which defines G(), lstate.h.--Michael 04:46, 17 February 2011 (CET)
- I haven't tried that route but I think lstate has in the "struct lua_State" which is needed to create a Lua callback function Owen 16:05, 17 February 2011 (CET)