Problem in using the sdl framework(universal)

Hi…

I am trying to make a universal binary application by using the sdl framework…

The problem is that when i link the UB version of the sdl framework , there

seems some flickering on the screen. But the problem doesnt arise when
i use the ppc

version of the sdl framework…

Am working on mac 10.4.7 and using xcode 2.3 with gcc4…

Hav anybody encountered such situations before…

Valuable suggestions regarding this are most welcome…

Regards
Lijith

Lijith P wrote:

The problem is that when i link the UB version of the sdl framework , there

seems some flickering on the screen. But the problem doesnt arise when
i use the ppc

version of the sdl framework…

Where are these two frameworks from? Are you sure that they were built
from the same version of SDL?

What exactly is your testing situation? Are you testing the PPC sides of
both applications on a PPC, or the x86 side of the UB and the PPC side
of the other on an x86, or something entirely different?

And under what circumstances do you see flickering? What does your
application do?

-Christian

Thanks for ur reply…

  1. I downloaded the source code from the libsdl.org and built the UB…

but the ppc version of the sdl was already there in the library/framework …

  1. Am testing the UB on the PPC…

  2. Flickering occurs at the time scrolling the screen…

Q) is there any way by which we can get the version of the framework ?

with regards
LijithOn 1/13/07, Christian Walther wrote:

Lijith P wrote:

The problem is that when i link the UB version of the sdl framework , there

seems some flickering on the screen. But the problem doesnt arise when
i use the ppc

version of the sdl framework…

Where are these two frameworks from? Are you sure that they were built
from the same version of SDL?

What exactly is your testing situation? Are you testing the PPC sides of
both applications on a PPC, or the x86 side of the UB and the PPC side
of the other on an x86, or something entirely different?

And under what circumstances do you see flickering? What does your
application do?

-Christian


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Lijith P wrote:

  1. I downloaded the source code from the libsdl.org and built the UB…

but the ppc version of the sdl was already there in the library/framework …

  1. Am testing the UB on the PPC…

So the problem is obviously not with the universalness, but with some
change in SDL between the two versions you use. In the worst case, you’d
have to binary-search through the SVN revisions to find the change that
caused it…

  1. Flickering occurs at the time scrolling the screen…

Code, please. Can you reduce your application to a minimal example that
still exhibits the problem?

Q) is there any way by which we can get the version of the framework ?

Yup, SDL_LinkedVersion():
http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fLinked_5fVersion

By the way, just so you don’t get your hopes up too high - I probably
won’t be able to help you much with this, as I’m not very familiar with
using SDL for non-OpenGL graphics. But I’m trying to get the relevant
information out of you that may enable someone else to help you…

-Christian