2008/12/10 Robert Osfield <[EMAIL PROTECTED]>

> Hi Vincent,
>
> OK, now I understand.  You've grabbed a Config file that was never
> meant to be used on anything other than with an XCode build under OSX.
>
> CMake will build the required Config file for you, you shouldn't need
> to add any explicit links to it.
>
> Try removing the CMakeCache.txt and re-run CMake and it should
> automatically create the Config file for you.


What config file ? where ? ...


>  If you do an out of
> source build and don't install the OSG anywhere then you'll need to
> add the path the out of source directory to pick on the Config that
> will be placed there.


Sorry, but I don't understand what you mean here...
If I make with Cmake, it will makes me some .vcproj file to compil OSG
sources with visual studio directly. I have always done like that...
What I need to change ?


Thanks,

   Vincent


>
> Robert.
>
> On Wed, Dec 10, 2008 at 1:32 PM, Vincent Bourdier
> <[EMAIL PROTECTED]> wrote:
> > I need to had Z:\OSG_2.6.1\sources\src\Xcode\OpenSceneGraph\config in my
> > include path. If I don't I have the following error :
> >
> > 1>Z:\OSG_2.6.1\sources\src\include\OpenThreads/Atomic(17) : fatal error
> > C1083: Impossible d'ouvrir le fichier include : 'OpenThreads/Config' : No
> > such file or directory
> >
> > When I had the path in the include, all is good and compiler find
> everything
> > he needs. (this new include apparear from the 2.6.1, it is not requiered
> in
> > 2.5.1)
> >
> > I'm not an OSG master, but using Cmake and visual studio, I don't think I
> > can choose a lot of configuration possibilities...
> > If anyone succed to configure a project with OSG trunk under
> VisualStudio...
> >
> > Thanks,
> >    Vincent.
> >
> > 2008/12/10 Robert Osfield <[EMAIL PROTECTED]>
> >>
> >> Hi Vincent,
> >>
> >> If you are using windows then how come you have Xcode in your path...
> >> Did you do something odd w.r.t doing an out of source build in a hand
> >> built directory?  I'm perplexed how you've got you're build into this
> >> state.
> >>
> >> Robert.
> >>
> >> On Wed, Dec 10, 2008 at 1:19 PM, Vincent Bourdier
> >> <[EMAIL PROTECTED]> wrote:
> >> > 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/trunk
> >> >> >> >> >>> > the
> >> >> >> >> >>> > 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
> >> >
> >> >
> >> _______________________________________________
> >> 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

Reply via email to