Home › Forums › TWAIN Mac/OSX › PPC & Intel Problem
- This topic has 4 replies, 2 voices, and was last updated 15 years, 9 months ago by amila123.
- AuthorPosts
Hi…
I have a Scanner Application developed using xcode.When I build it and on a PPC machine its running fine,can select source and acquire image.When I run Same project in a Intel Mac book it doesnt show select source entries.Its empty.
Can anyone have a idea ? to run this solution in both Architecture….Thnx
Amila@amila123 wrote:
…When I build it and on a PPC machine its running fine,can select source and acquire image.When I run Same project in a Intel Mac book it doesnt show select source entries…
Are you building a universal binary (i.e. Both Intel and PowerPC code in the object code)? If your app is PowerPC-only, it will not load Intel-only DS’s. The more likely scenario is that your app is running natively on Intel but the DS’s are PowerPC-only so it cannot load them.
If your app is a universal binary, you can test if you have PowerPC-only DS’s on your Intel machine as follows:
– Open the Finder’s Get Info window for your app.
– Enable the “Open using Rosetta” option.
– Close the Get Info window.
– Run your app.This forces your universal binary to run under the PowerPC emulator. If the DS’s show up, you probably have PowerPC-only DS’s on your Intel Mac.
–
Thnx for the reply dpenney…
Have some problems to get clear.
I compiled the code in a PPC set project settings-Architecture as 32/64-bit Universal. enable “Open using Rosetta” and run..its not working in Intel mac book.
Did i do correct way to build the universal binary…?
can u plz give any idea,will i sent the sample code to check it out…I have stucked with this for about several weeks….Thnx
Amila@amila123 wrote:
I compiled the code in a PPC set project settings-Architecture as 32/64-bit Universal…Did i do correct way to build the universal binary…?
In your build settings (Project->Edit Active Target, Build tab), what does it show for Architectures? If it’s “i386 ppc” you have a 32-bit universal binary. If it’s “i386 ppc ppc64 x86_64”, you have a four-way binary: 32- and 64-bit for both Intel and PowerPC.
–
Hi…
thnk u very much for the reply…
In build settings I have selected Standard (32 bit Universal).It compiled and run well in PPC machine , but still not working that same application in Intel MAC book.It doesn’t show any datasources.its still empty.
Can u plz give any ideaa…
Thnx
Amila- AuthorPosts