The TWAIN Forum

www.twainforum.org
It is currently Sun May 19, 2013 9:20 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: PPC & Intel Problem
PostPosted: Wed Aug 13, 2008 1:30 am 
Offline

Joined: Mon Jul 28, 2008 9:22 pm
Posts: 16
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


Top
 Profile  
 
 Post subject: Re: PPC & Intel Problem
PostPosted: Wed Aug 13, 2008 11:00 am 
Offline

Joined: Mon Nov 21, 2005 4:19 pm
Posts: 62
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.

-


Top
 Profile  
 
 Post subject: PPC and Intel Problem
PostPosted: Wed Aug 13, 2008 10:48 pm 
Offline

Joined: Mon Jul 28, 2008 9:22 pm
Posts: 16
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


Top
 Profile  
 
PostPosted: Thu Aug 14, 2008 7:53 am 
Offline

Joined: Mon Nov 21, 2005 4:19 pm
Posts: 62
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.

-


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 14, 2008 9:20 pm 
Offline

Joined: Mon Jul 28, 2008 9:22 pm
Posts: 16
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group