• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Including woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Including woes


  • Subject: Including woes
  • From: "Diez B. Roggisch" <email@hidden>
  • Date: Sun, 03 Aug 2008 13:47:06 +0200

Hi all,

I'm trying to build a universal binary of zziplib, a dependency of the Ogre3D engine.

There is a configure-based script available that didn't work, as libtool consequently refuses to create a ppc-lib out of a bunch of ppc-object-files.

So I thought I

 - configure the lib
 - create an xcode-project to build a fat binary.

This has been troubling me as well though - because <stdint.h> is picked up wrong.

zziplib has this source structure:

zziplib/
       *.c
       *.h

amongst the headers is a "stdint.h" that actually (depending on the OS/configure) includes <stdint.h>

Unfortunately, this is include is resolved to the zziplib/stdint.h itself!

Now I nailed down the problematic GCC argument to this:

-I/Users/deets/Download/zziplib/zzlib_xcode/build/zzlib_xcode.build/Debug/zzlib_xcode.build/zzlib_xcode-own-target-headers.hmap


Removing this line from the generated GCC-command, I'm capable of compiling without a hitch.


So my ultimate question is: has anybody an idea how to reduce the number of -I-directives to the required minimum?

Thanks,

Diez
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Including woes
      • From: Phil <email@hidden>
  • Prev by Date: Re: Xcode 3.1 alert
  • Next by Date: Re: Including woes
  • Previous by thread: Re: Xcode 3.1 alert
  • Next by thread: Re: Including woes
  • Index(es):
    • Date
    • Thread