----- "Chris Perry" a écrit :

> Frederic Bouvier wrote:
> > ----- "Chris Perry" a écrit :
> >
> > ...
> >
> >> What suggestions are there to get a dashboard?  I have tried the
> c172
> >>
> >> and the CitationX.  Same thing.
> >>
> >> The whole aircraft is invisible from all views except the Tower.
> >> Suggestions?
> >>
> >
> > You should use OSG v2.7.8. The view is broken with OSG 2.6.x
> >
> > -Fred
> >
> >
> Hello Fred,
> Thanks for your help again.  I have downloaded  OSG  v2.7.8.
> 
> Configure, or "cmake .  -DCMAKE_BUILD_TYPE=Release" gives the
> following
> errors:

This is because Etch comes with an old CMAKE ( v2.4.5 if I recall correctly )

 
> CMake Error: Error in cmake code at
> /usr/local/src/OpenSceneGraph-2.7.8/CMakeLists.txt:25:
> IF had incorrect arguments: POLICY CMP0008 (Unknown arguments
> specified).
> Current CMake stack:
> /usr/local/src/OpenSceneGraph-2.7.8/CMakeLists.txt
> 
> ===============
>     if(POLICY CMP0008)
>         cmake_policy(SET CMP0008 OLD)
>     endif(POLICY CMP0008)
> ===============

Remove these 3 lines


> 
> -- CURL was not found. Make sure CURL_LIBRARY and CURL_INCLUDE_DIR are
> set.
> -- ERROR: wxWidgets was not found.  (I know about this one)
> 
> CMake Error: Error in cmake code at
> /usr/local/src/OpenSceneGraph-2.7.8/src/osgViewer/CMakeLists.txt:91:
> INCLUDE Could not find include file: FindPkgConfig
> Current CMake stack:
> /usr/local/src/OpenSceneGraph-2.7.8/src/osgViewer/CMakeLists.txt;/usr/local/src/OpenSceneGraph-2.7.8/src/osgViewer/FindPkgConfig
> 
> ======================
>         INCLUDE(FindPkgConfig)
>         IF (PKG_CONFIG_FOUND)
> ======================

replace first line by :
         INCLUDE(FindPkgConfig OPTIONAL)


> 
> Is there anything I can do about this, or do I take it to osg support?

already done :
http://www.mail-archive.com/osg-us...@lists.openscenegraph.org/msg20279.html

-Fred

-- 
Frédéric Bouvier
http://my.fotolia.com/frfoto/              Photo gallery - album photo
http://fgsd.sourceforge.net/               FlightGear Scenery Designer


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-users mailing list
Flightgear-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-users

Reply via email to