| View previous topic :: View next topic |
| Author |
Message |
xpack
Joined: 26 Jun 2007 Posts: 9
|
Posted: Tue Jun 26, 2007 8:31 am Post subject: Luaplayer compiling probelm |
|
|
I got the psp-sdk from 6-6-07 and when trying to compile Luaplayer.20 I get this error
| Code: | src/lua3d.cpp: In function 'void lua3D_init(lua_State*)':
src/lua3d.cpp:355: error: 'GU_COLOR_RES1' was not declared in this scope
src/lua3d.cpp:356: error: 'GU_COLOR_RES2' was not declared in this scope
src/lua3d.cpp:357: error: 'GU_COLOR_RES3' was not declared in this scope
make: *** [src/lua3d.o] Error 1 |
But when I try to compile Luaplayer16 I get this error
| Code: | src/luaplayer.cpp: In function 'int runScript(const char*, bool)':
src/luaplayer.cpp:24: error: 'luaopen_loadlib' was not declared in this scope
make: *** [src/luaplayer.o] Error 1 |
Does anybody know how to fix this |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Jun 26, 2007 8:45 am Post subject: |
|
|
| Those constants were removed from pspgu at some point; I took them out of luaplayer so it should compile now. |
|
| Back to top |
|
 |
xpack
Joined: 26 Jun 2007 Posts: 9
|
Posted: Tue Jun 26, 2007 9:02 am Post subject: |
|
|
| Was it changed in the svn version or the luaplayer.org one |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Tue Jun 26, 2007 9:12 am Post subject: |
|
|
| SVN. You can also just edit lua3d.cpp yourself and remove the lines with GU_COLOR_RES. |
|
| Back to top |
|
 |
xpack
Joined: 26 Jun 2007 Posts: 9
|
Posted: Tue Jun 26, 2007 9:25 am Post subject: |
|
|
| Okay thanks, got Luplayer 20 compiled. |
|
| Back to top |
|
 |
|