SDL 1.3 iPhone Build falied

Dear All

I have some build failed when DemosiPhoneOS is compiled.

I had libSDLiPhoneOS.a and libSDLSimulator.a ,its’s no problem.

Error message:
Liking
"_SDL_LoadFunction", referenced from:
_UIKit_GL_GetProcAddress in libSDLSimulator.a(SDL_uikitopengles.o)
symbol(s) not found
collect2: ld returned 1 exit status

I followed the README.iphoneos but still some problem.

Thank you for help .

ps. on iphone 2.1 SDK.–
View this message in context: http://www.nabble.com/SDL-1.3-iPhone-Build-falied-tp20031716p20031716.html
Sent from the SDL mailing list archive at Nabble.com.

Hello,

This seems to be an issue with the latest svn update.

I’l suggest you to just use revision 4103 of SDL_config_iphoneos.h
instead, try to see if that works.

Kind regards
Mathias Hansen

Gocrazy skrev:> Dear All

I have some build failed when DemosiPhoneOS is compiled.

I had libSDLiPhoneOS.a and libSDLSimulator.a ,its’s no problem.

Error message:
Liking
"_SDL_LoadFunction", referenced from:
_UIKit_GL_GetProcAddress in libSDLSimulator.a(SDL_uikitopengles.o)
symbol(s) not found
collect2: ld returned 1 exit status

I followed the README.iphoneos but still some problem.

Thank you for help .

ps. on iphone 2.1 SDK.

Hi,Mathias Hansen,thanks a lot.
I use revision 4103 of SDL_config_iphoneos.h and it works.
But it still have some other problems.
After build and go,simulator application carsh immediately.
Debugger Console show:
dyld: Library not loaded:
@executable_path/…/Frameworks/SDL.framework/Versions/A/SDL
Referenced from: /Users/gocrazy/Library/Application Support/iPhone
Simulator/User/Applications/D3F1ECA4-24FF-42AA-AF57-1BB1ED0092EA/Rectangles.app/Rectangles
Reason: image not found

Does i do not link lib or file wrong?

Thanks for help.

Mathias Hansen wrote:>

Hello,

This seems to be an issue with the latest svn update.

I’l suggest you to just use revision 4103 of SDL_config_iphoneos.h
instead, try to see if that works.

Kind regards
Mathias Hansen

Gocrazy skrev:

Dear All

I have some build failed when DemosiPhoneOS is compiled.

I had libSDLiPhoneOS.a and libSDLSimulator.a ,its’s no problem.

Error message:
Liking
"_SDL_LoadFunction", referenced from:
_UIKit_GL_GetProcAddress in libSDLSimulator.a(SDL_uikitopengles.o)
symbol(s) not found
collect2: ld returned 1 exit status

I followed the README.iphoneos but still some problem.

Thank you for help .

ps. on iphone 2.1 SDK.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


View this message in context: http://www.nabble.com/SDL-1.3-iPhone-Build-falied-tp20031716p20043169.html
Sent from the SDL mailing list archive at Nabble.com.

Dear All

I have some build failed when DemosiPhoneOS is compiled.

I had libSDLiPhoneOS.a and libSDLSimulator.a ,its’s no problem.

Error message:
Liking
"_SDL_LoadFunction", referenced from:
_UIKit_GL_GetProcAddress in libSDLSimulator.a(SDL_uikitopengles.o)
symbol(s) not found
collect2: ld returned 1 exit status

This should be fixed in subversion, thanks!

See ya,
-Sam Lantinga, Lead Software Engineer, Blizzard Entertainment