Tried but doesn't seem to work.
Am I following the right procedure, to include some xcode sources in my project?
I include
#include <osgViewer/Viewer>
#include <osgViewer/ViewerEventHandlers>
#include <osgGA/TrackballManipulator>
#include <osgGA/GUIEventAdapter>
#include <osgDB/ReadFile>
#include <osg/Vec4>
#include <osg/ref_ptr>
#include <osgText/Text>
#include <osg/Geode>
#include <sys/types.h>
#include <sys/sysctl.h>
...
in my source
then I build OSG with the target OSGFrameworks selected - 10.5 - i386 -
Development 32 bit Cocoa
I include those frameworks in my own target Link binary with libraries
Then I edit my project settings, adding to the search PATHS, with the recursion
activated, the Directory where my Frameworks dir.framework, that I just
created, are located.
Then I add also to both Header and Library search paths the OSG/Include
directory.
Then I compile my code... .
Maybe I'm doing something wrong, and I need some clarifications. (I copied
almost the whole settings of my project, from the original
OpenSceneGraph.xcodeproj shipped with OSG, that seems to compile well, and
seems to work efficently)
Thanks in advance
G.
Il giorno 27.mag.2010, alle ore 15:53, Michael Platings ha scritto:
> "Incomplete type" usually means a type has been declared but not defined
> before it's used. e.g.
> namespace std{ class string; }
> std::string mystring;//error, string hasn't been defined
>
> The solution to this is to #include <string> before #including the header
> where the error occurs.
> HTH
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org