LuaPlayer > .12 compiling wont work... help please

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
youresam
Posts: 87
Joined: Sun Nov 06, 2005 1:43 am

LuaPlayer > .12 compiling wont work... help please

Post by youresam »

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: Select all

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
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

i compiled .16 without any problems...
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
youresam
Posts: 87
Joined: Sun Nov 06, 2005 1:43 am

Post by youresam »

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

But could you look at the error? Its something about the sio.cpp.
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

checkout the latest version from svn

cause...

Code: Select all

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
youresam
Posts: 87
Joined: Sun Nov 06, 2005 1:43 am

Post by youresam »

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.
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

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
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

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
radius
Posts: 7
Joined: Fri Jul 22, 2005 9:47 pm

Post by radius »

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
Post Reply