Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't run sdl examples #152

Open
GoogleCodeExporter opened this issue Aug 19, 2015 · 2 comments
Open

can't run sdl examples #152

GoogleCodeExporter opened this issue Aug 19, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. make & make install 
2. cd example
3. ypsilon sdl-ttf-demo.scm

What is the expected output? 
Running sdl-ttf-demo.

What do you see instead?

error in load-shared-object: dlopen(/usr/local/lib/ypsilon/SDLMain.dylib, 9): 
no suitable image found.  Did find:
    /usr/local/lib/ypsilon/SDLMain.dylib: mach-o, but wrong architecture

irritants:
  ("/usr/local/lib/ypsilon/SDLMain.dylib")

backtrace:
  0  (SDL_Init SDL_INIT_EVERYTHING)
  ..."/Users/nek/Projects/ypsilon-read-only/example/sdl-ttf-demo.scm" line 31

What version of the product are you using? On what operating system?
Ypsilon 0.9.6-trunk/r506 
on OS X Lion 10.7.4

Please provide any additional information below.
Obviously the SDLMain.dylib is compiled with different arch
The fix is to add
 -arch i386
to SDLMain.dylib task

..but this brings different problem.

Original issue reported on code.google.com by [email protected] on 13 Oct 2012 at 4:00

@GoogleCodeExporter
Copy link
Author

What version of the product are you using? 
SDL_ttf-2.0.11
SDL-1.2.15

Original comment by [email protected] on 13 Oct 2012 at 4:12

@GoogleCodeExporter
Copy link
Author

The different problem http://code.google.com/p/ypsilon/issues/detail?id=153

Original comment by [email protected] on 13 Oct 2012 at 4:12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant