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 > .12 compiling wont work... help please

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



Joined: 06 Nov 2005
Posts: 87

PostPosted: Mon Feb 13, 2006 12:41 am    Post subject: LuaPlayer > .12 compiling wont work... help please Reply with quote

I recently got a new computer, and set up the PSPSDK on it...
The problem is that I can't get luaplayer to compile if the version is bigger than .12 (What happend to the .12 source?!? Its not in earlier versions...)

Heres my error:
Code:
Sam@sams-computer ~/projects/luaplayer_16
$ make
psp-g++ -I. -I/usr/local/pspdev/psp/sdk/include -G0 -Wall -O2 -fno-strict-aliasi
ng  -I/usr/include/freetype2 -I. -I/usr/local/pspdev/psp/sdk/include -G0 -Wall -
O2 -fno-strict-aliasing  -I/usr/include/freetype2 -fno-exceptions -fno-rtti   -c
 -o src/sio.o src/sio.cpp
src/sio.cpp:175: error: invalid conversion from 'int (*)(PspIoDrvFileArg*, unsig
ned int, void*, int, void*, int)' to 'int (*)(PspIoDrvFileArg*, const char*, uns
igned int, void*, int, void*, int)'
make: *** [src/sio.o] Error 1
Back to top
View user's profile Send private message AIM Address
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Feb 13, 2006 12:56 am    Post subject: Reply with quote

i compiled .16 without any problems...
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
youresam



Joined: 06 Nov 2005
Posts: 87

PostPosted: Mon Feb 13, 2006 1:45 am    Post subject: Reply with quote

LuMo wrote:
i compiled .16 without any problems...

Thats nice...

But could you look at the error? Its something about the sio.cpp.
Back to top
View user's profile Send private message AIM Address
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Feb 13, 2006 4:19 am    Post subject: Reply with quote

checkout the latest version from svn

cause...
Code:

int (*)(PspIoDrvFileArg*, unsigned int, void*, int, void*, int)
int (*)(PspIoDrvFileArg*, const char*, unsigned int, void*, int, void*, int)

one function is not called correct

greets
lumo
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
youresam



Joined: 06 Nov 2005
Posts: 87

PostPosted: Mon Feb 13, 2006 10:31 am    Post subject: Reply with quote

Thats odd... I last updated it on 2/11. (Which I believe was yesterday)

But alright, thanks


EDIT:
Wait, you mean LuaPlayer? Alright..... but I had the one from luaplayer.org...

EDIT2:
I got LuaPlayer from the SVN, same error. I also have the latest toolchain.
Back to top
View user's profile Send private message AIM Address
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Feb 13, 2006 8:19 pm    Post subject: Reply with quote

i'll try again today (i did set up my cygwin new again due hardware defect...)

i'll let you know
greets
lumo
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Mon Feb 13, 2006 9:16 pm    Post subject: Reply with quote

ok, i tried to compile luaplayer...
wasnt able to get it running this time
won't find ftheader.h
no clue why, as its where it should be...

greet
lumo

PS: guess a path is wrong somewhere
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
radius



Joined: 22 Jul 2005
Posts: 7

PostPosted: Tue Feb 14, 2006 6:31 am    Post subject: Reply with quote

Hi,
I installed psptoolchain-20060120 with all latest required libs :/ and i'm having the same error (with luaplayer 0.16)

src/sio.cpp:175: error: invalid conversion from 'int (*)(PspIoDrvFileArg*, unsig
ned int, void*, int, void*, int)' to 'int (*)(PspIoDrvFileArg*, const char*, uns
igned int, void*, int, void*, int)'
make: *** [src/sio.o] Error 1
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