• 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
Weird Build Errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Weird Build Errors


  • Subject: Weird Build Errors
  • From: Mike Jackson <email@hidden>
  • Date: Wed, 31 Aug 2005 13:33:38 -0400

I am getting the following build errors while trying to build a dynamic library.

/usr/local/include/osg/Math: In function 'float logf(float)':
/usr/local/include/osg/Math:49: error: 'log' was not declared in this scope
/usr/local/include/osg/Math: In function 'float fabsf(float)':
/usr/local/include/osg/Math:61: error: 'fabs' was not declared in this scope
/usr/local/include/osg/Math: In function 'bool osg::isNaN(float)':
/usr/local/include/osg/Math:168: error: '__isnanf' was not declared in this scope
/usr/local/include/osg/Math: In function 'bool osg::isNaN(double)':
/usr/local/include/osg/Math:169: error: '__isnand' was not declared in this scope


The relevant part from Math:

#ifndef logf
inline float logf(float value) { return static_cast<float>(log (value)); }
#endif


Now, here is the weird part. I was, and still am, building my dylib from _another_ project. I was trying to consolidate lots of individual projects into one main project with lots of targets. So I created a new Project and started creating new targets within that project. Things were fine until I tried to replicate the dylib project in this new project as a target. Anyone have any directions to look.

I have, to the best of my abilities, compared the target info from the working project to the target info for the non-working target and all the options seem to be set the same.

Thanks for any help.
---
Mike Jackson
mike _at_ bluequartz dot net


_______________________________________________ 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
  • Prev by Date: Re: Displaying crash log stack trace symbolically
  • Next by Date: XCode 1.5 on OS X 10.4?
  • Previous by thread: Re: Clean target every time I update an html resource?
  • Next by thread: XCode 1.5 on OS X 10.4?
  • Index(es):
    • Date
    • Thread