OpenSceneGraph and Xcode 2.1
OpenSceneGraph and Xcode 2.1
- Subject: OpenSceneGraph and Xcode 2.1
- From: Mike Jackson <email@hidden>
- Date: Fri, 4 Nov 2005 20:05:07 -0500
I am having a problem with an Xcode project that uses OpenSceneGraph
I have a source folder that has my source code. At the same level as
that folder I have another folder that contains the Xcode project
file. I create my target (BSD Dylib) and drag the files from the
finder into the Xcode project window. The Sheet pops down and I
select to use a path "Relative to the Project" and create groups for
added folders.
I have OSG installed in /usr/local/include and /usr/local/lib.
Now when I build I get the following errors..
/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
Now the interesting part. If I create a new project in the SAME
folder as the source code then the project will build just fine. I
have the settings for each target set to the exact same values. I am
sure that I am just missing an include path or something, but this is
just odd.
-- OS X 10.4.3 and Xcode 2.1 ( Not ready to try 2.2 DPx yet)
THanks
---
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