TWAIN Working Group

Quarterly Newsletter Signup       
  • Home
  • About
    • What’s New?
    • Specification & Tools
    • Self Certification Process
    • TWAIN Features
    • TWAIN Direct
    • Membership
    • News
    • Events
    • Logo Usage
    • TWAIN License
    • Contact Us
  • Scanner User
    • Find Drivers
  • Driver Developer
  • Application Developer
  • Scanner Service Provider
  • TWAIN Forums
  • Resources
    • Find Certified Drivers

PPC & Intel Problem

Forums › TWAIN Mac/OSX › PPC & Intel Problem

This topic contains 4 replies, has 2 voices, and was last updated by  amila123 10 years, 6 months ago.

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

TWAIN Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

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

Recent Topics

  • TwainDSM is crashing
  • TWAIN_SetCurrentResolution(100)
  • How to detect camera capture button without blocking video going to another app
  • Can I save the scanned image as a PDF?
  • Does TwainDSM.DLL Replace Twain_32.dll
  • Contact Us
Privacy Policy • Copyright © 2019 TWAIN Working Group • by iHwy, Inc.

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.