Go Back   iPod touch Fans forum - iPad, iPhone, and iPod users > Jailbroken iPod touch / iPhone > Jailbroken iPod touch Games and Apps

What are you waiting for? Be member #460620!

Discuss the latest apps and accessories, or post your question on the forums! All visitors must register before they can post and answer questions and participate in our lively community, so register for free today!
Reply
 
Thread Tools Search this Thread
  #1  
Old 11-26-2007
Virtualball's Avatar
Multi-Touch Devotee
Join Date: Nov 2007
 
iPhone 3GS (Black) 32GB
4.0
Default Compiled SDL?

Can someone compile SDL from http://code.google.com/p/iphone-sdl-mame/ I've tried but it won't seem to compile. If you can, I'm sure this would benefit many developers out there (Or maybe just me :P )
__________________
  #2  
Old 11-27-2007
jungzandvliet's Avatar
Multi-Touch Aficionado
Join Date: Oct 2007
 
None
I got it compiled & intalled

Code:
for file in SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuin
fo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keybo
ard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SD
L_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_th
read.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code
.h; do \
            /usr/bin/install -c -m 644 ./include/$file /usr/local/arm-apple-darw
in/include/SDL/$file; \
        done
/usr/bin/install -c -m 644 include/SDL_config.h /usr/local/arm-apple-darwin/incl
ude/SDL/SDL_config.h
/bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/lib
/bin/sh ./libtool --mode=install /usr/bin/install -c build/libSDL.la /usr/local/
arm-apple-darwin/lib/libSDL.la
/usr/bin/install -c build/.libs/libSDL.lai /usr/local/arm-apple-darwin/lib/libSD
L.la
/usr/bin/install -c build/.libs/libSDL.a /usr/local/arm-apple-darwin/lib/libSDL.
a
chmod 644 /usr/local/arm-apple-darwin/lib/libSDL.a
arm-apple-darwin-ranlib /usr/local/arm-apple-darwin/lib/libSDL.a
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_audi
odev.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mixe
r_MMX.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mixe
r_MMX_VC.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mixe
r_m68k.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_gete
nv.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_mall
oc.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_qsor
t.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_stdl
ib.o) has no symbols
arm-apple-darwin-ranlib: file: /usr/local/arm-apple-darwin/lib/libSDL.a(SDL_yuv_
mmx.o) has no symbols
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/arm-apple-darwin/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
     during execution

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/install -c -m 644 build/libSDLmain.a /usr/local/arm-apple-darwin/lib/li
bSDLmain.a
arm-apple-darwin-ranlib /usr/local/arm-apple-darwin/lib/libSDLmain.a
/bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/share/aclocal
mkdir -p -- /usr/local/arm-apple-darwin/share/aclocal
/usr/bin/install -c -m 644 ./sdl.m4 /usr/local/arm-apple-darwin/share/aclocal/sd
l.m4
/bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/lib/pkgconfig
mkdir -p -- /usr/local/arm-apple-darwin/lib/pkgconfig
/usr/bin/install -c -m 644 sdl.pc /usr/local/arm-apple-darwin/lib/pkgconfig
/bin/sh ./build-scripts/mkinstalldirs /usr/local/arm-apple-darwin/man/man3
mkdir -p -- /usr/local/arm-apple-darwin/man/man3
for src in ./docs/man3/*.3; do \
            file=`echo $src | sed -e 's|^.*/||'`; \
            /usr/bin/install -c -m 644 $src /usr/local/arm-apple-darwin/man/man3
/$file; \
        done
Think i did it right? But how can i share it hten? XD isnt it crossed compiled with your toolchian or something xD
  #3  
Old 11-27-2007
Virtualball's Avatar
Multi-Touch Devotee
Join Date: Nov 2007
 
iPhone 3GS (Black) 32GB
4.0
Can you zip up the SDL folder and upload it to rapidshare or as an attacment. You would rock so hard
Sponsored Links
  #4  
Old 11-28-2007
jungzandvliet's Avatar
Multi-Touch Aficionado
Join Date: Oct 2007
 
None
Ye sure i'll do tonight or something. Now @ school xD
But did you trie dto compile iphone-dj xD? I cant get libmad cross compiled
  #5  
Old 11-28-2007
jungzandvliet's Avatar
Multi-Touch Aficionado
Join Date: Oct 2007
 
None
Cantz ip it :O IT says like access refused or something when i try to zip it with winrar/ 7zip
  #6  
Old 11-28-2007
Virtualball's Avatar
Multi-Touch Devotee
Join Date: Nov 2007
 
iPhone 3GS (Black) 32GB
4.0
Thats weird, well thanks anyways :/

An I compiled libMAD before but I lost it when my old hard drive crashed (damn MacBook :P ) Sorry
  #7  
Old 11-29-2007
jungzandvliet's Avatar
Multi-Touch Aficionado
Join Date: Oct 2007
 
None
Quote:
Originally Posted by Virtualball View Post
Thats weird, well thanks anyways :/

An I compiled libMAD before but I lost it when my old hard drive crashed (damn MacBook :P ) Sorry
damn But i think i know why i couldnt zip it. Becouse 'was on other account. Gonna try it this evening again
  #8  
Old 11-29-2007
Virtualball's Avatar
Multi-Touch Devotee
Join Date: Nov 2007
 
iPhone 3GS (Black) 32GB
4.0
Awesome! Good luck!
  #9  
Old 11-29-2007
jungzandvliet's Avatar
Multi-Touch Aficionado
Join Date: Oct 2007
 
None
Quote:
Originally Posted by Virtualball View Post
Awesome! Good luck!
Almost sure that it is. But i'm on school now so xD although i did it iwth cygwin and if you look on the googlecode page and then issue's there was a patch or something . You could try that or something. I didnt needed it but mayby it fixes for you:P
  #10  
Old 11-29-2007
jungzandvliet's Avatar
Multi-Touch Aficionado
Join Date: Oct 2007
 
None
Uploaded
http://sharebee.com/7f032df9 (Sharebee 4 mirrors is that, rapidshare, zshare, megaupload,bandonga or somethign )

Cross compiled with Cygwin. Toolchain 0.3 i though. Zipped with Winrar. Compression mode "best".
If i did it wrong ask again and tell me how i can zip it properly or something xD and i'll do it again Since mayby winrar screws it up. Was trying to find how i can zip it with cygwin but couldnt find it xD
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -7. The time now is 04:32 PM.

Recent blog posts Recent threads




Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2007 - 2010 Vigorous Media LLC - All Rights Reserved.
Page generated in 0.05047 seconds with 10 queries