[osg-users] [build] Build Openscenegraph 3.2.1 in OSX Yosemite

Blueze Deng dgquvn at gmail.com
Tue Jul 28 07:44:17 PDT 2015


Hi,
I tried to use CMake 3.3.0 to build the source code of OpenSceneGraph 3.2.1 in OSX Yosemite, use Xcode as the generator, but it shows the following msg while configuring.

Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could NOT find SDL (missing:  SDL_LIBRARY SDL_INCLUDE_DIR) 
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Could NOT find Boost
Could NOT find TIFF (missing:  TIFF_LIBRARY TIFF_INCLUDE_DIR) 
AVFoundation disabled for SDK < 10.8
Configuring done

Then it comes the list msg for generating,

CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   OpenThreads
   osg
   osgAnimation
   osgDB
   osgFX
   osgGA
   osgManipulator
   osgParticle
   osgPresentation
   osgShadow
   osgSim
   osgTerrain
   osgText
   osgUtil
   osgViewer
   osgVolume
   osgWidget

This warning is for project developers.  Use -Wno-dev to suppress it.

Generating done

What should I do with that? First time to build, please help! Many thanks!!!

Cheers,
Blueze

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64226#64226








More information about the osg-users mailing list