hm ...Sorry but I'm not using MAC, but Windows and VS2005 I have osg 2.2, 2.4, 2.5.1, 2.6.1 compiled well and configured for my project... all is good for that.
The \src\Xcode\OpenSceneGraph\config\OpenThreads/Config file has changed from 2.6.1... and this makes the problem... Thanks, Vincent 2008/12/10 Robert Osfield <[EMAIL PROTECTED]> > Hi Vincent, > > Have you built the OSG before on this Mac? If so which version? > > I do wonder if you don't have an Apple SDK missing that contains the > AvailabilityMacros.h that the Config is trying to use. > > Robert. > > On Wed, Dec 10, 2008 at 12:55 PM, Vincent Bourdier > <[EMAIL PROTECTED]> wrote: > > Error : > > > 1>Z:\OSG_current_svn\sources\src\Xcode\OpenSceneGraph\config\OpenThreads/Config(4) > > : fatal error C1083: Impossible d'ouvrir le fichier include : > > 'AvailabilityMacros.h' : No suche file or directory > > > > File > > > Z:\OSG_current_svn\sources\src\Xcode\OpenSceneGraph\config\OpenThreads/Config(4) > > contains : > > > > #ifndef _OPENTHREADS_CONFIG > > #define _OPENTHREADS_CONFIG > > > > #include <AvailabilityMacros.h> > > #if defined(MAC_OS_X_VERSION_10_5) > > #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 > > #define _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC > > #endif > > #endif > > /* #undef _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS */ > > /* #undef _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS */ > > /* #undef _OPENTHREADS_ATOMIC_USE_SUN */ > > /* #undef _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED */ > > /* #undef _OPENTHREADS_ATOMIC_USE_MUTEX */ > > > > #endif > > > > If I remove the #include <AvailabilityMacros.h> ... no error, but a lot > of > > warning on osg sources ... I stop compilation after 8000 warnings. > > > > Not sure to understand you with Cmake. > > If I remove the Cmakecache.txt, I need to configure from zero again, and > the > > result would the same as previously... > > > > Vincent. > > > > 2008/12/10 Robert Osfield <[EMAIL PROTECTED]> > >> > >> Hi Vincent, > >> > >> I'm not familiar with the AvailabilityMacros.h dependency. Could you > >> post the file that is trying to include it. > >> > >> One thing you could try would be to remove the CMakeCache.txt and then > >> re-run ./configure to see if force a query of available facilties > >> might prod it in the right direction. > >> > >> A couple of days back I was compiling the OSG svn on a Mac, albeit via > >> remote login and didn't have any problems with the cmake based build. > >> > >> Robert. > >> > >> On Wed, Dec 10, 2008 at 12:28 PM, Vincent Bourdier > >> <[EMAIL PROTECTED]> wrote: > >> > I just use Cmake to compile OSG : it was good, no errors. > >> > > >> > After that, I set my project including : > >> > Z:\OSG_current_svn\sources\src\include > >> > Z:\OSG_current_svn\sources\src\Xcode\OpenSceneGraph\config > >> > in the include directories... > >> > > >> > and AvailabilityMacros.h, included from > >> > \sources\src\Xcode\OpenSceneGraph\config\OpenThreads/Config, is not > >> > found. > >> > > >> > Vincent. > >> > > >> > 2008/12/10 Robert Osfield <[EMAIL PROTECTED]> > >> >> > >> >> Hi Vincent, > >> >> > >> >> How are you going about configuring your project? Are you trying to > >> >> use the deprecated XCode projects or generating Xcode projects from > >> >> cmake? > >> >> > >> >> Robert. > >> >> > >> >> On Wed, Dec 10, 2008 at 12:10 PM, Vincent Bourdier > >> >> <[EMAIL PROTECTED]> wrote: > >> >> > > >> >> > no pb during compilation ... but when I configure my project... > >> >> > > >> >> > in > ...\sources\src\Xcode\OpenSceneGraph\config\OpenThreads/Config(4) > >> >> > : > >> >> > AvailabilityMacros.h not found ... I didn't found it in OSG.. > >> >> > > >> >> > hmm.... where is it ? > >> >> > > >> >> > thanks, > >> >> > Vincent. > >> >> > > >> >> > > >> >> > 2008/12/10 Vincent Bourdier <[EMAIL PROTECTED]> > >> >> >> > >> >> >> Thanks, > >> >> >> > >> >> >> I already have dev release compilated, but when a submission i > done, > >> >> >> i > >> >> >> want to test it, maybe someone can solve/have solved bug I am > >> >> >> looking > >> >> >> at... > >> >> >> > >> >> >> Thanks Robert. > >> >> >> > >> >> >> Vincent. > >> >> >> > >> >> >> 2008/12/10 Robert Osfield <[EMAIL PROTECTED]> > >> >> >>> > >> >> >>> HI Vincent, > >> >> >>> > >> >> >>> Dev releases are static tags that don't get patched, once they > are > >> >> >>> made they never changed, so you would only need to compile once. > >> >> >>> > >> >> >>> The trunk is where all the new submissions get merged, then once > >> >> >>> ever > >> >> >>> week or two a dev release comes out. So if you want all the > >> >> >>> absolute > >> >> >>> latest day by day changes then trunk is where you want to be, > but.. > >> >> >>> with it comes a risk of build breaks. Build breaks do tend to > get > >> >> >>> fixed pretty quickly though, but you might need to become active > in > >> >> >>> helping fix them :-) > >> >> >>> > >> >> >>> Robert. > >> >> >>> > >> >> >>> On Wed, Dec 10, 2008 at 10:37 AM, Vincent Bourdier > >> >> >>> <[EMAIL PROTECTED]> wrote: > >> >> >>> > Hi, > >> >> >>> > > >> >> >>> > I want to have the lastest source code, to benefit of > >> >> >>> > submissions. > >> >> >>> > > >> >> >>> > My goal is just to update my src osg OSG each day and recompile > >> >> >>> > on > >> >> >>> > my > >> >> >>> > computer... > >> >> >>> > > >> >> >>> > is http://www.openscenegraph.org/svn/osg/OpenSceneGraph/trunkthe > >> >> >>> > good > >> >> >>> > SVN > >> >> >>> > adress to checkout ? > >> >> >>> > > >> >> >>> > or > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.7.6 > >> >> >>> > ? > >> >> >>> > > >> >> >>> > thanks, > >> >> >>> > > >> >> >>> > Vincent. > >> >> >>> > > >> >> >>> > _______________________________________________ > >> >> >>> > osg-users mailing list > >> >> >>> > osg-users@lists.openscenegraph.org > >> >> >>> > > >> >> >>> > > >> >> >>> > > >> >> >>> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> >> >>> > > >> >> >>> > > >> >> >>> _______________________________________________ > >> >> >>> osg-users mailing list > >> >> >>> osg-users@lists.openscenegraph.org > >> >> >>> > >> >> >>> > >> >> >>> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> >> >> > >> >> > > >> >> > > >> >> > _______________________________________________ > >> >> > osg-users mailing list > >> >> > osg-users@lists.openscenegraph.org > >> >> > > >> >> > > >> >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> >> > > >> >> > > >> >> _______________________________________________ > >> >> osg-users mailing list > >> >> osg-users@lists.openscenegraph.org > >> >> > >> >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > >> > > >> > _______________________________________________ > >> > osg-users mailing list > >> > osg-users@lists.openscenegraph.org > >> > > >> > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > > >> > > >> _______________________________________________ > >> osg-users mailing list > >> osg-users@lists.openscenegraph.org > >> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > _______________________________________________ > > osg-users mailing list > > osg-users@lists.openscenegraph.org > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org