forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Luaplayer compiling probelm

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
xpack



Joined: 26 Jun 2007
Posts: 9

PostPosted: Tue Jun 26, 2007 8:31 am    Post subject: Luaplayer compiling probelm Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Jun 26, 2007 8:45 am    Post subject: Reply with quote

Those constants were removed from pspgu at some point; I took them out of luaplayer so it should compile now.
Back to top
View user's profile Send private message
xpack



Joined: 26 Jun 2007
Posts: 9

PostPosted: Tue Jun 26, 2007 9:02 am    Post subject: Reply with quote

Was it changed in the svn version or the luaplayer.org one
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Jun 26, 2007 9:12 am    Post subject: Reply with quote

SVN. You can also just edit lua3d.cpp yourself and remove the lines with GU_COLOR_RES.
Back to top
View user's profile Send private message
xpack



Joined: 26 Jun 2007
Posts: 9

PostPosted: Tue Jun 26, 2007 9:25 am    Post subject: Reply with quote

Okay thanks, got Luplayer 20 compiled.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group