![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Need some help. within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Could someone please compile this version of luaplayer for me? I want to see if my mp3 implamentation to luaplayer ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Could someone please compile this version of luaplayer for me? I want to see if my mp3 implamentation to luaplayer works, yet my cygwin is on the fritz for some reason. If someone can compile it, could you post the compiled stuff here please.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - Last edited by alatnet; 05-24-2006 at 07:05 PM.. |
|
|
|
|
|
#2 |
![]() ![]() ...in a dream...
|
...3 things wrong with this...
1. You need to cough up X amount of $ to do something like this... 2. Who ever DOES post it here will probably be fined or something that amount of money since there publically distributing it 3. Cygwin cant be on the fritz... The toolchain can how ever...
__________________
...you'll never know what it's like... spending your whole life in a dream...
Launch a Kitten out of a Cannon and win real cash! Checkout my newly updated site for all my projects (Kitten Cannon, BOXHEAD, Light Cycle 3D) |
|
|
|
|
|
#3 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Well when i try to compile it, it gives me alot of errors pertaining to undefined functions like fseek and fopen. I don't know what's wrong, and i'm trying to get luaplayer the much needed mp3 functions that hasn't been implamented in a long time.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#4 |
![]() |
It wouldn't compile for me either; I'd guess the problem isn't with the toolchain
__________________
[url=http://www.barbdwyer.com/footer.php][img]http://www.barbdwyer.com/8Ball.jpg[/img][/url] [FONT=Verdana][SIZE=1] [b]PSP Developer Resource Site:[/b] [url=http://www.psp-programming.com]PSP-Programming.com[/url] [b]Other:[/b] [url=http://wake-boarding.org]Wakeboarding[/url], [url=http://water-skiing.org]Waterskiing[/url], [url=http://wake-surfing.org]Wake Surfing[/url], [url=http://www.guitarhero-4.com]Guitar Hero IV[/url][/SIZE][/FONT] |
|
|
|
|
|
#5 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Seems that i can't post the errors that i have but here's a few from the list that i have gotten:
src/graphics.o: In function `isJpegFile': src/graphics.cpp:64: undefined reference to `strcasecmp' src/graphics.cpp:64: undefined reference to `strcasecmp' src/graphics.o: In function `loadPngImage(char const*)': src/graphics.cpp:87: undefined reference to `malloc' src/graphics.cpp:90: undefined reference to `fopen' src/graphics.cpp:91: undefined reference to `png_create_read_struct' src/graphics.cpp:93: undefined reference to `free' src/graphics.cpp:94: undefined reference to `fclose' src/graphics.cpp:97: undefined reference to `png_set_error_fn' src/graphics.cpp:98: undefined reference to `png_create_info_struct' src/graphics.cpp:100: undefined reference to `free' src/graphics.cpp:101: undefined reference to `fclose' src/graphics.cpp:102: undefined reference to `png_destroy_read_struct' src/graphics.cpp:105: undefined reference to `png_init_io' src/graphics.cpp:106: undefined reference to `png_set_sig_bytes' src/graphics.cpp:107: undefined reference to `png_read_info' src/graphics.cpp:108: undefined reference to `png_get_IHDR' src/graphics.cpp:110: undefined reference to `free' src/graphics.cpp:111: undefined reference to `fclose' src/graphics.cpp:112: undefined reference to `png_destroy_read_struct' src/graphics.cpp:119: undefined reference to `png_set_strip_16' src/graphics.cpp:120: undefined reference to `png_set_packing' src/graphics.cpp:121: undefined reference to `png_set_palette_to_rgb' src/graphics.cpp:122: undefined reference to `png_set_gray_1_2_4_to_8' src/graphics.cpp:123: undefined reference to `png_get_valid' src/graphics.cpp:123: undefined reference to `png_set_tRNS_to_alpha' src/graphics.cpp:124: undefined reference to `png_set_filler' src/graphics.cpp:125: undefined reference to `memalign' src/graphics.cpp:127: undefined reference to `free' src/graphics.cpp:128: undefined reference to `fclose' src/graphics.cpp:129: undefined reference to `png_destroy_read_struct' src/graphics.cpp:132: undefined reference to `malloc' src/graphics.cpp:134: undefined reference to `free' src/graphics.cpp:135: undefined reference to `free' src/graphics.cpp:136: undefined reference to `fclose' src/graphics.cpp:137: undefined reference to `png_destroy_read_struct' src/graphics.cpp:141: undefined reference to `png_read_row' src/graphics.cpp:147: undefined reference to `free' src/graphics.cpp:148: undefined reference to `png_read_end' src/graphics.cpp:149: undefined reference to `png_destroy_read_struct' src/graphics.cpp:150: undefined reference to `fclose' src/graphics.o: In function `loadJpegImage(char const*)': src/graphics.cpp:158: undefined reference to `jpeg_std_error' src/graphics.cpp:159: undefined reference to `jpeg_CreateDecompress' src/graphics.cpp:160: undefined reference to `fopen' src/graphics.cpp:162: undefined reference to `jpeg_destroy_decompress' src/graphics.cpp:165: undefined reference to `jpeg_stdio_src' src/graphics.cpp:166: undefined reference to `jpeg_read_header' src/graphics.cpp:169: undefined reference to `jpeg_start_decompress' src/graphics.cpp:170: undefined reference to `malloc' src/graphics.cpp:172: undefined reference to `jpeg_destroy_decompress' src/graphics.cpp:173: undefined reference to `fclose' src/graphics.cpp:180: undefined reference to `memalign' src/graphics.cpp:181: undefined reference to `malloc' src/graphics.cpp:183: undefined reference to `jpeg_destroy_decompress' src/graphics.cpp:184: undefined reference to `fclose' src/graphics.cpp:190: undefined reference to `jpeg_read_scanlines' src/graphics.cpp:199: undefined reference to `jpeg_read_scanlines' src/graphics.cpp:209: undefined reference to `jpeg_finish_decompress' src/graphics.cpp:210: undefined reference to `jpeg_destroy_decompress' src/graphics.cpp:211: undefined reference to `free' src/graphics.cpp:212: undefined reference to `fclose' src/graphics.o: In function `createImage(int, int)': src/graphics.cpp:293: undefined reference to `malloc' src/graphics.cpp:299: undefined reference to `memalign' src/graphics.o: In function `freeImage(Image*)': src/graphics.cpp:307: undefined reference to `free' src/graphics.cpp:308: undefined reference to `free' src/graphics.o: In function `savePngImage(char const*, unsigned int*, int, int, int, int)': Are these some of the errors you have been getting?
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#6 | |
![]() |
Quote:
__________________
[url=http://www.barbdwyer.com/footer.php][img]http://www.barbdwyer.com/8Ball.jpg[/img][/url] [FONT=Verdana][SIZE=1] [b]PSP Developer Resource Site:[/b] [url=http://www.psp-programming.com]PSP-Programming.com[/url] [b]Other:[/b] [url=http://wake-boarding.org]Wakeboarding[/url], [url=http://water-skiing.org]Waterskiing[/url], [url=http://wake-surfing.org]Wake Surfing[/url], [url=http://www.guitarhero-4.com]Guitar Hero IV[/url][/SIZE][/FONT] |
|
|
|
|
|
|
#7 |
![]() ![]() total-Z
|
I have already tried about a month ago. The errors you are getting is because of missing libraries. Also, yeldarb, the error you are getting is because of the usb oolchain changing. You need to add the usbactivate param to the usbdeactivate command.
Again, I have tried this, and I cannot get libmad working. I tried it on .19
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth Last edited by youresam; 05-25-2006 at 07:38 AM.. |
|
|
|
|
|
#8 |
![]() ![]() Developer
|
Compiled your source for you mate (release15 option).
http://www.psp-programming.com/animate/LuaPlayerMP3.rar |
|
|
|
|
|
#10 | |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Quote:
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
|
#11 |
![]() ![]() total-Z
|
Does it work? I remember I got mine compiled, but the commands didnt do anything.
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#13 | |
![]() ![]() total-Z
|
Quote:
MP3.init() MP3.load("mp3.mp3") MP3.play() When I made MP3 into luaplayer, the commands did nothing. I could run them, but they did nothing.
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
|
#14 |
![]() ![]() Psp Dev
|
I tried it and I got MP3 is a nil vaule.
|
|
|
|
|
|
#15 | |
![]() ![]() total-Z
|
Quote:
Sound? Music? I dont know. When I did mine, I put it in System since my mp3.cpp was giving me errors.
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
|
#16 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Ok, back from school with a freshly downgraded psp!
gona open up ttlde and see if the mp3 functions are their.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#18 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
It seems that it doesn't show up and work. Looks like im gona have to do some more searching on c\c++ lua implamentation methods.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#19 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
I think i may have fixed it.
Try compiling it using this luasound.cpp file instead of the first one. Hopefully this will fix the MP3 is nil thing. also, pass a 1 to the init mp3 function.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - Last edited by alatnet; 05-25-2006 at 12:01 PM.. |
|
|
|
|
|
#20 | |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Quote:
{"init", MP3_init_cus}, {"play", MP3_play_cus}, {"stop", MP3_stop_cus}, {"pause", MP3_pause_cus}, {"end", MP3_end_cus}, {"freetune", MP3_freetune_cus}, {"load", MP3_load_cus}, {"time", MP3_gettimestring_cus}, {"endofstream", MP3_endofstream_cus}, {0, 0} }; These are the functions i have implamented. The "end" mp3 function, i have no idea what it does.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
|
#21 |
![]() ![]() Developer
|
Errors:
src/luasound.cpp: In function 'int MP3_gettimestring_cus(lua _State*)': src/luasound.cpp:80: warning: control reaches end of non-void function src/luasound.o: In function `MP3_init_cus': src/luasound.cpp:17: undefined reference to `MP3_Init' src/luasound.o: In function `MP3_play_cus': src/luasound.cpp:25: undefined reference to `MP3_Play' src/luasound.o: In function `MP3_pause_cus': src/luasound.cpp:32: undefined reference to `MP3_Pause' src/luasound.o: In function `MP3_stop_cus': src/luasound.cpp:39: undefined reference to `MP3_Stop' src/luasound.o: In function `MP3_end_cus': src/luasound.cpp:46: undefined reference to `MP3_End' src/luasound.o: In function `MP3_freetune_cus': src/luasound.cpp:53: undefined reference to `MP3_FreeTune' src/luasound.o: In function `MP3_load_cus': src/luasound.cpp:69: undefined reference to `MP3_Load' src/luasound.o: In function `MP3_gettimestring_cus': src/luasound.cpp:78: undefined reference to `MP3_GetTimeString' src/luasound.o: In function `MP3_endofstream_cus': src/luasound.cpp:86: undefined reference to `MP3_EndOfStream' collect2: ld returned 1 exit status make: *** [luaplayer.elf] Error 1 rm src/exports.c Dev@blp-216000732fc ~/projects/luaplayermp3/luaplayer $ |
|
|
|
|
|
#22 |
![]() ![]() total-Z
|
Those errors mean that mp3player.h was not included in the headers, right?
__________________
牧来栠摩琠敨映汩獥PSN: youresam From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth |
|
|
|
|
|
#23 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
Here another slight fix, i guess i forgot to add "return 0;" at the end of the gettime function and forgot to add "mp3player.o" to the makefile.psp.common.
Also, it seems that the "newtoolchain" perl script is not leting me reinstall the pspsdk. Gona try the other script.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#25 |
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
b4 you compile it, change "return 0;" to "return 1;" in the MP3_gettimestring_cus function.
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - |
|
|
|
|
|
#26 |
![]() ![]() Developer
|
src/mp3player.o: In function `MP3Callback':
src/mp3player.c:327: undefined reference to `mad_stream_buffer' src/mp3player.c:359: undefined reference to `mad_frame_decode' src/mp3player.c:367: undefined reference to `mad_stream_errorstr' src/mp3player.c:375: undefined reference to `mad_stream_errorstr' src/mp3player.c:402: undefined reference to `mad_timer_add' src/mp3player.c:415: undefined reference to `mad_synth_frame' src/mp3player.o: In function `MP3_Init': src/mp3player.c:476: undefined reference to `mad_stream_init' src/mp3player.c:477: undefined reference to `mad_frame_init' src/mp3player.c:478: undefined reference to `mad_synth_init' src/mp3player.c:479: undefined reference to `mad_timer_zero' src/mp3player.c:479: undefined reference to `mad_timer_zero' src/mp3player.c:479: undefined reference to `mad_timer_zero' src/mp3player.c:479: undefined reference to `mad_timer_zero' src/mp3player.o: In function `MP3_FreeTune': src/mp3player.c:498: undefined reference to `mad_frame_finish' src/mp3player.c:499: undefined reference to `mad_stream_finish' src/mp3player.c:536: undefined reference to `mad_timer_string' src/mp3player.o: In function `MP3_GetTimeString': src/mp3player.c:624: undefined reference to `mad_timer_string' collect2: ld returned 1 exit status make: *** [luaplayer.elf] Error 1 rm src/exports.c Dev@blp-216000732fc ~/projects/luaplayermp3/luaplayer $ They're part of libmad right? Last edited by Insomniac197; 05-25-2006 at 01:20 PM.. |
|
|
|
|
|
#28 | ||
![]() ![]() PSP Developer
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
|
CRAP! Give me a few minutes to sort that.
[EDIT] Quote:
Quote:
__________________
![]() "Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me Anime/Manga and Fanfiction is my inspiration! Creator of: - PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP - Last edited by alatnet; 05-25-2006 at 01:30 PM.. |
||
|
|
|
|
|
#29 |
![]() ![]() Developer
|
got it to compile by adding -lmad to makefile.psp.common
LIBS= -llua -llualib -lpng -ljpeg -lz -lpspgum -lm -lmikmod -lmmio $(shell freetype-config --libs) \ -lmad -lpspaudiolib -lpspaudio -lpspusb -lpspusbstor -lpsppower \ -lpspwlan -lpspgu -lpspdebug -lpsphprm_driver However it crashed my PSP when I loaded it (Lua Player crashed, never even got to test the script!) |
|
|
|
|
|
#30 |
![]() Yummy Apple's
|
lol i would try but i dont no a thing what ur trying 2 do!
sorry,
__________________
[CENTER][IMG]http://img1.imageshack.us/img1/5719/dansigon9.png[/IMG] [/CENTER] [COLOR="Gray"][CENTER]MOD EDIT: sorry homie, no large advertising around these parts...[/CENTER][/COLOR] |
|
|
|
![]() |
| Thread Tools | |
|
|