TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

PPC & Intel Problem

Forums › TWAIN Mac/OSX › PPC & Intel Problem

  • This topic has 4 replies, 2 voices, and was last updated 12 years, 5 months ago by amila123.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 13, 2008 at 8:30 am #22380 Reply
    amila123
    Participant
    • Topics - 11
    • Replies - 5
    • Total 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

    August 13, 2008 at 6:00 pm #24610 Reply
    dpenney
    Participant
    • Topics - 3
    • Replies - 66
    • Total Posts - 69

    @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.

    –

    August 14, 2008 at 5:48 am #24611 Reply
    amila123
    Participant
    • Topics - 11
    • Replies - 5
    • Total 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

    August 14, 2008 at 2:53 pm #24612 Reply
    dpenney
    Participant
    • Topics - 3
    • Replies - 66
    • Total Posts - 69

    @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.

    –

    August 15, 2008 at 4:20 am #24613 Reply
    amila123
    Participant
    • Topics - 11
    • Replies - 5
    • Total 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

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: PPC & Intel Problem
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • Hello world
  • Girls of Desire: All babes in one place, crazy, art
  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.